/* ========== GLOBAL STYLES ========== */
* {
  font-family: "Noto Sans", sans-serif;
  font-weight: normal; /* Esto permite usar el 400 como base */
  font-style: normal;
  font-optical-sizing: auto;
}
 b,
 strong,
 h1,
 h2,
 h4,
 h5,
 h6 {
  font-weight: 600;
}

:root {
  --corporate-color-light: #719fca;
  --corporate-color-super-light: #c1daf1;
  --corporate-color-extra-light: #f8f8f8;
  --corporate-color-dark: #2d2960;
  --corporate-color-orange: #ef7744;
  --border-makeup-standart: unset;
  --corpotate-font-color: #5f5e5e;
  --white: #fff;
  --black: #000;
}

body {
  background-image: url("../img/fondo.jpg");
  background-repeat: no-repeat;
  background-size: contain;
  overflow-x: hidden;
}
/* ========== DEVELOPMENT MESSAGE ========== */
#develop {
  font-size: 7pt;
  color: var(--white);
  background: var(--black);
  padding: 20px;
  position: fixed;
  width: 100%;
  display: none;
}
#develop h1 {
  color: white !important;
}
.tel-mob,
.agenda-reunion-btn p,
.hero .corporate-color {
  font-weight: 600;
}
.phone-call-btn .icono {
  align-self: flex-end;
}
/* body {
overflow-x: hidden;
} */
/* ========== LAYOUT CONTAINERS ========== */
.container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  border: var(--border-makeup-standart);
  max-width: 1200px;
  padding: 50px;
  margin: auto;
}
.column {
  flex: 1;
  border: var(--border-makeup-standart);
  padding: 20px;
  border-radius: 6px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.column.icon-box {
  flex: 1 1 calc(33.333% - 42px);
  padding: 5px;
}
.column.foto {
  padding: unset;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 400px;
}

/* ========== BUTTONS ========== */
.buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
}
button {
  flex: 1;
  padding: 20px;
  text-align: center;
  border-radius: 6px;
  min-width: 230px;
  border: unset;
  background-color: unset;
}
button > img {
  width: 25px;
  height: 25px;
  float: left;
}
.icon-container {
  padding: unset;
  min-width: 250px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  font-weight: 600;
}
button p {
  width: calc(100% - 45px);
  float: right;
  text-align: left;
  margin-left: 8px;
}
.phone-call-btn {
  max-width: 100px;
}
.form-button {
  position: relative;
  overflow: hidden;
  background-color: var(--corporate-color-light); /* azul base */
  color: var(--white);
  border: none;
  padding: 14px 24px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 55px;
  max-width: 240px;
  flex: 1;
}

