* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Raleway', sans-serif;
}

/* body {
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
} */

body {
  background: #ffffff;
  margin: 0;
  color: #333;
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
  scroll-padding-top: 90px; /* Espacio para el logo fixed al hacer scroll a anclas */
}

:root {
  --text-main: #333;
  --text-title: #35562c;
  --text-title-alt: #c78a3c;
  --text-title-light: #65814d;
  --text-title-light2: #428d56;
  --text-title-light3: #62974f;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ================= FRAME ================= */
/* .frame {
  position: relative;
  width: calc(100% - 40px);
  height: calc(100vh - 40px);
  padding: 40px;
  border-radius: 0 24px 24px 24px;
  overflow: hidden;
  background-color: #264d2b;
} */

/* OCULTOS */
@media (max-width: 768px){
	.ocultarmobile {
		display:none !important;
	}
}
@media (min-width: 768px){
	.ocultardesk{
		display:none !important;
	}
}

.frame {
  position: relative;
  width: calc(100% - 40px);
  min-height: calc(100vh - 40px);
  margin: 20px auto;
  padding: 40px;
  border-radius: 0 24px 24px 24px;
  overflow: hidden;
  background-color: #264d2b;
}

/* ================= VIDEO FONDO ================= */
.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* ======== FONDO IMAGEN CAMBIANTE ======= */
.bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: fade 12s infinite;
  z-index: 1;
}

.img-1 {
  animation: img1 14s infinite;
}

.img-2 {
  animation: img2 14s infinite;
}

