@import "https://s3.eu-west-1.amazonaws.com/cdn.ecixgroup.com/icons/fonts/ecix-icons.css";
@import "sizes.css";

[class^="icon-"],
[class*=" icon-"] {
  font-size: 23px;
}

:root {
  --c-green: #00B4B0;
  --c-yellow: #fcc900;
  --c-orange: #fb8225;
  --c-red: #f14b47;
  --c-white: #ffffff;
  --c-blue: #99d4ff;
  --primary: #00B4B0;
  --bs-primary: #00B4B0;
  --c-primarylight: #00FFFF;
  --primarylight: #00B4B0;
  --primarylightalert: #00B4B0;
  --secondary: #009692;
  --secondaryhunter-lighter: #AEC2B1;
  --secondary-superlighter: #f8f9f8;
  --main-bg-color: #214555;
  --grey-lighter: #ededed;
  --grey-light: #cccccc;
  --grey-light-soft: #f6f6f6;
  --bs-success-light: #e8fff3;
  --primarygreen-soft: #dbf0de;
  --primaryblue-soft: #f1f9ff;
  --primaryblue-dark: #001e32d9;
  --c-yellow-light: #ffe9ad;
  --c-orange-light: #fff5ed;
  --c-orange-lighter: #ffd09e;
  --c-danger-light: #f8e1e1;
  --hunter-soft: #d1ded3;
  --bs-gray-400: #b5b5c3;
  --bs-accordion-active-bg: #f9f9f9;
  --dark-primary: #626262;
  --bg-fondo: #F7F7F7;
  --bg-fondo-green-hover: #D9FFFE;
}


.ecix_shadow {
  box-shadow: 4px 4px 16px 0px rgba(0, 0, 0, 0.08);
}



/* --- Landing homologacionproveedores --- */
body {
  font-family: 'IBM Plex Sans', Arial, sans-serif;
}

/* Colores azules de la landing */
.c-hBlue {
  color: var(--c-primarylight);
}

.text-c-blue {
  color: var(--primary) !important;
}

.bg-fCirle-blue {
  background-color: var(--primary) !important;
}

.text-dark-blue {
  color: var(--main-bg-color);
}

a.c-hBlue:hover {
  color: var(--c-primarylight) !important;
}

.bg-fondo {
  background-color: var(--bg-fondo) !important;
}

.border-hBlue {
  border-color: var(--c-primarylight) !important;
}

.border-2 {
  border-width: 2px !important;
}

.form-check-input:checked {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
}

/* Navbar glass effect */
.navbar {
  background: rgba(0, 0, 0, 0.7) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Hero */
/* .hero {
  min-height: 90vh;
  background:
    linear-gradient(to bottom, rgba(0, 30, 50, 0.85) 0%, rgba(0, 90, 120, 0.85) 100%),
    url("/img/homologacion_proveedores/Imagen2.jpg") no-repeat center center/cover;
  padding-top: 120px;
  padding-bottom: 60px;
} */

.hero {
  min-height: 100vh;
  background:
    linear-gradient(to bottom, rgba(0, 30, 50, 0.05) 0%, rgba(0, 90, 120, 0.05) 100%),
    url("/img/homologacion_proveedores/fondo-2.png") no-repeat center center/cover;
  padding-top: 120px;
  padding-bottom: 60px;
}


.btn-primary-hBlue {
  color: white;
  border-color: var(--primary);
  background-color: var(--primary);
}

.btn-primary-hBlue:hover,
.btn-primary-hBlue:active {
  color: white;
  border-color: var(--secondary) !important;
  background-color: var(--secondary) !important;
}

#condiciones:checked,
.color-check:checked {
  background-color: var(--c-primarylight);
  border-color: var(--c-primarylight);
}

.highlight_p {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  /* espacio para que no tape el texto */
}

.highlight-svg {
  height: 40px;
}

.highlight-svg path {
  stroke: #00FFFF;
  /* color cyan */
  stroke-width: 6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;

  /* animación */
  stroke-dasharray: 600;
  /* longitud aproximada del path */
  stroke-dashoffset: 600;
  animation: draw-line 2s ease forwards;
}

@keyframes draw-line {
  to {
    stroke-dashoffset: 0;
  }
}

/* Form box */
.form-box h2 {
  font-size: 1.2rem;
}

/* Formulario flotante entre hero y siguiente sección */
#formulario {
  position: absolute;
  top: 370px;
  /* baja un poco desde arriba */
  right: 300px;
  /* separa del borde derecho */
  width: 420px;
  /* ancho fijo */
  z-index: 10;
}

.hero::before,
.hero .overlay {
  pointer-events: none;
}


.hero::before {
  pointer-events: none;
}

#formulario .form-card {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  border-radius: 8px;
}


/* Ajustes cards y pasos */
#dirigido .card img {
  height: 180px;
  object-fit: cover;
}

#funciona .display-6 {
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  background: #f90;
  color: #fff;
}


/*Estilos carrousel capturas*/
/* Ajuste de tamaño de imagen responsive */
.carousel-img {
  /*width: 60%; reduce un poco el tamaño de la imagen */
  /*max-width: 500px;  límite máximo para escritorio */
  margin: 0 auto;
  /* centra la imagen */
  /* height: 250px; altura móvil */
  object-fit: cover;

}