.form-text,
.form-icon {
  position: absolute;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.form-text {
  transform: translateY(0);
  opacity: 1;
  font-size: 12pt;
  font-weight: 600;
}

.form-icon {
  transform: translateY(100%);
  opacity: 0;
  width: 24px;
  height: 24px;
  fill: var(--white);
}
.form-icon > svg {
  width: 24px;
  height: 24px;
}

/* Hover effect */
.form-button:hover {
  background-color: var(--corporate-color-dark); /* azul más oscuro */
}

.form-button:hover .form-text {
  transform: translateY(-150%);
  opacity: 0;
}

.form-button:hover .form-icon {
  transform: translateY(0);
  opacity: 1;
}

/* Click effect */
.form-button:active {
  transform: scale(0.95);
}
/* ========== TYPOGRAPHY ========== */
.corporate-color {
  color: var(--corporate-color-light);
}
h1,
h2 {
  font-size: 3em;
  color: var(--corporate-color-dark);
  text-align: left;
}
h2 {
  font-size: 20pt;
  color: var(--corporate-color-dark);
}
h4 {
  color: var(--corporate-color-orange);
  font-size: 12pt;
  line-height: 22pt;
  width: 100%;
}
.column h4:not(.hero h4) {
  margin-bottom: unset;
}
h5 {
  color: var(--corporate-color-light);
  font-size: 12pt;
  margin-bottom: 25px;
  margin-top: 25px;
}
h6 {
  font-style: italic;
  font-weight: 400;
  color: var(--corporate-color-dark);
  font-size: 13pt;
  line-height: 27pt;
}
p {
  font-size: 11pt;
  color: var(--corpotate-font-color);
  line-height: 17pt;
}
section p {
  width: 100%;
}
p,
h1,
h2,
h2,
h4,
h6 {
  margin-top: 10px;
  margin-bottom: 10px;
}

/* ========== COMPANY LOGO & SOLUTIONS ========== */
.solutions .column.text {
  flex: 4;
  min-width: 300px;
}
.solutions .logo-box {
  flex: 1;
  min-width: 200px;
}
.logo-box .logo {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: 100%;
  margin: auto;
}
.logo-box {
  min-height: 200px;
}

/* ========== ANIMATED COLUMNS & IMAGES ========== */
.column.animated-column {
  overflow: hidden;
  position: relative;
  padding: unset;
  min-height: 400px;
  min-width: 400px;
}
.animated-img {
  height: 100%;
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  transform: translateX(100%);
  opacity: 0;
  transition: transform 1s ease-out, opacity 1s ease-out;
  max-height: 450px;
}
/* Animation states for left/right entry */
[class*="animated-box"] {
  gap: 50px;
}
.animated-box-right .animated-img {
  transform: translateX(100%);
  opacity: 0;
}
.animated-box-left .animated-img {
  transform: translateX(-100%);
  opacity: 0;
}
.animated-img.visible {
  transform: translateX(0);
  opacity: 1;
}
.animated-img.hidden-out {
  opacity: 0;
  transition: transform 0.8s ease, opacity 0.6s ease;
}
.animated-box-right .animated-img.hidden-out {
  transform: translateX(100%);
}
.animated-box-left .animated-img.hidden-out {
  transform: translateX(-100%);
}

/* ========== ICONS ========== */
.icono {
  width: 25px;
  height: 25px;
  padding: 10px;
}
.icon-box .icono {
  background-color: var(--corporate-color-super-light);
  border-radius: 100px;
  outline: 1.5px solid white;
  transition: all 0.4s ease;
}
.icon-box .icono svg {
  width: 100%;
  height: 100%;
  fill: var(--corporate-color-dark);
}
.icon-box:hover .icono {
  background-color: var(--white);
  outline: 1.5px solid var(--corporate-color-dark);
}
.icon-box p {
  font-weight: 600;
  color: var(--corporate-color-dark);
}

.buttons .icono {
  fill: var(--corporate-color-dark);
  float: left;
}

/* ========== PHOTOS ========== */
/* --- FOTO ANIMACIÓN INICIAL --- */
.foto.principal {
  width: 100%;
  height: 473px;
  background-position: bottom;
  background-size: contain;
  background-repeat: no-repeat;
  animation: aparecerDesdeGrande 1s ease-out forwards;
  opacity: 0;
  transform: scale(1.5);
}

@keyframes aparecerDesdeGrande {
  0% {
    opacity: 0;
    transform: scale(1.5);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-svg-anim {
  position: absolute;
  width: 60%;
  height: 60%;
  max-width: 830px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: -1;
  top: -3px;
  opacity: 0;
  transform: scale(1);
  transition: transform 1.2s ease, opacity 1.2s ease;
}

.hero-svg-anim.svg-animacion-activa {
  transform: translateX(150px) scale(0.8);
  opacity: 0.2;
  right: 100px;
}

/* ========== SECTIONS ========== */

.hero {
  text-align: left;
  position: relative;
  /* Fondo SVG decorativo */
  background: var(--white);
  z-index: 1;
  /* overflow: hidden; */
  background: transparent;
}

.call-form {
  align-items: flex-start;
}
.call-form p {
  color: var(--corporate-color-dark);
}
.call-form.container {
  background-color: var(--corporate-color-extra-light);
  border-radius: 14px;
  padding-top: 15px;
  padding-bottom: 0;
}
#servicio{
  margin-bottom: 15px;
}
.call-form.container 
.meeting-form{
  z-index: 0;
}
.call-form.container h3{
  display: none;
}
.reduced-width {
  width: 60%;
}
.banner.container {
  background-color: var(--corporate-color-super-light);
  border-radius: 20px;
  flex-direction: column;
  gap: 10px;
}
.banner.container p {
  color: var(--corporate-color-dark);
}
.banner.container .column {
  text-align: center;
}
.banner.container .column h2 {
  width: 100%;
  text-align: center;
}
.banner.container .buttons {
  max-width: 600px;
  align-self: center;
  /* align-content: center; */
}
.multi-expertise .column.icon-box {
  flex: 1 1 calc(25% - 42px); /* 4 por fila en desktop */
}
.multi-expertise section.contenidor {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 20px;
  padding: 0 50px;
}
.multi-expertise .column.icon-box {
  width: 100%;
  min-width: 0;
  padding: 5px;
  box-sizing: border-box;
}
@media (max-width: 900px) {
  .multi-expertise .contenidor {
    grid-template-columns: repeat(2, 1fr)!important;
    gap: 30px 20!important;
  }
}
.financiation-long-term h5 {
  margin-bottom: unset;
}
.outstanding {
  color: var(--corporate-color-dark);
}
.map-section {
  max-width: 1300px;
  box-shadow: 0 4px 24px rgba(45, 41, 96, 0.08), 0 1.5px 6px rgba(0, 0, 0, 0.04);
  border-radius: 16px;
  padding: unset;
  margin-top: 25px;
  border: 3px solid var(--white);
}
.contacto .call-form.container {
  background-color: transparent;
}
.policy {
  max-width: 770px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== CONTENT BOXES ========== */
.contenidor {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.equipo.container {
  padding-top: unset;
}

/* ========== CONTACT FORM ========== */
.column.form {
  min-width: 400px;
  flex: 1.2;
}
.contact-form {
  background: var(--corporate-color-extra-light);
  padding: 14px;
  padding: 12px;
  border-radius: 12px;
  /* font-family: Arial, sans-serif; */
  width: 100%;
  margin: 0 auto;
}
#contact-popup .contact-form {
  width: auto;
}
#contact-popup > button {
  min-width: unset;
}
.mobile-iOS #contact-popup {
  padding-bottom: 80px;
  padding-top: 20px;
}
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.2rem;
  flex: 1;
}
.call-form.container .form-row, .call-form.container #hora_cita, .call-form.container .checkbox-group{
  margin-bottom: 10px;
}
.call-form.container .form-group:not(#hora_cita):not(.checkbox-group){
  margin-bottom: unset;
}
.form-group input,
.form-group select {
  padding: 0.6rem;
  border: 1px solid var(--corporate-color-super-light);
  border-radius: 8px;
  font-size: 1rem;
  /* --- select custom styles --- */
  background-color: var(--white);
  color: var(--corporate-color-dark);

  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: none;
  cursor: pointer;
  /* font-family: 'Noto Sans', sans-serif; */
}
.form-group select:focus {
  border-color: var(--corporate-color-light);
  box-shadow: 0 0 0 2px var(--corporate-color-super-light);
}
.form-group select option {
  /* background: var(--corporate-color-super-light); */
  color: var(--corporate-color-dark);
  font-weight: 500;
}
/* Custom arrow for select */
.form-group select {
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23719FCA' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5.516 7.548a1 1 0 0 1 1.415 0L10 10.617l3.07-3.07a1 1 0 1 1 1.415 1.415l-3.777 3.778a1 1 0 0 1-1.415 0L5.516 8.963a1 1 0 0 1 0-1.415z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.8em center;
  background-size: 1.2em;
  padding-right: 2.2em;
}
.form-group label {
  margin-bottom: 0.4rem;
  font-weight: 500;
  color: #333;
}
.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}
.checkbox-group a.politica {
  color: var(--corporate-color-orange);
  text-decoration: none;
}
.submit-button {
  background-color: var(--corporate-color-dark);
  color: var(--white);
  font-weight: bold;
  border: none;
  padding: 0.8rem;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 111;
  position: relative;
  margin-top: 10px;
}
.submit-button:hover {
  background-color: var(--corporate-color-light);
}
.form-message {
  margin-top: 10px;
  color: var(--corporate-color-orange);
  font-weight: bold;
  font-size: 1em;
}
/* ========== PARRALLAX ========== */
.parrallax {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: calc(100% - 78px);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  max-width: 100%;
  flex-direction: column;
  text-align: center;
}
/* Capa oscura encima de la imagen */
.parrallax::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #2d3e49;
  opacity: 0.6; /* Puedes ajustar la opacidad */
  z-index: 1;
}
.parrallax .buttons {
  align-items: center;
}
/* Asegúrate de que el contenido esté encima del ::after */
.parrallax > * {
  position: relative;
  z-index: 2;
}
.parrallax h2 {
  width: 100%;
  text-align: center;
}
.parrallax h2,
.parrallax p {
  color: white;
}
.parrallax .column,
.parrallax .buttons {
  max-width: 700px;
  align-self: center;
}
.parrallax .icono {
  fill: white;
}
/* footer */ /* ========== FOOTER ========== */
footer.footer {
  background: #2d2960;
  color: #fff;
  font-size: 1rem;
  margin-top: 40px;
  padding: 0;
  width: 100%;
  box-shadow: 0 -2px 12px rgba(45, 41, 96, 0.07);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  border-bottom: none !important;
}
.footer-content.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 18px 18px 18px;
  padding: 40px;
}
.footer .column {
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0 10px;
}
.footer .logo-section {
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 0;
  padding-bottom: 0;
  gap: 10px;
}
.footer .logo-section .logo {
  margin-bottom: 8px;
  margin-top: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  fill: var(--white);
}
.footer .logo-section p {
  margin: 0 0 8px 0;
  font-size: 1em;
  font-weight: 500;
  color: var(--white);
  flex-direction: column;
}
.footer .social-icons {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 0;
}
.footer .social-icons a svg,
.footer .social-icons svg {
  width: 28px;
  height: 28px;
  fill: #fff;
  transition: fill 0.2s;
}
.footer .social-icons a:hover svg {
  fill: #ef7744;
}
.footer .contact-with-us {
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
}
.footer .contact-with-us h4 {
  margin-bottom: 8px;
  font-size: 1.1em;
  color: #ef7744;
  font-weight: 600;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  font-size: 0.98em;
  line-height: 1.5;
  word-break: break-word;
}
.footer-contact-item .icono {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  padding: 0;
}
.footer-contact-item .icono svg {
  width: 18px;
  height: 18px;
  fill: #fff;
  vertical-align: middle;
}
.footer-contact-item a {
  color: #fff !important;
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.98em;
  word-break: break-word;
}
.footer-contact-item a:hover {
  color: #ef7744 !important;
  text-decoration: underline;
}
.footer-bottom {
  text-align: center;
  margin-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  padding: 14px 10px 10px 10px;
  font-size: 0.93em;
  background: none;
}
.footer-bottom p {
  margin: 0 0 4px 0;
  color: #fff;
  font-size: 0.97em;
}
.footer-bottom a {
  color: #fff;
  text-decoration: none;
  margin: 0 7px;
  transition: color 0.2s;
  font-size: 0.97em;
}
.footer-bottom a:hover {
  color: #ef7744;
  text-decoration: underline;
}
.financiacion-circulante footer, .alternativas-de-financiamiento footer, .soluciones-financieras footer {
  z-index: 1;
}
.column.logo-section,
.column.contact-with-us {
  padding: 0 70px;
}
/* Remove extra white line below footer */
body {
  background-clip: padding-box;
  margin: unset;
}
/* Responsive adjustments */
@media (max-width: 1120px) {
  .footer-content.container {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 50px 100px;
  }
  .footer .column {
    max-width: 100%;
    min-width: 0;
    margin-bottom: 10px;
    padding: 0;
  }
  .footer .logo-section,
  .footer .contact-with-us {
    align-items: center;
    justify-content: flex-start;
  }
  .footer h4 {
    text-align: center;
  }
  .footer .column {
    flex: auto;
  }
  .footer-contact-item.direccion {
    padding: 50px 50px 0px 50px;
    text-align: center;
  }
  .footer-contact-item .icono {
    align-self: flex-start;
    /* margin-top: 11px; */
    position: relative;
    /* top: 50%; */
    /* transform: translateY(-50%); */
  }
}
@media (max-width: 600px) {
  .footer-content.container {
    padding: 18px 2vw 8px 2vw;
  }
  .footer .column {
    padding: 0;
    margin-bottom: 8px;
  }
  .footer .logo-section .logo {
    width: 48px;
    height: 48px;
    fill: var(--white);
  }
  .footer-bottom {
    padding: 10px 2vw 8px 2vw;
    font-size: 0.95em;
  }
  .srategy.container .animated-column{
    display: none;
  }
  .equipo-administrativo .content-box {
    width: 300px!important;
    margin: 0 auto; /* Centrar las tarjetas */
  }
}
@media screen and (min-width: 800px) {
  .animated-img {
    position: relative;
    border-radius: 20px;
  }
  .column.animated-column {
    top: 40px;
  }
}
/* ========== NAVBAR ========== */
.navbar {
  width: 100vw;
  background: var(--corporate-color-dark);
  box-shadow: 0 2px 8px rgb(22 15 81 / 40%);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  margin: 0;
  padding: 0;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.navbar-container {
  max-width: 1340px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 70px;
  height: 70px;
  box-sizing: border-box;
}
.navbar-logo {
  width: 15vw;
  height: 100%;
}

.navbar-logo > svg {
  display: inline-block;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  fill: var(--white);
}
.navbar-menu ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.navbar-menu ul li a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 12pt;
  transition: color 0.2s;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  position: relative;
}
.navbar-menu ul li a:hover,
.navbar-menu ul li a.active {
  border-bottom: none; /* ya no queremos la línea aquí */
  color: var(--corporate-color-super-light);
  position: relative;
}
.navbar-menu ul li a:hover::after,
.navbar-menu ul li a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -19px; /* ajusta este valor según el alto de tu header */
  height: 4px;
  background-color: var(--corporate-color-super-light);
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
  margin-left: 20px;
}
.navbar-toggle span {
  display: block;
  height: 4px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}