@keyframes img1 {
  0%   { opacity: 1; }
  35%  { opacity: 1; }
  50%  { opacity: 0; }
  85%  { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes img2 {
  0%   { opacity: 0; }
  35%  { opacity: 0; }
  50%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { opacity: 0; }
}

@media (max-width: 768px) {
  .bg-img {
    animation: none;
  }
}

.overlay {
  position: absolute;
  inset: 0;
  background-image: url("../assets/img/overlay-video.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 2;
  pointer-events: none;
}


/* ================= HEADER ================= */
.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 4;
}

.logo {
  height: 100px;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* ===== Logo fixed cuando se scrollea ===== */
body.is-scrolled .logo {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  height: 110px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-btn {
  background: #cccccc40;
  color: #ffffff;
  border: none;
  padding: 5px 18px 4px;
  font-size: 12px;
  border-radius: 20px;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  z-index: 9999;
  width: fit-content;
}

.contact-btn-header {
  background: rgba(39, 73, 45, 0.80);
  color: #ffffff;
  border: none;
  padding: 5px 18px 4px;
  font-size: 12px;
  border-radius: 20px;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  z-index: 9999;
  width: fit-content;
}

.mobile-offcanvas-panel .contact-btn {
    align-self: flex-end;
    margin-right: 50px;
    margin-top: 20px;
}

@media (max-width: 992px) {
  .contact-btn--desk {
    display: none;
  }
}

/* .hamburger {
  width: 32px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 3px;
  background: #ffffff;
  border-radius: 2px;
} */

/* ================= HAMBURGER ================= */

.hamburger {
  position: relative;

  /* Contenedor */
  width: auto;
  height: auto;
  padding: 12px; /* padding REAL alrededor del ícono */

  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 50%;

  margin-left: 20px;

  display: block;

  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    background-color 0.25s ease;
}

/* Ícono */
.hamburger::before {
  content: "";
  display: block;
  width: 32px;
  height: 32px;

  background-image: url("../assets/img/hamburger.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* ===== Estado scrolleado (mobile + desktop) ===== */
body.is-scrolled .hamburger {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 20px);
  right: 30px;
  z-index: 1000;

  background-color: rgba(39, 73, 45, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
}

/* ===== Ocultar menú hamburger ===== */
body.is-menu-open .hamburger {
  opacity: 0;
  transform: scale(0.85);
  pointer-events: none;
}


/* ================= DESKTOP ================= */
@media (min-width: 993px) {
  .hamburger {
    display: none;
    opacity: 0;
    transform: translateY(-10px);
  }

  body.is-scrolled .hamburger {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 30px;

    opacity: 1;
    transform: translateY(0);
  }

}

/* ================= MOBILE ================= */
@media (max-width: 992px) {
  .hamburger {
    right: 10px;
  }

  body.is-scrolled .logo {
    left: 0;
    height: 80px;
  }
}

/* ================= HERO ================= */
.content {
  position: absolute;
  top: 50%;
  /* left: 150px; */
  left: calc(10vw - 30px);
  transform: translateY(-50%);
  color: #ffffff;
  z-index: 3;
}

.content .title--hero {
  font-size: 70px;
  font-weight: 400;
  line-height: 1.1;
}

.content .title--hero--alt {
  font-size: 52px;
  line-height: 1.2;
}

.play-btn {
  position: absolute;
  /* left: 150px; */
  left: calc(10vw - 30px);
  bottom: 50px;
  width: 60px;
  height: 60px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;
}

.play-btn img {
  width: 60px;
}

/* ================= MENÚ DESKTOP ================= */
.menu {
  display: flex;
  align-items: center;
  text-align: right;
  color: #ffffff;
  position: relative;
}

.desktop-menu {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
}

.menu ul {
  list-style: none;
  font-size: 0.82rem;
  line-height: 1.9;
  margin-right: 20px;
}

.menu-line {
  position: relative;
  width: 1px;
  /* height: 300px; */
  background: #a8c0a4;
}

.desktop-menu ul {
  position: relative;
}

.desktop-menu .menu-line {
  position: absolute;
  top: 0;
  right: 0;
  height: 95%;
}

.menu-marker {
  position: absolute;
  right: -4px;
  top: 32px;
  width: 8px;
  height: 22px;
  background: #58a36c;
  border-radius: 10px;
}

/* ===== MENU DESKTOP ESTADO INICIAL ===== */
.desktop-menu .child {
  display: none;
}

/* SCRIPT MENU INTERACTIVO */
.menu li {
  cursor: pointer;
}

.menu li.is-visible {
  opacity: 1;
}

.menu li.is-parent {
  opacity: 1;
}

.menu-marker {
  opacity: 0;
  transition: top 0.3s ease, opacity 0.2s ease;
}

/* ===== ITEMS MENU ===== */
.desktop-menu li {
  transition: opacity 0.2s ease;
  margin-bottom: 6px;
}

.desktop-menu li a {
  text-decoration: none;
  color: #fff;
  font-size: 15px;
}

.desktop-menu .parent a {
  font-weight: 700;
}

.desktop-menu .child a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
}

/* ================= MODAL VIDEO ================= */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 100;
  justify-content: center;
  align-items: center;
}

.modal-content {
  position: relative;
  width: 80%;
  max-width: 800px;
}

.modal-content video {
  width: 100%;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: -30px;
  right: 0;
  font-size: 32px;
  color: #ffffff;
  background: none;
  border: none;
  cursor: pointer;
}

/* ================= OFFCANVAS ================= */
.mobile-offcanvas {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  background: transparent;
}

.mobile-offcanvas-overlay {
  position: absolute;
  inset: 0;
  background: rgba(39, 73, 45, 0);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.mobile-offcanvas-panel {
  position: absolute;
  top: 0;
  right: 0;
  max-width: 100%;
  height: 100%;

  background: rgba(39, 73, 45, 0.95);
  display: flex;
  flex-direction: column;

  transform: translateX(100%);
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-offcanvas.active {
  pointer-events: auto;
}

.mobile-offcanvas.active .mobile-offcanvas-overlay {
  background: #33333380;
  opacity: 1;
}

.mobile-offcanvas.active .mobile-offcanvas-panel {
  transform: translateX(0);
}

.mobile-offcanvas.is-open {
  pointer-events: auto;
}

/* ================= MENÚ MOBILE ================= */
.mobile-menu {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: end;
  margin-right: 50px;
  color: #ffffff;
  margin-top: 150px;
}

.mobile-menu ul {
  list-style: none;
  text-align: right;
  font-size: 15px;
  line-height: 2.4;
  margin-right: 28px;
  padding-left: 0px;
}

.mobile-menu ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 400;
}

.mobile-menu ul li strong a {
  font-weight: 700;
}

.mobile-menu .menu-line {
  height: 100%;
}

.mobile-menu .menu-marker {
  top: 40px;
}

.mobile-menu,
.mobile-menu * {
  transform: none !important;
}

.close-offcanvas {
  position: absolute;
  top: -5px;
  right: 45px;
  font-size: 70px;
  color: #ffffff;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
  transition:
    opacity 0.25s ease-out,
    transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

body.is-menu-open .close-offcanvas {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  transition-delay: 0.4s;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .header {
    right: 25px;
    width: 100%;
  }

  .logo {
    height: 70px;
  }

  .content {
    top: 40%;
    left: 30px;
  }

  .content .title--hero {
    font-size: 35px;
  }

  .content .title--hero--alt {
    font-size: 30px;
  }


  .play-btn {
    left: 30px;
    bottom: 50px;
  }

  .desktop-menu {
    display: none;
  }
  .mobile-offcanvas-panel {
    width: 100%;
  }
}

@media (min-width: 993px) {
  .mobile-offcanvas-panel {
    width: 400px; /* era 300px pero lo aumente para que entren los subelementos de Talento  */
  }
}

/* ================= FOOTER ================= */
.footer {
  background: #333;
  color: #ccc;
  padding: 140px 60px 40px;
  font-size: 0.75rem;
  z-index: 1;
}

.footer__row {
  display: flex;
  align-items: flex-end;
  gap: 60px;
}

.footer__location {
  max-width: 180px;
}

.footer__location strong {
  color: #fff;
  display: block;
  margin-bottom: 6px;
}

.footer__location p {
  margin: 0;
  line-height: 1.6;
}

/* FOOTER CENTER */
.footer__center {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1; /* empuja el copyright a la derecha */
}

.footer__line {
  height: 1px;
  background: #777;
  flex: 1;
}

.footer__country {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: #aaa;
}

/* FOOTER COPYRIGHT */
.footer__copy {
  text-align: right;
  white-space: nowrap;
  font-size: 0.7rem;
  color: #aaa;
}

/* ===== FOOTER RESPONSIVE ===== */

@media (max-width: 767px) {
  .footer__row {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    flex-wrap: nowrap;
  }
  .footer {
    padding: 40px 30px;
  }
  .footer__center {
    gap: 0px;
  }
}



/* ===== SECCION INTRO ===== */
.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  /* padding: 50px 170px 70px; */
  padding: 50px 0px 70px;
  width: 80vw;
  margin: auto;
}

.intro__column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.intro__column--left {
  position: relative;
}

.intro__column--right {
  align-self: flex-end;
}

.intro__column--left::before {
  content: "";
  position: absolute;
  left: -120px;
  top: 30px;
  width: 100px;
  height: 1px;
  background: #35562c;
}

.intro__column--nosotros {
  margin-top: 100px;
}

/* ===== ELEMENTOS INTRO ===== */
.intro__title {
  color: var(--text-title);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 80px;
}

.intro__btn {
  display: inline-block;
  padding: 8px 25px 7px;
  border-radius: 40px;
  color: var(--text-title);
  border: 1px solid #35562c;
  font-size: 14px;
  font-weight: 700;
  background-color: #eaeeea;
}

.intro__btn--nosotros {
  border: 2px solid var(--text-title);
  color: #333;
}

.intro__lead {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0px;
  margin-bottom: 25px;
  font-weight: 700;
}

.intro__text {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 25px;
}

.intro__text--bold {
  font-weight: 700;
  margin-bottom: 0px;
}

/* ===== RESPONSIVE INTRO ===== */
@media (max-width: 992px) {
  .intro {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 30px;
  }
}

/* ===== SECCION OVERVIEW ===== */
.overview {
  padding: 70px 30px 0px;
  display: flex;
  flex-direction: column;
  background-color: #eaeeea;
  margin-bottom: -80px;
}

/* ===== ÍCONOS OVERVIEW ===== */
.overview__items {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.overview__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.overview__item::after {
  content: "";
  position: absolute;
  top: 40%;
  right: -20px; /* mitad del gap (gap = 40px) */
  width: 1px;
  background-color: #6f8b6b;
  height: 55%;
}

.overview__item:last-child::after {
  display: none;
}

@media (max-width: 992px) {
  .overview__items {
    grid-template-columns: repeat(2, 1fr);
  }

  .overview__item::after {
    display: none;
  }
}

.overview__item img {
  height: 100px;
  margin-bottom: 40px;
}

.overview__label {
  font-size: 30px;
  font-weight: 500;
  color: var(--text-title);
  margin-bottom: 5px;
}

.overview__desc {
  font-size: 14px;
}

.overview__label--alt {
  color: var(--text-title-alt);
}

/* ===== CONTENIDO OVERVIEW ===== */
.overview__content {
  position: relative;
  z-index: 2;
  background-image: url(../assets/img/planta-mani-home-msu.jpg);
  background-size: cover;
  background-position: center center;
  padding: 40px 50px;
  border-radius: 40px 40px 0px 0px;
}

.overview__title {
  color: var(--text-title-alt);
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 24px;
  max-width: 40%;
}

.overview__text {
  font-size: 1rem;
  line-height: 1.6;
}

/* ===== CTA LIST ===== */
.overview__cta-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.overview__cta-item {
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 45%;
}

/* TEXT */
.overview__cta-label {
  font-size: 15px;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
  font-weight: 600;
}

/* LINE */
.overview__cta-line {
  flex: 1;
  height: 1px;
  background: #fff;
}

/* BTN */
.overview__cta-btn {
  color: #fff;
  padding: 5px 50px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  border: 1px solid #fff;
  cursor: pointer;
  white-space: nowrap;
}

.overview__cta-btn--mani {
  background: var(--text-title-alt);
}

.overview__cta-btn--light {
  background: #ffffff40;
}

/* ===== CARDS OVERVIEW ===== */
.overview__cards {
  background: #6e8b5c;
  padding: 40px 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 40px;
  border-radius: 0px 0px 0px 40px;
  z-index: 2;
}

.bloque-corte-home {
  width: 400px;
  display: block;
  margin-left: auto;
  z-index: 2;
}

/* CARD */
.overview__card {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid #fff;
  border-radius: 20px;
  padding: 18px;
  flex-direction: column;
  gap: 24px;
  display: grid;
  grid-template-columns: 200px 1fr;
  grid-template-rows: auto auto;
  align-items: stretch;
  max-width: 500px;
}

/* IMG CARD */
.overview__card-img {
  width: 100%;
  max-width: 200px;
  border-radius: 12px;
  object-fit: cover;
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
  border-radius: 16px;
  margin-right: 0px;
}

/* TITLE CARD */
.overview__card-title {
  grid-column: 2;
  grid-row: 1;
  font-size: 34px;
  font-weight: 400;
  color: #fff;
  margin-top: 10px;
}

/* BTN CARD */
.overview__card-btn {
  grid-column: 2;
  grid-row: 2;
  align-self: flex-end;
  justify-self: flex-start;
  padding: 3px 18px;
  border-radius: 20px;
  background: rgba(255,255,255,0.25);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.6);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 0px;
}



/* ===== RESPONSIVE OVERVIEW ===== */
@media (max-width: 1600px) {
  .overview__cards {
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 24px;
    padding: 40px 40px;
  }
  .overview__card {
    grid-template-columns: 200px 1fr;
  }
  .overview__card-img {
    width: 170px;
  }
  .overview__card-title {
    font-size: 28px;
  }
}

@media (max-width: 1400px) {
  .overview__cta-item {
    max-width: 55%;
  }

  .overview__cards {
    gap: 24px;
    padding: 40px 40px;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  }

  .overview__card {
    column-gap: 15px;
    grid-template-columns: 150px 1fr;
  }

  .overview__card-img {
    width: 150px;
  }

  .overview__card-title {
    font-size: 26px;
  }
  
}

@media (max-width: 1279px) {
  .overview__cta-item {
    max-width: 75%;
  }
  .overview__cards {
    gap: 15px;
    padding: 30px 20px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .overview__card {
    row-gap: 0px;
    column-gap: 10px;
    grid-template-columns: auto 1fr;
  }

  .overview__card-img {
    width: 150px;
  }

  .overview__card-btn {
    font-size: 12px;
    padding: 5px 15px;
  }

  .overview__card-title {
    font-size: 18px;
  }
}

@media (max-width: 992px) {
  .overview {
    padding: 60px 30px;
    margin-bottom: -100px;
  }

  .overview__content {
    background-image: url(../assets/img/planta-mani-home-msu-mobile.jpg);
    background-position: left;
    padding: 40px;
  }

  .overview__title {
    font-size: 28px;
    max-width: 400px;
    text-align: center;
    margin: 0px auto 24px;
  }

  .overview__cta-item {
    gap: 10px;
    max-width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .overview__cta-label {
    font-size: 13px;
  }

  .overview__cta-btn--mani {
    margin-bottom: 20px;
  }

  .overview__items {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .overview__cards {
    grid-template-columns: 1fr;
    padding: 60px 30px;
    border-radius: 0px 0px 0px 30px;
  }

  .overview__card {
    width: 100%;
    margin: auto;
    gap: 24px;
  }

  .overview__card-img {
    width: 150px;
  }
}

@media (max-width: 500px) {
  .overview__cards {
    padding: 60px 20px;
  }

  .overview__card {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    row-gap: 20px;
  }

  .overview__card-img {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    max-width: 100%;
  }

  .overview__card-title {
    grid-column: 1;
    grid-row: 2;
    text-align: center;
  }

  .overview__card-btn {
    grid-column: 1;
    grid-row: 3;
    justify-self: center;
  }

  .bloque-corte-home {
    width: 200px;
    display: block;
    margin-left: auto;
  }
}

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

/* ===== VALORES ===== */
.valores {
  padding: 80px 0px 20px 0px;
  background-image: url(../assets/img/nosotros-valores-fondo-msu.jpg);
  background-size: cover;
  background-position: center center;
  position: relative;
}
@media (max-width: 992px) {
  .valores {
    padding: 80px 0px;
  }
}

/* ===== VALORES CARDS ===== */
.valores__wrapper {
  width: 80vw;
  margin: 0 auto;
  margin-bottom: 70px;
}

.valores__title{
  font-size: large;
  color: #fff;
  font-size: 30px;
}

.valores__cards {
  width: 80vw;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  position: relative;
  transform: translateY(100px);
}

.valores__card {
  background: var(--text-title);
  border-radius: 20px;
  padding: 50px 30px 20px;
  text-align: center;
}

.valores__card-title {
  color: #428d56;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
}

.valores__card-line {
  all: unset;
  display: block;
  width: 100px;
  height: 1px;
  background-color: #fff;
  margin: 30px auto;
}

.valores__card-text {
  color: #fff;
  font-size: 13.5px;
  line-height: 1.8;
  margin-bottom: 0px;
}

@media (max-width: 992px) {
  .valores__cards {
    padding: 100px 20px;
    display: flex;
    flex-direction: column;
  }
}

/* ===== INTRO HISTORIA ===== */
.intro--historia {
  padding-top: 200px;
}

.intro__text--green {
  color: var(--text-title);
}

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  background-color: #eaeeea;
  padding: 80px 30px;
}

.timeline__content {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  /* align-items: start; */
  gap: 0px;
  z-index: 1;
}

.timeline__year {
  display: block;
  font-size: 28px;
  font-weight: 600;
  color: #2f4f2f;
  margin-bottom: 16px;
  margin-top: -45px;
  background-color: #eaeeea;
  width: 100px;
  padding: 0 10px;
}

.timeline__year--right {
  position: absolute;
  right: 0px;
}

.timeline__year--left {
  position: absolute;
  left: 0px;
}

.timeline__text {
  font-size: 14px;
  line-height: 1.5;
  color: #2b2b2b;
}

.timeline__item {
  border: 2px dotted var(--text-title);
  padding: 20px 20px 20px 20px;
}

.timeline__item--1860 {
  border-width: 4px 0px 4px 4px;
  align-self: end;
}

.timeline__item--1998 {
  border-width: 4px 4px 0px 4px;
  padding-bottom: 100%;
}

.timeline__item--2007 {
  border-width: 0px 0px 4px 0px;
  align-self: end;
}

.timeline__item--2013 {
  border-width: 4px 4px 0px 4px;
  padding-bottom: 100%;
}

.timeline__item--2021 {
  border-width: 0px 0px 4px 0px;
  align-self: end;
}

.timeline__item--2024 {
  border-width: 4px 0px 0px 4px;
  padding-bottom: 100%;
}

.timeline__item img {
  position: relative;
  width: 120px;
  display: block;
  margin: 20px auto;
}

/* ===== SECCION MANAGEMENT ===== */
.management {
  padding: 100px 0px 0px;
  background-color: #f8f8f8;
  margin-bottom: -140px;
}

.management__intro {
  width: 80vw;
  margin: auto;
  text-align: center;
  max-width: 850px;
  margin: 0 auto 180px;
}

.management__title {
  font-size: 30px;
  color: #2f4f2f;
  margin-bottom: 24px;
}

.management__divider {
  display: block;
  width: 300px;
  height: 1px;
  background-color: var(--text-title);
  margin: 32px auto;
}

.management__text {
  font-size: 14px;
  color: #333;
}

.management__grid {
  display: grid;
  gap: 48px;
  row-gap: 180px;
  width: 80vw;
  margin: auto;
}

/* Primera fila: 2 cards */
.management__grid--top {
  grid-template-columns: repeat(2, 1fr);
  max-width: 60vw;
  margin-bottom: 180px;
}

/* Segunda fila: 5 cards */
.management__grid--bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
}
.management__grid--bottom .management-card {
  flex: 0 0 calc(20% - 40px);
  max-width: calc(20% - 40px);
  min-width: 250px;
}

/* Cards */
.management-card {
  border: 1px solid var(--text-title);
  border-radius: 16px;
  padding: 40px 40px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 50vh;
  background-color: #fff;
  margin-bottom: 70px;
}

.management-card__photo {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  margin: -180px auto 24px;
  display: block;
  background-color: #eaeaea;
}

.management-card__name {
  font-size: 25px;
  color: var(--text-title);
  margin-bottom: 8px;
}

.management-card__role {
    font-size: 15px;
    margin-bottom: 28px;
    display: block;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--text-main);
}

.management-card__bio {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 10px;
}

.management-card__years {
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--text-title-light);
  margin-top: auto;
  position: relative;
  padding-top: 20px;
}

.management-card__years::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 1px;
  background-color: var(--text-title-light);
}

/* ===== MANAGEMENT RESPONSIVE ===== */

@media (max-width: 1600px) {
  .management__grid {
    column-gap: 30px;
    row-gap: 100px;
  }
  
  .management__grid--top {
    max-width: 80vw;
    margin-bottom: 100px;
  }
  
  .management__grid--bottom .management-card {
    flex: 0 0 calc(33.333% - 32px);
    max-width: calc(33.333% - 32px);
  }
  .management-card {
    padding: 30px 30px 20px;
    min-height: 50vh;
  }
  .management-card__photo {
    width: 200px;
    height: 200px;
    margin-top: -125px;
  }
}

@media (max-width: 1300px) {
  .management__grid {
    column-gap: 20px;
  }
  .management-card {
    padding: 20px;
    min-height: 50vh;
  }
  .management-card__photo {
    width: 200px;
    height: 200px;
    margin-top: -120px;
  }
}

@media (max-width: 992px) {
  .management {
    padding: 120px 20px;
  }
  .management__grid {
    display: flex;
    gap: 48px;
    flex-direction: column;
  }
  
  .management__grid--top,
  .management__grid--bottom {
    grid-template-columns: 1fr;
    max-width: 100%;
    margin-bottom: 0;
  }
  
  .management__grid--bottom {
    margin-top: 50px;
  }
  
  .management__grid--bottom .management-card {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* ===== TIMELINE MOBILE ===== */
  .timeline {
    padding: 40px 20px;
  }

  .timeline__content {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .timeline__item {
    border-width: 2px 0 0 0 !important;
    border-style: dotted;
    border-color: var(--text-title);
    padding: 20px !important;
    align-self: auto !important;
  }

  .timeline__year {
    margin-top: -35px;
    margin-bottom: 10px;
    font-size: 24px;
  }

  .timeline__item img {
    margin: 15px auto;
    width: 80px;
  }
}

/* ===== QUE HACEMOS ===== */
/* ===== SECCION INTRO ===== */
.que-hacemos-intro {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 50px;
  padding: 50px 0px 0px;
  width: 80vw;
  margin: auto;
  position:relative
}

.que-hacemos-intro__left {
  position: relative;
}

.que-hacemos-intro__left img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

.que-hacemos-intro__left::before {
  content: "";
  position: absolute;
  left: -120px;
  top: 30px;
  width: 100px;
  height: 1px;
  background: #35562c;
}

/* ===== ELEMENTOS INTRO ===== */
.que-hacemos-intro__title {
  color: var(--text-title);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 45px;
}

.que-hacemos-intro__title span {
  display:block;
  font-weight: 500;
}

.que-hacemos-intro__subtitle {
  color: var(--text-main);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 30px;
}

/* .que-hacemos-intro p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 0px;
} */

.que-hacemos-intro__text {
  font-size: 14px;
  margin-bottom: 25px;
  line-height: 1.9;
  font-weight: 500;
}

.que-hacemos-intro__text span {
  font-weight: 700;
  background-color: #eceeeb;
  border-radius: 5px;
  padding: 2px 6px;
}

.que-hacemos-intro__line {
  border: none;
  border-top: 2px dotted var(--text-title);
  margin: 50px 0;
}

.que-hacemos-intro__planta {
  background-color: var(--text-title-alt);
  border-radius: 30px 30px 0px 0px;
  padding: 40px 60px;
  display:flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.que-hacemos-intro__planta h3 {
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 30px;
}

.que-hacemos-intro__planta p {
  color: #fff;
  font-size: 14px;
  line-height: 1.8;
}

.que-hacemos-intro__planta__mani {
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.que-hacemos-intro__planta__mani img {
  width: 125px;
  margin:auto;
}

.que-hacemos-intro__integracion {
  background-color: #eddbc5;
  border-radius: 0px 0px 30px 30px;
  margin-top: 10px;
  padding: 40px 60px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 30px;
  align-items: center;
}

.que-hacemos-intro__integracion p {
  color: var(--text-title-alt);
  margin: 0px;
  font-size: 14px;
}

.que-hacemos-intro__integracion img {
  width: 55px;
  margin: auto;
}

.que-hacemos-intro__tons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  column-gap: 40px;
  margin-top: 45px;
}

.que-hacemos-intro__tons p {
    text-align: left;
    margin-bottom: 0px;
    line-height: 1.2;
    font-size: 14px;
}

.que-hacemos-intro__tons p strong {
    font-size: 22px;
}

.que-hacemos-intro__tons img {
  width: 70px;
}

.que-hacemos-intro__footer {
  display: flex;
  flex-direction: column;
  position: absolute;
  bottom: 0;
  z-index: 0;
  margin-top: 30px;
}

.que-hacemos-cuadro {
  background-image: url(../assets/img/que-hacemos-cuadro-msu.jpg);
}

.que-hacemos-grid {
  width: 60%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin: 0px auto;
  height: 100vh;
  align-items: center;
  justify-content: center;
}

.que-hacemos-col {
  text-align: center;
}

@media (max-width: 992px) {
  .que-hacemos-cuadro {
    padding: 60px 20px;
    background-size: cover;
    background-position: center;
  }

  .que-hacemos-grid {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    height: auto;
  }

  .que-hacemos-col {
    padding: 20px 0;
  }

  .que-hacemos-col img {
    max-width: 280px;
    width: 100% !important;
    height: auto;
  }

  .que-hacemos-intro, .que-hacemos-intro__planta__mani, .que-hacemos-intro__integracion {
    grid-template-columns: 1fr;
  }

  .que-hacemos-intro__integracion img {
    margin: 30px auto;
  }
  
  .que-hacemos-intro__footer {
    position: relative;
  }
}

@media (min-width: 1800px) {
  .que-hacemos-intro__footer {
    bottom: 200px;
  }
}

/* === QUE HEMOS CUADRO === */
.que-hacemos-cuadro {
  margin-top: 40px;
}

/* ===== INVERSORES ===== */
.intro--inversores-title {
  grid-template-columns: 2fr 1fr;
  padding: 50px 0px 0px;
}

.intro--inversores-content {
  grid-template-columns: 1fr 1fr 1fr;
  padding: 0px 0px 50px;
}

.intro-inversores__col p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.intro-inversores__col--btns {
  align-self: end;
  display:flex;
  flex-direction: column;
}

.intro--inversores__btn {
    border: 3px solid var(--text-title);
    border-radius: 60px;
    background-color: #ebeeea;
    padding: 10px 0px 9px 80px;
    width: 320px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 15px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: start;
}

.intro--inversores__btn::after {
  content: "";
  position: absolute;
  left: 30px;                 /* ⬅️ distancia al borde */
  top: 50%;
  transform: translateY(-50%);
  width: 25px;
  height: 25px;
  background: url("../assets/img/inversores-intro-flecha-boton.svg") center / 25px no-repeat;
  pointer-events: none;       /* evita interferencias */
}

/* === INVERSORES OVERVIEW === */
.inversores-overview {
  padding: 80px 120px;
  background-image: url(../assets/img/inversores-overview-fondo-msu.jpg);
  margin-bottom: 60px;
}

@media (max-width: 992px) {
  .inversores-overview {
    padding: 80px 30px;
  }
}

.inversores-overview__items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 0px;
}

.inversores-overview__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.inversores-overview__item img {
  width: 90px;
  margin-bottom: 60px;
}

.inversores-overview__item h4 {
  color: #fff;
}

.inversores-overview__item p {
  color: #fff;
  font-size: 14px;
  line-height: 1.7;
}

.inversores-overview__item::after {
  content: "";
  position: absolute;
  top: 2%;
  right: -20px; /* mitad del gap (gap = 40px) */
  width: 1px;
  background-color: #6f8b6b;
  height: 20%;
}

.inversores-overview__item:last-child::after {
  display: none;
}

@media (max-width: 1600px) {
  .intro--inversores-content {
    gap: 40px;
  }
}

@media (max-width: 992px) {
  .intro--inversores-content {
    display: block;
  }
  .inversores-overview__items {
    display: block;
  }
  .inversores-overview__item {
    margin-bottom: 30px;
  }
  .inversores-overview__item::after {
    display: none;
  }
}

/* === FINANCIALS === */
.financials {
  margin: 0px 60px;
}

.financials__hero {
  background-image: url(../assets/img/inversores-financials-hero-fondo-msu.jpg);
  background-position: center center;
  padding: 40px 0px 24px;
  border-radius: 20px;
  margin-bottom: 60px;
}

.financials__hero__content {
  width: 80vw;
  margin: auto;
}

.financials__hero__content h2 {
  width: 30%;
  color: var(--text-title-light2);
  line-height: 1.3;
  font-size: 32px;
}

.financials__hero__content p {
  width: 60%;
  color: #fff;
  font-size: 14px;
  line-height: 1.8;
}

.financials__hero__content hr {
  width: 200px;
  color: #fff;
}

.financials__grid {
  display: grid;
  grid-template-rows: auto auto;
  gap: 40px;
  width: 80vw;
  margin: auto;
}

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

.financials__year {
  border: 3px solid var(--text-title);
  border-radius: 30px;
  line-height: 1;
  padding: 8px 0px 10px 20px;
  width: 285px;
  font-size: 24px;
  font-weight: 500;
  color: var(--text-title);
  margin-bottom: 15px;
  text-align: left;
  position: relative;
}

.financials__year::after {
  content: "";
  position: absolute;
  right: 8px;              /* ⬅️ ahora va a la derecha */
  top: 50%;
  transform: translateY(-50%);
  width: 33px;
  height: 33px;
  background: url("../assets/img/financials-arrow-down.svg") center / 33px no-repeat;
  pointer-events: none;
}

.financials__year.active {
  color: #fff;
  background-color: var(--text-title-light2);
  border-color: var(--text-title-light2);
  font-weight: 600;
}

.financials__year.active::after {
  content: "";
  position: absolute;
  right: 8px;              /* ⬅️ ahora va a la derecha */
  top: 50%;
  transform: translateY(-50%);
  width: 33px;
  height: 33px;
  background: url("../assets/img/financials-arrow-right.svg") center / 33px no-repeat;
  pointer-events: none;
}

.financials__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

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

.financials__list.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.financials__list.is-visible {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

.financials__item {
  display: grid;
  grid-template-columns: 1fr auto;
  margin-bottom: 15px;
}

.financials__desc h5 {
  font-size: 14px;
  font-weight: 700;
}

.financials__desc p {
  font-size: 14px;
}

.financials__desc hr {
  border-width: 1.5px;
  opacity: 0.5;
  box-shadow: 0 0 1px 0;
}

.financials__download {
  border: 2px solid var(--text-title-light2);
  border-radius: 20px;
  padding: 5px 10px 3px;
  font-size: 14px;
  font-weight: 700;
  align-self: start;
}

.financials__download:hover {
  background-color: var(--text-title-light2);
}

.financials__download a {
  color: var(--text-title-light2);
  text-decoration: none;
}

.financials__download:hover a {
  color: #fff;
}

/* PARA LOS ARCHIVOS DE REPORTES CON BOTÓN DE ACCEDER */
.financials__hero--reportes {
  background: url(../assets/img/inversores-financials-hero-fondo-msu-2.jpg);
  padding: 40px 0px;
}

.financials__item--rep {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto auto auto auto;
  column-gap: 20px;
}

.financials__item--rep aside {
  display: grid;
  grid-template-rows: auto auto auto auto auto;
}

.financials__item--rep .financials__download {
  grid-row: 1;
}

.financials__item--rep .financials__download--acceder {
  grid-row: 4;
}

@media (max-width: 992px) {
  .financials__content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .financials__list {
    grid-template-columns: 1fr;
  }
}

/* === EMISIONES === */
.emisiones {
  margin: 0px auto 100px;
  background-color: #ebefea;
}

.emisiones__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 80vw;
  padding: 60px 0px;
  margin: 0px auto;
}

.emisiones__left h2 {
  color: var(--text-title);
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 15px;
}

.emisiones__left h3 {
  color: var(--text-main);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 40px;
}

.emisiones__boton {
  border: 3px solid var(--text-title);
  border-radius: 30px;
  line-height: 1;
  padding: 8px 0px 10px 20px;
  width: 285px;
  font-size: 24px;
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 15px;
  text-align: left;
  position: relative;
}

.emisiones__boton::after {
  content: "";
  position: absolute;
  right: 8px;              /* ⬅️ ahora va a la derecha */
  top: 50%;
  transform: translateY(-50%);
  width: 33px;
  height: 33px;
  background: url("../assets/img/financials-arrow-down.svg") center / 33px no-repeat;
  pointer-events: none;
}

.emisiones__boton.active {
  color: #fff;
  background-color: var(--text-title-light2);
  border-color: var(--text-title-light2);
}

.emisiones__boton.active::after {
  content: "";
  position: absolute;
  right: 8px;              /* ⬅️ ahora va a la derecha */
  top: 50%;
  transform: translateY(-50%);
  width: 33px;
  height: 33px;
  background: url("../assets/img/financials-arrow-right.svg") center / 33px no-repeat;
  pointer-events: none;
}

.emisiones__nav {
  margin: 30px 0px;
  cursor: pointer;
  display:flex;
  justify-content: flex-end;
  gap: 15px;
}

.emisiones__right {
  overflow: hidden;
}

.emisiones__items {
  display: grid;
  grid-auto-flow: column;
  column-gap: 20px;
  transition: transform 0.45s ease;
}

.emisiones__item {
  background-color: #e1e6e1;
  border-radius: 20px;
  padding: 20px 30px;
  border: 3px solid transparent;
}

.emisiones__item:hover {
  background-color: #ced7cd;
  border: 3px solid var(--text-title-light2);
  cursor: pointer;
}

.emisiones__item span {
  color: var(--text-main);
  font-size: 14px;
  font-weight: 700;
}

.emisiones__item h4 {
  color: var(--text-title);
  font-size: 24px;
  font-weight: 700;
}

.emisiones__item hr {
  border-width: 3px;
  box-shadow: none;
  color: var(--text-title);
  opacity: 1;
}

.emisiones__item p {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.4;
}

.emisiones__item p strong {
  color: var(--text-title);
  font-weight: 600;
}

.emisiones__item h5 {
  color: var(--text-title);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
  margin-top: 0;
}

.emisiones__item h5:last-of-type {
  margin-bottom: 0;
}

.emisiones__item h5.emisiones--vigente {
  color: var(--text-title-light2);
  font-weight: 700;
}

.emisiones--vigente::after {
  /* content: "←"; */
  font-size: inherit;
  position: relative;
  left: 90px;
}

@media (min-width: 993px) {
  .emisiones__items {
    grid-auto-columns: calc(50% - 10px);
  }
}

@media (max-width: 992px) {

  .emisiones__right {
    overflow: hidden;
    overflow-x: clip;
    contain: layout paint;
  }
  .emisiones__items {
    grid-template-columns: unset;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    column-gap: 20px;
  }

  .intro-inversores__col {
    margin-bottom: 30px;
  }
  .intro-inversores__col img {
    display:none;
  }
  .financials {
    margin: 60px 20px;
  }
  .financials__years {
    align-items: center;
  }
  .transparencia__right {
    align-items: center;
  }
  .boton-conducta {
    margin: 20px auto;
  }

}

/* === TRANSPARENCIA === */
.transparencia {
  max-width: 80vw;
  margin: 100px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.transparencia img {
  border-radius: 30px;
  max-width: 100%;
  height: auto;
}

.transparencia__right {
  display: flex;
  flex-direction: column;
  padding: 20px 0px;
  text-align: left;
}

.transparencia__right p {
  font-size: 14px;
}

.boton-conducta {
  align-self: start;
  border: 3px solid var(--text-title);
  color: #333;
  display: inline-block;
  padding: 10px 60px 10px 40px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 700;
  background-color: #eaeeea;
  position: relative;
  margin-top: 20px;
}

.boton-conducta--cnv {
  padding: 4px 60px 6px 35px;
}

/* .boton-conducta {
  border: 3px solid var(--text-title);
  border-radius: 30px;
  line-height: 1;
  padding: 8px 0px 10px 20px;
  width: 285px;
  font-size: 24px;
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 15px;
  text-align: left;
  position: relative;
} */

.boton-conducta::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 33px;
  height: 33px;
  background: url("../assets/img/financials-arrow-down.svg") center / 33px no-repeat;
  pointer-events: none;
}

/* === CONTACTO INVERSORES === */
.contacto-inversores {
  background-color: var(--text-title);
  padding: 60px 0px;
}

.contacto-inversores__grid {
  margin: 0px auto;
  max-width: 80vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.intro__title--white {
  color: #fff;
  margin-bottom: 20px;
}

.contacto-inversores__left p {
  color: var(--text-title-light2);
  font-size: 15px;
  font-weight: 700;
}

/* FORMULARIO INVERSORES */
.form-inversores {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-inversores input,
.form-inversores textarea {
  background: transparent;
  border: 3px solid #fff;
  border-radius: 30px;
  padding: 14px 18px;
  font-size: 14px;
  color: #fff;
  outline: none;
}

/* Placeholder */
.form-inversores input::placeholder,
.form-inversores textarea::placeholder {
  color: #fff;
  opacity: 0.8;
}

/* Textarea */
.form-inversores textarea {
  resize: none;
}

/* Boton */
.form-inversores button {
  background: transparent;
  border: 3px solid var(--text-title-light2);
  border-radius: 30px;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  color: var(--text-title-light2);
  outline: none;
  position: relative;
}

.form-inversores button span img {
  position:absolute;
  right: 10px;
  top: 5px;
}

/* RESPONSIVE INVERSORES */
@media (max-width: 992px) {
  .emisiones__grid, .transparencia, .contacto-inversores__grid {
    grid-template-columns: 1fr;
  }
  .form-submit-icon {
    display: none;
  }
}

/* ===== COMO LO HACEMOS ===== */
.como-hacemos-nav {
  position: absolute;
  top: -80px;
  right: 20px;
  display: flex;
  gap: 15px;
}

.como-hacemos-nav img {
  cursor: pointer;
}

.como-hacemos-carousel {
  position: relative;
  width: 100%;
}

.como-hacemos-image {
  width: 100%;
  border-radius: 40px;
  display: block;
  transition: opacity 0.35s ease, transform 0.6s ease;
}

.como-hacemos-image.is-fading {
  opacity: 0;
  transform: scale(1.02);
}


.como-hacemos-wrapper {
  margin: 100px 0px 0px;
  background-color: #eff4ed;
}

.como-hacemos {
  max-width: 80vw;
  margin: auto;
}

.como-hacemos h2 {
  width: fit-content;
  text-align: center;
  font-size: 28px;
  margin: 0px auto 60px;
  background-color: var(--text-title-light3);
  border-radius: 40px;
  padding: 20px 60px;
  color: #fff;
  position: relative;
  top: -35px;

  /* border-left: 12px solid #fff;
  border-right: 12px solid #fff;

  box-shadow:
    -18px 0 0 var(--text-title),
     18px 0 0 var(--text-title); */
}

.como-hacemos__container {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  align-items: center;
  gap: 40px;
  padding-bottom: 40px;
}

.como-hacemos__content {
  position: relative;
}

.como-hacemos__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.como-hacemos__grid-title {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 20px;
}

.como-hacemos__grid-title img {
  height: 150px;
}

.como-hacemos__grid h4 {
  color: var(--text-title);
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 0px;
}

.como-hacemos__grid h5 {
  font-size: 14px;
  font-weight: 600;
  background-color: #e1ebdd;
  padding: 10px 15px;
  border-radius: 30px;
  display: inline-block;
}

.como-hacemos__grid p {
  color: var(--text-title);
  font-size: 14px;
  line-height: 1.8;
}

.como-hacemos__grid ul {
  list-style-type: disc;
  margin: 10px 0px 0px 20px;
  padding: 0px;
}

.como-hacemos__grid li {
  font-size: 14px;
  line-height: 1.8;
  padding-bottom: 5px;
}

.como-hacemos-separador {
  margin: 30px 0px;
}

.nf-icono-1 {
  position: relative;
}

.nf-icono-1::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -10px;

  width: 90px;
  height: 90px;

  background-image: url("../assets/img/nuestra-forma-icono-1.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

.nf-icono-2 {
  position: relative;
}

.nf-icono-2::before {
  content: "";
  position: absolute;
  right: 140px;
  top: -10px;

  width: 90px;
  height: 90px;

  background-image: url("../assets/img/nuestra-forma-icono-2.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

.nf-icono-3 {
  position: relative;
}

.nf-icono-3::before {
  content: "";
  position: absolute;
  right: 140px;
  top: -10px;

  width: 90px;
  height: 90px;

  background-image: url("../assets/img/nuestra-forma-icono-3.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

/* COMO HACEMOS RESPONSIVE */
@media (max-width: 992px) {
  .como-hacemos-nav {
    display: none;
  }
  .como-hacemos {
    padding-top: 10px;
  }
  .como-hacemos__container {
    grid-template-columns: 1fr;
  }
  .como-hacemos-flechas {
    display: none;
  }
  .como-hacemos h2 {
    padding: 20px;
  }
  .como-hacemos__grid {
    grid-template-columns: 1fr;
  }
  .como-hacemos__item-1,
  .como-hacemos__item-2,
  .como-hacemos__item-3 {
    grid-column: 1;
    grid-row: auto;
  }
  .como-hacemos__grid ul {
    margin-bottom: 20px;
  }
}

/* ===== TALENTO ===== */
.talento-form {
  max-width: 80vw;
  margin: 40px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
}

.talento-form h3 {
  font-size: 30px;
  color: var(--text-title-light2);
}

/* FORMULARIO TALENTO */
.talento-form form {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  font-family: inherit;
  margin-top: 40px;
}

.talento-form form input,
.talento-form form select {
  width: 100%;
  border: none;
  border-bottom: 1px solid #666;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 900;
  background: transparent;
  outline: none;
  color: #333;
}

.talento-form form input::placeholder {
  color: #333;
  font-weight: 900;
}

.talento-form form select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23333' stroke-width='2' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 24px;
  font-weight: 900;
  cursor: pointer;
}

.talento-form form > div {
  display: flex;
  align-items: center;
  gap: 20px;
}

.talento-form form > div span:first-child {
  font-weight: 600;
  color: #333;
}

/* .talento-form form input[type="file"] {
  display: none;
} */

.talento-form form label span {
  background: #eef0ec;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
}

.talento-form form button {
  align-self: flex-end;
  padding: 7px 10px 7px 18px;
  border-radius: 40px;
  border: 3px solid var(--text-title);
  background: transparent;
  color: var(--text-main);
  font-weight: 700;
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
}

/* === BUSQUEDAS ACTIVAS === */
.busquedas-wrapper {
  background-color: #eaeeea;
  padding-bottom: 80px;
  margin-top: 180px;
}

.busquedas__hero {
  background-image: url(../assets/img/talento-busquedas-hero-msu.jpg);
  background-position: center center;
  padding: 60px 0px 44px;
  border-radius: 20px;
  margin: 60px;
  transform:translateY(-120px)
}

.busquedas__hero__content {
  width: 80vw;
  margin: auto;
}

.busquedas__hero__content h2 {
  width: 30%;
  color: var(--text-title-light2);
  line-height: 1.3;
  font-size: 32px;
  margin-bottom: 20px;
}

.busquedas__hero__content p {
  width: 60%;
  color: #fff;
  line-height: 1.8;
}

.busquedas {
  width: 80vw;
  margin: 80px auto -100px;
  transform:translateY(-120px)
}

.busquedas__nav {
  display:flex;
}

.busquedas__nav img {
  margin: 0px 15px 40px 0px;
  cursor: pointer;
}

.busquedas__items {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 40px) / 3);
  column-gap: 20px;
  transition: transform 0.4s ease;
  will-change: transform;
}

.busquedas {
  overflow: hidden;
}

.busquedas__item {
  background-color: #d8dfd7;
  border-radius: 20px;
  padding: 40px;
}

.busquedas__item h3 {
  color: var(--text-title);
  font-size: 25px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 30px;
}

.busquedas__item p {
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 0px;
}

.busquedas__item button {
  background: #c7d1c6;
  border: 3px solid var(--text-title);
  border-radius: 30px;
  padding: 5px 20px;
  font-weight: 700;
  color: var(--text-title);
  margin-top: 20px;
  font-size: 14px;
}

.busquedas__item p img {
  max-width: 45px;
}

/* ===== JOVENES PROFESIONALES ===== */
.jovenes {
  width: 80vw;
  margin: 0px auto;
  padding: 40px 0px;
}

.jovenes-wrapper {
  position:relative;
}

.jovenes-lineas-1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 30%;
  z-index: 1;
}

.jovenes-lineas-2 {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40%;
  z-index: 0;
}

@media (max-width: 992px) {
  .jovenes-lineas-1, .jovenes-lineas-2 {
    display: none;
  }
}

.jovenes__title {
  width: fit-content;
  margin: 40px auto;
  background-color: var(--text-title-light3);
  border-radius: 40px;
  color: #fff;
  font-size: 30px;
  padding: 15px 120px;
}

.jovenes__box {
  position: relative;
  background-color: var(--text-title);
  border-radius: 40px;
  padding: 40px 60px;
  width: 100%;
  box-shadow: 18px 18px 0 #c9d9b8;
}

.jovenes__item {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 15px;
  align-items: start;
  margin-bottom: 10px;
}

.jovenes__item img {
  width: 30px;
  height: auto;
  margin-top: 15px;
}

.jovenes__box h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-top: 20px;
}

.jovenes__box p {
  color: #fff;
  z-index: 2;
  font-size: 14px;
  margin-bottom: 0px;
}

.jovenes__icono {
  position: absolute;
  right: -60px;
  bottom: 100px;
  width: 250px;
  height: auto;
  pointer-events: none;
  z-index: 3;
}

/* TALENTO RESPONSIVE */

@media (max-width: 1500px) {
  .jovenes__icono {
    right: -60px;
    bottom: 130px;
  }
}

@media (max-width: 1200px) {
  .jovenes__icono {
    width: 200px;
  }
}

@media (max-width: 992px) {
  .talento-form {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }
  .busquedas {
    overflow: hidden;
  }

  .busquedas__items {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    column-gap: 20px;
  }
  .jovenes__title {
    margin: 20px auto;
    font-size: 24px;
    padding: 20px 30px;
    text-align: center;
  }
  .jovenes .intro {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0px;
  }
  .jovenes__icono {
    display: none;
  }
  .jovenes__box {
    padding: 40px 30px;
  }
  .jovenes-lineas {
    display: none;
  }
  .busquedas__hero {
    margin: 20px;
  }
}

/* ===== LINEA ETICA ===== */
.etica {
  background-color: #eaeeea;
  margin: 0px;
}

.etica__container {
  width: 80vw;
  padding: 100px 0px;
  margin: 0px auto;
  display:grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 80px;
  align-items: center;
}

.etica__desc p {
  color: var(--text-title);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.8;
}

.etica__datos {
  background-color: #ced7cd;
  border: 2px solid #45a658;
  border-radius: 30px;
  padding: 20px 40px;
}

.etica__datos p {
  color: var(--text-main);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 0px;
}

.etica-datos p a {
  margin-bottom: 20px;
}

.etica__datos p img {
  height: 30px;
  margin-right: 20px;
}

@media (max-width: 992px) {
  .etica__container {
    display: block;
  }
  .etica__datos p a {
    display: block;
  }
}

/* ===== CONTACTO ===== */
.contacto {
  width: 80vw;
  margin: 80px auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  column-gap: 100px;
}

.contacto__datos {
  margin: 0 0 40px 0;
}

.contacto__datos h2 {
  color: var(--text-title);
  font-size: 24px;
  font-weight: 500;
  padding-bottom: 0;
}

.contacto__datos-item {
  padding: 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.contacto__datos-item.active {
  background-color: #ffffff;
  border: 3px solid var(--text-title);
  border-radius: 40px;
  padding: 40px;
  margin-top: 0;
}

.contacto__datos-item.active h2 {
  margin-top: 0;
}

/* Borde naranja para Peanut Commercial cuando está activo */
#comercial-mani.active {
  border-color: var(--text-title-alt);
}

/* Radio buttons estilizados para seleccionar destinatario */
.contacto__radios {
  display: flex;
  gap: 24px;
  margin-bottom: 4px;
}

.contacto__radio {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-main);
  position: relative;
}

.contacto__radio input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Círculo del radio - compacto */
.radio-circle {
  width: 12px;
  height: 12px;
  min-width: 12px;
  min-height: 12px;
  border: 2px solid #999;
  border-radius: 50%;
  margin-right: 10px;
  position: relative;
  transition: all 0.2s ease;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  padding: 2px;
  box-sizing: content-box;
}

/* Punto interior del radio - más grande */
.radio-circle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

/* Radio seleccionado - Arrendamiento (verde) */
.contacto__radio:has(input[value="arrendamiento"]:checked) .radio-circle {
  border-color: var(--text-title);
}

.contacto__radio:has(input[value="arrendamiento"]:checked) .radio-circle::after {
  background: var(--text-title);
  transform: translate(-50%, -50%) scale(1);
}

/* Radio seleccionado - Peanut (naranja) */
.contacto__radio:has(input[value="peanut"]:checked) .radio-circle {
  border-color: var(--text-title-alt);
}

.contacto__radio:has(input[value="peanut"]:checked) .radio-circle::after {
  background: var(--text-title-alt);
  transform: translate(-50%, -50%) scale(1);
}

/* Hover */
.contacto__radio:hover .radio-circle {
  border-color: #666;
}

.contacto__radio:has(input[value="arrendamiento"]):hover .radio-circle {
  border-color: var(--text-title);
}

.contacto__radio:has(input[value="peanut"]):hover .radio-circle {
  border-color: var(--text-title-alt);
}

/* Mensaje de error para destinatario */
.contacto__destinatario-error {
  font-size: 12px;
  color: #dc3545;
  margin-bottom: 8px;
  display: none;
}

.contacto__destinatario-error.visible {
  display: block;
}

h2.contacto__datos__mani {
  color: var(--text-title-alt);
}

.contacto__datos a {
  text-decoration: none;
  color: var(--text-main);
  display: block;
  font-size: 18px;
}

.contacto__datos hr {
  background-color: var(--text-title);
  border: none;
  height: 1px;
  opacity: 0.8;
  margin: 60px 0px 30px;
}

.contacto__datos h5 {
  font-size: 14px;
  font-weight: 700;
}

.contacto__datos h5 img {
  width: 50px;
  margin-left: -10px;
}

.contacto__datos p {
  font-size: 14px;
  line-height: 1.6;
}

.contacto__city {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 40px;
}

.contacto__city h4 {
  color: var(--text-title);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}

.contacto__city p {
  margin-bottom: 10px;
}

/* FORMULARIO CONTACTO */
.contacto__form h3 {
  font-size: 30px;
  color: var(--text-title);
}
.contacto__form form {
  display: flex;
  flex-direction: column;
  padding: 40px 60px;
  gap: 32px;
  background-color: #eaeeea;
  border-radius: 40px;
}

.contacto__form form input,
.contacto__form form textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #666;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 900;
  background: transparent;
  outline: none;
  color: #333;
}

.contacto__form form input::placeholder,
.contacto__form form textarea::placeholder {
  color: #333;
  font-weight: 900;
}

.contacto__form form label span {
  background: #eef0ec;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
}

.contacto__form form button {
  align-self: flex-end;
  padding: 6px 11px 6px 20px;
  font-size: 14px;
  border-radius: 40px;
  border: 3px solid var(--text-title);
  background: transparent;
  color: var(--text-main);
  font-weight: 700;
  position: relative;
  display: inline-flex;
  align-items: center;
}

.contacto__form form > div {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contacto__form form > div span:first-child {
  font-weight: 600;
  color: #333;
}

/* .contacto__form form input[type="file"] {
  display: none;
} */

.form form label span {
  background: #eef0ec;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
}

/* CONTACTO RESPONSIVE */
@media (max-width: 992px) {
  .contacto, .contacto__city {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }
  .contacto__form form {
    padding: 40px 30px;
  }
}


/* FLECHA PARA BOTONES */
.btn-arrow {
  position: relative;
  padding-right: 64px; /* espacio para la flecha */
}

.btn-arrow::after {
  content: "";
  width: 40px;
  height: 40px;
  margin-left: 16px;
  flex-shrink: 0;
  background: url("../assets/img/arrow-right.svg") center / 40px no-repeat;
}

/* ========================================
   ANIMACIONES FADE-IN SCROLL
   ======================================== */

/* Clases base para animaciones */
.fade-in,
.fade-in-up,
.fade-in-left,
.fade-in-right,
.fade-in-scale {
  opacity: 0;
  transition: opacity 700ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 700ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

/* Fade simple */
.fade-in {
  transform: translateY(0);
}

/* Fade + subida suave */
.fade-in-up {
  transform: translateY(30px);
}

/* Fade + entrada desde izquierda */
.fade-in-left {
  transform: translateX(-30px);
}

/* Fade + entrada desde derecha */
.fade-in-right {
  transform: translateX(30px);
}

/* Fade + escala suave */
.fade-in-scale {
  transform: scale(0.96);
}

/* Estado visible - aplicado vía JS */
.fade-in.is-visible,
.fade-in-up.is-visible,
.fade-in-left.is-visible,
.fade-in-right.is-visible,
.fade-in-scale.is-visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Delay opcionales para efectos escalonados */
.fade-in-delay-1 { transition-delay: 100ms; }
.fade-in-delay-2 { transition-delay: 200ms; }
.fade-in-delay-3 { transition-delay: 300ms; }
.fade-in-delay-4 { transition-delay: 400ms; }
.fade-in-delay-5 { transition-delay: 500ms; }

/* Reducir movimiento para usuarios que lo prefieren */
@media (prefers-reduced-motion: reduce) {
  .fade-in,
  .fade-in-up,
  .fade-in-left,
  .fade-in-right,
  .fade-in-scale {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ================= SELECTOR DE IDIOMA ================= */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  padding-top: 10px;
  border-top: 1px solid rgba(168, 192, 164, 0.3);
}

.lang-link {
  font-size: 13px;
  font-weight: 600;
  color: #a8c0a4;
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 2px 4px;
}

.lang-link:hover {
  color: #ffffff;
}

.lang-link.is-active {
  color: #58a36c;
  font-weight: 700;
}

.lang-separator {
  color: #a8c0a4;
  font-size: 13px;
  opacity: 0.5;
}

/* Ajuste responsive para el selector de idioma */
@media (max-width: 1024px) {
  .lang-switcher {
    margin-top: 10px;
    padding-top: 8px;
  }
  
  .lang-link {
    font-size: 12px;
  }
}


/* ================= SELECTOR DE IDIOMA EN HEADER ================= */
.lang-switcher-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 15px;
}

.lang-switcher-header .lang-link {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 2px 4px;
}

.lang-switcher-header .lang-link:hover {
  color: #ffffff;
}

.lang-switcher-header .lang-link.is-active {
  color: #58a36c;
  font-weight: 700;
}

.lang-switcher-header .lang-separator {
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
}


/* ================= SELECTOR DE IDIOMA MOBILE ================= */
.lang-switcher-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  padding-top: 15px;
}

.lang-switcher-mobile .lang-link {
  font-size: 14px;
  font-weight: 600;
  color: #a8c0a4;
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 4px 8px;
}

.lang-switcher-mobile .lang-link:hover {
  color: #ffffff;
}

.lang-switcher-mobile .lang-link.is-active {
  color: #58a36c;
  font-weight: 700;
}

.lang-switcher-mobile .lang-separator {
  color: #a8c0a4;
  font-size: 14px;
  opacity: 0.5;
}


/* ================= SELECTOR DE IDIOMA EN HEADER ================= */
.lang-switcher-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 15px;
}

.lang-switcher-header .lang-link {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 2px 4px;
}

.lang-switcher-header .lang-link:hover {
  color: #ffffff;
}

.lang-switcher-header .lang-link.is-active {
  color: #58a36c;
  font-weight: 700;
}

.lang-switcher-header .lang-separator {
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
}

/* ================= MOBILE: CONTACTO + SELECTOR ================= */
.mobile-contact-lang {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 20px;
}

.mobile-contact-lang .contact-btn {
  margin: 0;
}

.lang-switcher-mobile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switcher-mobile .lang-link {
  font-size: 14px;
  font-weight: 600;
  color: #a8c0a4;
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 4px 8px;
}

.lang-switcher-mobile .lang-link:hover {
  color: #ffffff;
}

.lang-switcher-mobile .lang-link.is-active {
  color: #58a36c;
  font-weight: 700;
}

.lang-switcher-mobile .lang-separator {
  color: #a8c0a4;
  font-size: 14px;
  opacity: 0.5;
}


/* ================= SELECTOR DE IDIOMA EN HEADER ================= */
.lang-switcher-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 15px;
}

.lang-switcher-header .lang-link {
  font-size: 13px;
  font-weight: 300; /* Thin para inactivo */
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.2s ease;
  padding: 2px 4px;
}

.lang-switcher-header .lang-link:hover {
  color: #ffffff;
}

.lang-switcher-header .lang-link.is-active {
  font-weight: 700; /* Negrita para activo */
  color: #ffffff;
}

.lang-switcher-header .lang-separator {
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
}

/* ================= MOBILE: SELECTOR DE IDIOMA ================= */
.lang-switcher-mobile-wrapper {
  align-self: flex-end;
  margin-right: 50px;
  margin-top: 12px;
}

.lang-switcher-mobile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switcher-mobile .lang-link {
  font-size: 14px;
  font-weight: 300; /* Thin para inactivo */
  color: #a8c0a4;
  text-decoration: none;
  transition: all 0.2s ease;
  padding: 4px 8px;
}

.lang-switcher-mobile .lang-link:hover {
  color: #ffffff;
}

.lang-switcher-mobile .lang-link.is-active {
  font-weight: 700; /* Negrita para activo */
  color: #ffffff;
}

.lang-switcher-mobile .lang-separator {
  color: #a8c0a4;
  font-size: 14px;
  opacity: 0.5;
}
/* ============================================
   ESTILOS PARA MENSAJES DEL FORMULARIO
   ============================================ */

/* Contenedor de mensajes */
.mensaje-form {
  padding: 16px 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
  animation: fadeIn 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Mensaje de éxito - Verde acorde a la marca */
.mensaje-success {
  background: linear-gradient(135deg, #d4edda 0%, #c8e6c9 100%);
  border: none;
  border-left: 4px solid #2d5a27;
  color: #1b4332;
}

/* Mensaje de error */
.mensaje-error {
  background: linear-gradient(135deg, #f8d7da 0%, #ffcdd2 100%);
  border: none;
  border-left: 4px solid #c62828;
  color: #721c24;
}

/* Spinner de carga - Verde acorde a la marca */
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(45, 90, 39, 0.2);
  border-top-color: #2d5a27;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Estilos adicionales para el botón deshabilitado */
button[type="submit"]:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Validación de campos */
.contacto__form input:invalid:focus,
.contacto__form textarea:invalid:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.contacto__form input:valid:focus,
.contacto__form textarea:valid:focus {
  border-color: #28a745;
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