.custom-prev-icon svg,
.custom-next-icon svg {
  width: 50px;
  /* tamaño de la flecha */
  height: 50px;
}

/* Flechas más grandes y visibles */
.custom-carousel-icon {
  width: 50px;
  height: 50px;
  background-size: 100%, 100%;
}

/* Opcional: mejora contraste de indicadores inferiores */
.carousel-indicators [data-bs-target] {
  background-color: var(--main-bg-color);
  width: 12px;
  height: 12px;
}

/*Fin estilos carrousel capturas*/


/* Timeline vertical */
.timeline {
  position: relative;
  margin-left: 40px;
  /* espacio para la línea */
  padding-left: 20px;
}

/* Línea vertical */
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  /* coincide con el centro del icono */
  width: 2px;
  height: 100%;
  background: #ddd;
}

/* Cada paso */
.timeline-step {
  position: relative;
  margin-bottom: 40px;
}

/* Icono (círculo) */
.timeline-icon {
  position: relative;
  z-index: 1;
  margin-right: 20px;
}

.timeline-icon span {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: #f90;
  /* color del círculo */
  color: #fff;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  font-weight: bold;
  position: relative;
  left: -40px;
  /* alinea con la línea */
}

/* Contenido a la derecha */
.timeline-content {
  background: transparent;
}



html {
  scroll-behavior: smooth;
}


/*estilos tarjetas jiratorias*/
.flip-card {
  perspective: 1000px;
  height: 300px;
  /* define una altura */
}



.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 0.5rem;
  overflow: hidden;
}

/* Cara frontal con imagen + blur */
.flip-card-front {
  background-size: cover;
  background-position: center;


  padding-bottom: 1rem;
  /* separación del borde inferior */
}

/* desactivar pseudo elemento blur si no lo quieres */
.flip-card-front::before {
  content: none;
}


/* Cara trasera */
.flip-card-back {
  background-color: #042433;
  color: #ffffff;
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}


/* Stepper: nodos a la izquierda y contenidos a la derecha (sin desbordes) */
/* Contenedor de cada paso */
.stepper .step-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

/* Nodo */
.step-node {
  flex: 0 0 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Anillo exterior */
.step-outer {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px dashed var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  box-sizing: border-box;
}

/* Círculo interior */
.step-inner {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* Conector vertical */
.step-node::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 60px;
  width: 2px;
  height: calc(100% + 1rem);
  border-left: 2px dashed var(--primary);
}

.step-row:last-child .step-node::after {
  display: none;
}

/* Contenido de cada paso */
.step-content {
  flex: 1;
  padding-left: 20px;
  min-width: 0;
  word-break: break-word;
}

/* Títulos y textos */
.step-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  color: var(--primary);
}

.step-content div {
  font-size: 1rem;
  color: #333;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
  background-color: var(--primary) !important;
  color: white;
}

.nav-pills .nav-link {
  background-color: var(--secondary-hover) !important;
  color: var(--main-bg-color);
}


.bg-hCircle-green {
  background-color: var(--secondary) !important;
}

/* Para todas las secciones ancladas */
section[id] {
  scroll-margin-top: 120px;
  /* iguala la altura de tu navbar + margen */
}


.green-block {
  background-color: rgb(84, 158, 94);
  /* verde del path */
  padding: 60px 0;
  text-align: center;
}

.green-icon {
  width: 100px;
  max-width: 100%;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.green-icon:hover {
  transform: translateY(-10px) scale(1.1);
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.3));
}

.green-block a {
  display: inline-block;
  margin: 10px;
}

.bg-green-layer1 {
  background-color: #d4f4dd;
  z-index: 1;
}

.bg-green-layer2 {
  background-color: #a1e3a0;
  z-index: 1;
}

.bg-green-layer3 {
  background-color: #6fd66a;
  z-index: 1;
}

/* Asegúrate que las capas no cubran los iconos */
#icons .container {
  position: relative;
  z-index: 2;
}

/* Contenedor recortado */
.moving-images {
  overflow: hidden;
}