.navbar-icon {
  display: flex;
  align-items: center;
  gap: 8px;
}
.navbar-mail svg,
.navbar-tel svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
  display: block;
  transition: fill 0.2s;
}
.navbar-icon:hover svg {
  fill: var(--corporate-color-super-light);
}
@media (max-width: 900px) {
  .navbar-menu ul {
    gap: 18px;
  }
  .hero-svg-anim {
    display: none;
  }
}
@media (max-width: 800px) {
  .hero.container {
    flex-direction: column;
  }
  .animated-img {
    border-radius: 15px;
  }
  .navbar-container {
    padding: 0 15px;
  }
  .navbar-menu {
    position: absolute;
    top: 70px;
    right: 0;
    background: var(--corporate-color-dark);
    width: 100%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateX(100%);
    transition: transform 0.3s;
    z-index: 200;
    padding: 20px 0;
    display: block;
    width: 100%;
    height: 100vh;
  }
  .navbar-menu.active {
    transform: translateX(0);
  }
  .navbar-menu ul {
    flex-direction: column;
    gap: 0;
  }
  .navbar-menu ul li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--corporate-color-dark);
    text-align: right;
    padding: 15px 55px;
  }
  .navbar-menu ul li:last-child {
    border-bottom: none;
  }
  .navbar-toggle {
    display: flex;
  }
  .navbar-toggle span {
    background: var(--white);
  }
  .navbar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
  }
  .navbar-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .navbar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
  }
  body {
    background-size: unset;
  }
  .callme-btn {
    margin-left: 75px !important;
    gap: 0rem !important;
  }
  .navbar-icon {
    align-self: self-end;
  }
  .navbar-link {
    font-size: 21px !important;
    padding: 10px 0;
  }
  .mobile .content-box.show-description .description-hover {
    display: block;
  }
  .mobile .content-box .description-hover {
    display: none;
  }
}
/* Call-to-action button */
.callme-btn {
  display: flex;
  align-items: center;
  background: var(--corporate-color-super-light);
  color: var(--corporate-color-dark);
  padding: 0.5em 1em;
  border-radius: 4px;
  border: none;
  font-weight: 400;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: unset;
  margin-left: 25px;
  z-index: 201;
  gap: 0.5rem;
}
.callme-btn:hover {
  background: linear-gradient(
    90deg,
    #f76b1c,
    #fa6e34
  ); /* reversed gradient on hover */
  color: var(--white);
  transform: scale(1.08);
}
.callme-btn:hover svg {
  fill: var(--white);
}
.navbar-contact-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Icon inside the button */
.phone-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  background-size: contain;
  background-repeat: no-repeat;
  fill: var(--corporate-color-dark);
}

@media (max-width: 800px) {
  .buttons {
    flex-direction: column;
  }
  .multi-expertise .column.icon-box {
    flex: 1 1 calc(50% - 42px);
  }
  .financiation .buttons {
    flex-direction: row;
  }
  .phone-call-btn {
    min-width: 280px;
  }
  .digital-solution .column:last-child {
    justify-content: center !important;
  }
  .multi-expertise .contenidor {
    gap: 20px;
  }
  .icon-container.phone-call-btn {
    min-width: unset;
    max-width: unset;
  }
}
@media (max-width: 993px) {
  .hero-svg-anim {
    top: unset;
  }
  .navbar-menu ul li a {
    font-size: 12px;
  }
}
@media (max-width: 775px) {
  .column.logo-section {
    align-items: center;
    text-align: center;
  }
  .contact-with-us {
    flex-direction: column;
    align-items: center;
  }
  .contact-with-us h4 {
    text-align: center;
  }
}
@media (max-width: 600px) {
  section {
    padding: 10px !important;
  }
  .hero > .column {
    max-width: 100%;
  }
  .hero > h1 {
    font-size: 30pt;
  }
  .corporate-color {
    position: relative;
    display: flex;
    max-width: 100%;
  }
  .column.form {
    min-width: unset;
    flex: 1;
  }
  .reduced-width {
    max-width: unset;
    width: unset;
  }
  .parrallax {
    width: calc(100vw - 20px);
  }
  .column.animated-column {
    min-width: unset;
  }
  .column.icon-box {
    flex: 1 1 calc(50% - 42px);
    padding: 5px;
  }
  .digital-solution .content-box {
    text-align: center !important;
  }
  .hero h1 {
    font-size: 2em;
  }
  .foto.principal {
    height: 300px;
  }
}
/* ========== BUTTONS PANEL ========== */
.buttons-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  margin: 0 auto;
  max-width: 700px;
}