/* Animación: aparecer desde dentro y desaparecer */
.moving-images img {
  position: relative;
  opacity: 0;
  animation-name: slideInFadeInside;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

/* Ritmos independientes */
.moving-images img.img-1 {
  animation-duration: 4s;
}

.moving-images img.img-2 {
  animation-duration: 6s;
  animation-delay: 0.8s;
}

/* Keyframes: desde un poco a la izquierda dentro de la caja → posición original → desaparecer */
@keyframes slideInFadeInside {
  0% {
    transform: translateX(-20%);
    opacity: 0;
  }

  50% {
    transform: translateX(0);
    opacity: 1;
  }

  100% {
    transform: translateX(0);
    opacity: 0;
  }
}


/*Estilos banner*/

/* Contenedor del marquee */
.logo-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* Track con los logos */
.logo-track {
  display: flex;
  width: calc(200%);
  /* el doble porque repetimos logos */
  animation: scrollLogos 25s linear infinite;
  /* velocidad */
}

/* Logos */
.logo-track .logo-img {
  max-height: 70px;
  margin: 0 40px;
  /* separación entre logos */
  flex-shrink: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo-track .logo-img-small {
  max-height: 55px;
  margin: 0 40px;
  /* separación entre logos */
  flex-shrink: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo-track .logo-img:hover {
  transform: scale(1.08);
  opacity: 0.9;
}

/* Animación: desplazar a la izquierda */
@keyframes scrollLogos {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
    /* desplaza la mitad porque repetimos logos */
  }
}



/*Estilos footer*/
/* Bloque de logos destacado */
.partner-block {
  background: rgba(255, 255, 255, 0.65);
  /* fondo ligeramente más claro */
  border-radius: 0.75rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  display: inline-flex;
  /* ancho ajustado al contenido */
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;


  width: 90%;
  /* ancho relativo al contenedor */
  max-width: 900px;
  /* no crecer más de 800px */
}

/* Logos */
.partner-logo {
  max-height: 50px;
  transition: transform 0.3s ease;
}

.partner-logo:hover {
  transform: scale(1.1);
}



.bg-dark-footer {
  background-color: var(--primaryblue-dark);
}

/*Fin estilos footer*/


/*Estilos responsive*/
/* Responsive: mobile y tablet */
@media (max-width: 1440px) {
  #formulario {
    position: absolute;
    top: 370px;
    /* baja un poco desde arriba */
    right: 50px;
    /* separa del borde derecho */
    width: 420px;
    /* ancho fijo */
    z-index: 10;
  }
}

@media (max-width: 1350px) {
  #formulario {
    position: absolute;
    top: 310px;
    /* baja un poco desde arriba */
    right: 50px;
    /* separa del borde derecho */
    width: 420px;
    /* ancho fijo */
    z-index: 10;
  }
}

@media (max-width: 1200px) {
  #formulario {
    position: absolute;
    top: 275px;
    /* baja un poco desde arriba */
    right: 50px;
    /* separa del borde derecho */
    width: 420px;
    /* ancho fijo */
    z-index: 10;
  }
}

@media (max-width: 1024px) {
  #formulario {
    position: absolute;
    top: 300px;
    /* baja un poco desde arriba */
    right: 50px;
    /* separa del borde derecho */
    width: 420px;
    /* ancho fijo */
    z-index: 10;
  }
}

@media (max-width: 992px) {
  #formulario {
    position: static;
    width: 100%;
    margin-top: 20px;
    /* ya no flota */
  }

  .hero {
    text-align: center;
    padding-top: 100px;

    background:
      linear-gradient(to bottom, rgba(0, 30, 50, 0.7) 0%, rgba(0, 90, 120, 0.7) 100%),
      url("/img/homologacion_proveedores/fondo-2.png") no-repeat center center/cover;
  }

  .fs-hrem {
    font-size: 1.6rem !important;
  }

  .tabs {
    margin-bottom: 0.5rem !important;
    width: 100% !important;
  }
}

@media (max-width: 991.98px) {
  .stepper .step-row {
    flex-direction: row;
    align-items: flex-start;
  }

  .step-node {
    flex: 0 0 50px;
  }

  .step-content {
    padding-left: 15px;
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .hero {
    background:
      linear-gradient(to bottom, rgba(0, 30, 50, 0.7) 0%, rgba(0, 90, 120, 0.7) 100%),
      url("/img/homologacion_proveedores/fondo-2.png") no-repeat center center/cover;
  }

  section.hero {
    width: 100%;
  }

  .logo-track .logo-img-small {
    max-height: 40px;
    margin: 0 40px;

  }

  .logo-track .logo-img {
    max-height: 60px;
    margin: 0 20px;
  }

  .logo-track .logo-img-small {
    max-height: 40px;
    margin: 0 40px;

  }


  .partner-block {
    padding: 2rem 1rem;
  }

  .partner-logo {
    max-height: 40px;
  }
}

@media (max-width: 576px) {
  .hero {
    background:
      linear-gradient(to bottom, rgba(0, 30, 50, 0.7) 0%, rgba(0, 90, 120, 0.7) 100%),
      url("/img/homologacion_proveedores/fondo-2.png") no-repeat center center/cover;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .logo-track .logo-img-small {
    max-height: 40px;
    margin: 0 40px;

  }

  .timeline {
    margin-left: 0;
    padding-left: 0;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-icon span {
    left: 0;
    margin-bottom: 10px;
  }

  .timeline-step {
    flex-direction: column;
    align-items: flex-start;
  }

  .timeline-content {
    margin-left: 40px;
  }
}

@media (max-width: 575.98px) {
  .stepper .step-row {
    flex-direction: row;
    align-items: flex-start;
  }

  .step-node {
    flex: 0 0 40px;
  }

  .step-inner {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }

  .step-content {
    padding-left: 10px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .partner-logo {
    max-height: 35px;
  }

  .fs-7 {
    font-size: 0.75rem;
  }

  .logo-track .logo-img-small {
    max-height: 40px;
    margin: 0 40px;

  }
}