.buttons-panel .buttons {
  justify-content: center;
  align-items: center;
  width: 100%;
  display: flex;
  gap: 20px;
}
/* ========== DIGITAL SOLUTION ========== */

.digital-solution {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 50px;
  gap: 0px;
}

.digital-solution h2 {
  width: 100%;
  margin-bottom: 20px;
  text-align: center;
}

.digital-solution h4.title {
  color: var(--corporate-color-light);
}

.digital-solution .column:first-child {
  text-align: center;
}

.digital-solution .column:last-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 40px;
  max-width: 1200px;
  /* margin-top: 30px; */
}

.digital-solution .content-box {
  flex: 1 1 calc(33.333% - 40px); /* 3 por fila */
  min-width: 250px;
  max-width: 360px;
  text-align: left;
}

.digital-solution .content-box h4 {
  font-size: 14pt;
  font-weight: bold;
  margin: 0;
  margin-bottom: 25px;
  transition: color 0.3s;
}
.digital-solution .content-box b {
  transition: color 0.3s;
}

.digital-solution .content-box:hover b {
  color: var(--corporate-color-orange);
}

.digital-solution .content-box b {
  margin-top: 10px;
}

/* ========== EQUIPO SECTION ========== */
.equipo {
  flex-direction: column;
}
.equipo .column {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  text-align: center;
}

.equipo .content-box {
  position: relative;
  width: 300px;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.equipo .content-box:hover {
  transform: translateY(-5px);
}

.equipo-administrativo .content-box {
  width: 220px;
}

.equipo .foto {
  width: 100%;
  height: 350px;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%);
}

.equipo h4 {
  font-weight: 700;
  color: #1d1c3b;
  margin: 10px 0 0;
  text-transform: uppercase;
}

.equipo p:not(.description-hover > p) {
  margin: 5px 0 15px;
  color: #444;
}
.equipo .description-hover > p {
  color: var(--white);
}

/* ========== CONTENT BOXES WITH HOVER DESCRIPTION ========== */

/* Descripción oculta por defecto */
.description-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  height: 100%;
  background-color: #1d1c3b;
  color: var(--white);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  text-align: left;
  font-size: 0.95rem;
}

/* Mostrar al hacer hover */
.content-box:hover .description-hover {
  opacity: 1;
}

/* Mobile: mostrar descripción al hacer tap/clic (requiere JS para añadir la clase .show-description) */
@media (max-width: 800px) {
  .content-box.show-description .description-hover {
    opacity: 1;
    pointer-events: auto;
    /* Opcional: puedes añadir un fondo más oscuro si lo deseas */
  }
  .description-hover {
    cursor: pointer;
  }
}

/* Mueve hacia abajo el primer section del body para dejar espacio al header fijo */
body > section:nth-of-type(1) {
  margin-top: 80px;
}

/* ========== MEDIA QUERIES ========== */
@media (max-width: 1200px) {
  .column {
    flex: 1 1 calc(50% - 42px);
  }
  .column.foto {
    min-width: unset;
    max-width: 100%;
  }
  .financiation.container {
    flex-wrap: wrap-reverse;
  }
  .financiation .buttons {
    width: 100%;
  }
  .equipo-financiero-row {
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
  }
}
@media (max-width: 992px) {
  .equipo-financiero-row {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}
/* Popup formulario contacto */
#contact-popup-overlay {
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
#contact-popup-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
#contact-popup {
  animation: popup-fade-in 0.25s;
  transition: transform 0.3s, opacity 0.3s;
  transform: scale(1);
  opacity: 1;
  margin: 10px;
  max-height: calc(100vh - 100px); /* Screen height minus top and bottom margins */
  overflow-y: auto; /* Enable vertical scrolling */
  margin: 25px auto; /* Top and bottom margins */
}
#contact-popup.closing {
  transform: scale(0.95);
  opacity: 0;
}
#contact-popup .form-row {
  gap: 0px;
}
#contact-popup .form-group {
  margin-bottom: 10px;
}
/* Custom styles for the popup */
#contact-popup h3{
  margin-top: unset;
  padding: 0 15px;
  color: var(--corporate-color-dark);
}

@keyframes popup-fade-in {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
#contact-popup button[style*="position: absolute"] {
  color: #888;
  transition: color 0.2s;
}
#contact-popup button[style*="position: absolute"]:hover {
  color: var(--corporate-color-orange);
}
.agenda-reunion-btn {
  flex: 2;
}
.icon-container.agenda-reunion-btn:hover p {
  color: var(--corporate-color-light);
}
.icon-container.agenda-reunion-btn:hover svg {
  fill: var(--corporate-color-light);
  transition: fill 0.25s;
}
/* Nav bar */
.navbar-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  gap: 6px;
  flex: unset;
  min-width: unset;
}
.navbar-toggle span {
  display: block;
  height: 4px;
  width: 100%;
  background: var(--corporate-color-light);
  border-radius: 2px;
  transition: all 0.3s;
}
/* Opcional: animación al activar */
.navbar-toggle.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.navbar-toggle.active span:nth-child(2) {
  opacity: 0;
}
.navbar-toggle.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* Ocultar el botón en escritorio */
@media (min-width: 800px) {
  .navbar-toggle {
    display: none;
  }
}
.contact-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(45, 41, 96, 0.7);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.contact-popup-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.contact-popup {
  background: var(--white);
  padding: 40px 10px 10px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  position: relative;
  max-width: 400px;
  width: 100%;
  animation: popup-fade-in 0.25s;
  transition: transform 0.3s, opacity 0.3s;
  transform: scale(1);
  opacity: 1;
}
.contact-popup.closing {
  transform: scale(0.95);
  opacity: 0;
}
@keyframes popup-fade-in {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.contact-popup-close {
  position: absolute;
  top: -6px;
  right: 7px;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #888;
  transition: color 0.2s;
  width: 40px;
  height: 40px;
  z-index: 100;
  /* Elimina cualquier texto interno */
  overflow: hidden;
}
.contact-popup-close::after {
  content: "\00D7";
  display: block;
  font-size: 2.2rem;
  color: #888;
  line-height: 40px;
  text-align: center;
  /* font-family: Arial, Helvetica, sans-serif; */
  pointer-events: none;
  position: relative;
  top: -10px;
}
.contact-popup-close:hover,
.contact-popup-close:focus {
  color: var(--corporate-color-orange);
}
.contact-popup-close:hover::after,
.contact-popup-close:focus::after {
  color: var(--corporate-color-orange);
}
/* Estilo de la barra de scroll completa */
::-webkit-scrollbar {
  width: 10px; /* ancho vertical */
  height: 10px; /* alto horizontal */
}

/* Fondo de la barra */
::-webkit-scrollbar-track {
  background: var(--corporate-color-extra-light);
  border-radius: 10px;
}

/* Color del "pulgador" (la parte que se mueve) */
::-webkit-scrollbar-thumb {
  background: var(--corporate-color-dark); /* color principal */
  border-radius: 10px;
}

/* Al pasar el ratón sobre el pulgador */
::-webkit-scrollbar-thumb:hover {
  background: var(--corporate-color-dark);
}
.enviando-anim {
  background: var(--corporate-color-dark) !important;
  color: var(--white) !important;
  position: relative;
  font-weight: bold;
  z-index: 99999;
  position: relative;
}
.enviando-dots {
  display: inline-block;
  margin-left: 2px;
  letter-spacing: 1px;
}
.enviando-dots span {
  display: inline-block;
  opacity: 0.2;
  font-weight: bold;
  font-size: 1.2em;
  transition: opacity 0.2s;
  animation: enviando-dot-blink 1.2s infinite;
}
.enviando-dots span:nth-child(1) {
  animation-delay: 0s;
}
.enviando-dots span:nth-child(2) {
  animation-delay: 0.2s;
}
.enviando-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes enviando-dot-blink {
  0%,
  80%,
  100% {
    opacity: 0.2;
  }
  40% {
    opacity: 1;
  }
}
.form-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  z-index: 10;
  border-radius: 12px;
  pointer-events: all;
  transition: opacity 0.2s;
}
/* Para asegurar que el overlay se muestre correctamente */
.contact-form {
  position: relative;
  /* ...existing code... */
}
.checkbox-group {
  float: left;
  margin-bottom: 5px;
}

/* ==== Custom Checkbox Styles for Contact Forms ==== */
.contact-form .checkbox-group {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.95rem;
  margin-bottom: 5px;
  float: left;
}

.contact-form .checkbox-group input[type="checkbox"] {
  /* Hide default checkbox */
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  margin: 0 8px 0 0;
  font: inherit;
  width: 20px;
  height: 20px;
  border: 2px solid var(--corporate-color-light);
  border-radius: 5px;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.contact-form .checkbox-group input[type="checkbox"]:checked {
  background-color: var(--corporate-color-light);
  border-color: var(--corporate-color-light);
}

.contact-form .checkbox-group input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid var(--white);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
  display: block;
}

.contact-form .checkbox-group input[type="checkbox"]:focus {
  box-shadow: 0 0 0 2px var(--corporate-color-super-light);
  border-color: var(--corporate-color-dark);
}

.contact-form .checkbox-group label {
  /* display: flex; */
  align-items: center;
  gap: 0.5rem;
  font-weight: 400;
  margin-bottom: 0;
  cursor: pointer;
}

.contact-form .checkbox-group a.politica {
  color: var(--corporate-color-orange);
  text-decoration: none;
}

.contact-form .checkbox-group a.politica:hover {
  text-decoration: underline;
}
.contact-form .form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* Forzar una sola columna en formularios en móviles iOS (iPhone/iPad) */
@media only screen and (max-width: 600px) and (orientation: portrait) {
  .contact-form .form-row {
    flex-direction: column !important;
  }
}
.cookies_config{
  cursor: pointer;
  hyphens: auto;
  word-break: break-word;
}
@media (max-width: 768px) {
  .equipo-financiero-row {
    flex-direction: column!important;
    align-items: center!important;
    gap: 20px!important;
  }
}
.equipo-financiero-row {
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 30px;
}
.equipo-financiero-row:first-child {
  gap: 0;
}