/* FUENTES */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

/* RoobertPRO Bold */
@font-face {
  font-family: 'RoobertPRO';
  src: url('../fonts/RoobertPRO-Bold.woff2') format('woff2'),
       url('../fonts/RoobertPRO-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}

/* RoobertPRO Medium */
@font-face {
  font-family: 'RoobertPRO';
  src: url('../fonts/RoobertPRO-Medium.woff2') format('woff2'),
       url('../fonts/RoobertPRO-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
}

/* RoobertPRO Regular */
@font-face {
  font-family: 'RoobertPRO';
  src: url('../fonts/RoobertPRO-Regular.woff2') format('woff2'),
       url('../fonts/RoobertPRO-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

/* RoobertPRO Light */
@font-face {
  font-family: 'RoobertPRO';
  src: url('../fonts/RoobertPRO-Light.woff2') format('woff2'),
       url('../fonts/RoobertPRO-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
}



body {
  margin: 0;
  font-family: 'RoobertPRO', sans-serif;
  background-color: #0e0b40;
  color: #fff;
}

.my-6 {
  margin-top: 4rem !important;
  margin-bottom: 4rem !important;
}
.py-6 {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

.cabecera-simple {
  background-color: #fff;
  padding: 20px 0;
}

.contenedor-cabecera {
  margin: 0 auto;
  padding: 0 40px;
}

.logo-cabecera img {
  height: 32px;
  width: auto;
  display: block;
}

/* SECCIÓN HERO */
.hero-landing {
  width: 100vw;
  overflow: hidden;
  background-color: #0e0b40;
  padding: 0;
  margin: 0;
}

.hero-img {
  width: 100vw;
  max-width: 100%;
  overflow: hidden;
}

.hero-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.hero-img .credit {
  position: absolute;
  bottom: 10px;
  right: 20px;
  font-size: 12px;
  color: #ccc;
  z-index: 2;
}
/* FIN SECCIÓN HERO */


/* MODULO PRESENTACION */
.modulo-presentacion {
  background-color: #fff;
  color: #0e0b40;
  padding: 80px 20px;
  text-align: left;
}

.contenedor-presentacion {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 40px 80px 40px;
}

.contenedor-presentacion h2 {
  font-size: 50px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 10px;
	color: #1b105d;
}

.contenedor-presentacion h2 .online {
  color: #e7007c;
  font-weight: 600;
	font-size: 36px;
}

.subtitulo {
  font-size: 29px;
  color: #1b105d;
  margin-bottom: 30px;
  font-weight: 600;
}
.subtitulo span {
    color: #e7007c;
}

/* Logos oficiales */
.logos-oficiales {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-bottom: 40px;
}

.logos-oficiales img {
  height: 38px;
  object-fit: contain;
}

.titulo-objetivo {
  font-size: 20px;
  font-weight: 600;
  color: #1b105d;
  margin-bottom: 25px;
  margin-top: 30px;
}

/* Texto en 2 columnas */
.texto-dos-columnas {
  columns: 2;
  column-gap: 60px;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 50px;
}

.texto-dos-columnas p {
  margin-bottom: 20px;
  margin-top: 0px;
  break-inside: avoid;
	color: #1b105d;
}

/* Licencias incluidas */
.licencias p {
  font-size: 14px;
  color: #999;
  margin-bottom: 15px;
  font-weight: bold;
}

.logos-licencias {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.logos-licencias img {
  height: 32px;
  object-fit: contain;
}

/* Responsive */
@media (max-width: 768px) {
  .texto-dos-columnas {
    columns: 1;
  }

  .modulo-presentacion h2 {
    font-size: 28px;
  }

  .logos-oficiales,
  .logos-licencias {
    justify-content: center;
  }
}
/* FIN MODULO PRESENTACION */


.bloque-flex-general {
  display: flex;
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: #fff;
}

.contenedor-flex {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  align-items: stretch;
}

/* IZQUIERDA */
.modulo-presentacion {
  flex: 0 0 60%;
  padding: 0px 0px 80px 0px;
  background-color: #fff;
  box-sizing: border-box;
  max-width: 60%;
}

/* DERECHA - fondo azul hasta el borde */
.formulario-lateral {
  flex: 1;
  background-color: #1b105d;
  padding: 0px 30px 80px 30px;
  box-sizing: border-box;
  position: relative;
}

.formulario-wrapper {
  position: sticky;
  top: 40px; /* 👈 margen desde el top al hacer scroll */
  padding: 40px 30px;
  border-radius: 10px;
  color: #fff;
  width: 100%;
  max-width: 400px;
}


/* Formulario interno igual que antes */
.formulario-wrapper h3 {
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 30px;
}

.formulario-wrapper form input,
.formulario-wrapper form textarea {
  width: 100%;
  margin-bottom: 15px;
  padding: 12px 15px;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
}

.formulario-wrapper form textarea {
  resize: vertical;
  height: 100px;
}

.formulario-wrapper form label {
  font-size: 13px;
  color: #ccc;
  display: block;
  margin-bottom: 20px;
}

.formulario-wrapper form label input {
	width: auto;
	margin: 0px 5px 0px 0px;
}

.formulario-wrapper form button {
  background-color: #e7007c;
  color: #fff;
  border: none;
  padding: 14px 20px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  width: 100%;
}

.formulario-wrapper form button:hover {
  background-color: #cf006f;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .bloque-flex-general {
    flex-direction: column;
  }

  .modulo-presentacion,
  .formulario-lateral {
    max-width: 100%;
    flex: 1 1 100%;
    padding: 60px 0px;
  }

  .formulario-wrapper {
    max-width: 100%;
  }

	.formulario-wrapper {
		padding: 40px;
	}
}



.modulo-metodologia {
  background-color: #fff;
  color: #0e0b40;
  padding: 80px 40px;
}

.contenedor-metodologia {
  max-width: 1200px;
  margin: 0 auto;
}

.titulo-metodologia {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 50px;
  text-transform: uppercase;
  color: #0e0b40;
  position: relative;
}

.subrayado-azul {
  display: inline-block;
  width: 60px;
  height: 4px;
  background-color: #394094;
  vertical-align: middle;
  margin-right: 10px;
  position: relative;
  top: -2px;
}

.grid-metodologia {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
}

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

.item-metodologia img {
  height: 48px;
  width: auto;
  margin-bottom: 30px;
}

.item-metodologia h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #394094;
}

.item-metodologia p {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
}

/* Imagen decorativa encima del título */
.lineas-titulo {
  width: 204px;
  height: auto;
  display: block;
  margin-bottom: 25px;
}

/* Título */
.titulo-metodologia {
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  text-transform: uppercase;
  color: #1b105d;
}


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

@media (max-width: 576px) {
  .grid-metodologia {
    grid-template-columns: 1fr;
  }
}





.modulo-beneficios {
  background-color: #fff;
  color: #394094;
  padding: 70px 40px 40px 40px;
}

.contenedor-beneficios {
  max-width: 1200px;
  margin: 0 auto;
}

.titulo-beneficios {
  font-size: 50px;
  text-align: left;
  margin-bottom: 60px;
  font-weight: 700;
  color: #1b105d;
}

.grid-beneficios {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.beneficio {
  background-color: #f8f9fc;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  padding: 30px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.beneficio:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.beneficio-columna-icono {
  flex: 0 0 60px;
}

.beneficio-columna-icono img {
  height: 48px;
  width: auto;
}

.beneficio-columna-texto {
  flex: 1;
}

.beneficio-columna-texto h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  margin-top: 0px;
}

.beneficio-columna-texto p {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
  .grid-beneficios {
    grid-template-columns: 1fr;
  }

  .titulo-beneficios {
    font-size: 22px;
  }
}




.modulo-portfolio {
  background-color: #1b105d;
  color: #fff;
  padding: 50px 20px 80px 20px;
}

.contenedor-portfolio {
  max-width: 1400px;
  margin: 0 auto;
}

.portfolio-subtitulo {
  text-transform: uppercase;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 10px;
  font-weight: bold;
}

.portfolio-titulo {
  font-size: 50px;
  font-weight: 700;
  margin-bottom: 3rem;
  margin-top: 3rem;
  padding-bottom: 1rem;
}

/* Scroll horizontal */
.galeria-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
  cursor: grab;
}

.galeria-scroll.active {
  cursor: grabbing;
}

.galeria-scroll a {
  flex: 0 0 auto;
  scroll-snap-align: start;
  border-radius: 10px;
  overflow: hidden;
  width: 320px;
  height: 200px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s;
}

.galeria-scroll a:hover {
  transform: scale(1.03);
}

.galeria-scroll img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

/* Quita scrollbars en navegadores */
.galeria-scroll::-webkit-scrollbar {
  display: none;
}

.galeria-scroll {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Responsive */
@media (max-width: 992px) {
  .modulo-portfolio {
	  padding: 50px 40px 80px 40px;
	}
}





.footer-tfs {
  background-color: #1b105d;
  color: #d4ff3f; /* verde neón */
  padding: 60px 20px;
  font-size: 14px;
}

.footer-contacto .img1 {
    width: 18px;   
}

.footer-contacto .img2 {
    width: 15px;  
    margin: 0px 2px 0px 0px;
}

.footer-contacto .img3 {
    width: 15px;
    margin: 0px 2px 0px 0px;
}

.footer-wrapper {
  max-width: 60%;
  margin: 0px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  align-items: center;
  padding: 0px 40px;
}

.footer-logo img {
  width: 160px;
  height: auto;
}

.footer-redes a {
  display: inline-block;
  margin-right: 15px;
}

.footer-redes img {
  width: 17px;
  height: auto;
  opacity: 0.8;
  transition: 0.3s;
}

.footer-redes img:hover {
  opacity: 1;
}

.footer-contacto p {
  margin: 10px 0;
  color: #d4ff3f;
  font-weight: bold;
  font-size: 13px;
}

.footer-contacto a {
  color: #d4ff3f;
  text-decoration: none;
}

.footer-contacto a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-wrapper {
    text-align: center;
	  width: 100%;
  }

  .footer-redes {
    margin-top: 20px;
  }
}

.footer-redes-icon svg {
  width: 15px;
  height: auto;
  fill: #d4ff3f; /* verde neón */
  transition: fill 0.3s ease;
}

.footer-redes-icon svg:hover {
  fill: #e7007c; /* cambia a rosa al pasar el ratón */
}





/* Carrusel testimonios */
#carouselTestimonios {
  position: relative;
  color: #1a115d;
}

#carouselTestimonios .carousel-inner {
  position: relative;
}

#carouselTestimonios .carousel-item {
  position: relative;
}

#carouselTestimonios .carousel-item img {
  width: 100%;
  height: auto;
}

#carouselTestimonios .d-md-block {
  background-color: rgba(0, 0, 0, 0.5); /* capa oscura sobre imagen desktop */
}

#carouselTestimonios .carousel-caption {
  bottom: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#carouselTestimonios .carousel-caption .container {
  padding: 0 15px;
}

#carouselTestimonios .carousel-caption p.h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #1a115d;
  letter-spacing: 3px;
}

#carouselTestimonios .carousel-caption .text-danger i.fa-star {
  color: #FF2C7D;
}

#carouselTestimonios .carousel-caption .lead {
  font-size: 1.25rem;
  margin-bottom: 5px;
  color: #1a115d;
}

#carouselTestimonios .carousel-caption .lead a {
  color: #1a115d;
}

#carouselTestimonios .carousel-caption p.small {
  font-size: 14px;
  margin-bottom: 15px;
  color: #1a115d;
}

#carouselTestimonios .carousel-caption p.h3 {
  font-size: 28px;
  margin-bottom: 15px;
  font-weight: 600;
  color: #1a115d;
}

#carouselTestimonios .carousel-caption p.w-75 {
  font-size: 16px;
  color: #1a115d;
}

.custom-prev-icon,
.custom-next-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.carousel-caption {
  bottom: 0;
  padding-bottom: 3rem;
}


/* Personalización flechas (SVG dentro de círculo) */
#carouselTestimonios .custom-prev-icon,
#carouselTestimonios .custom-next-icon {
  width: 75px;
  height: 75px;
  background-color: #f2f2f2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#carouselTestimonios .custom-prev-icon svg,
#carouselTestimonios .custom-next-icon svg {
  width: 24px;
  height: 24px;
}

#carouselTestimonios .carousel-control-prev,
#carouselTestimonios .carousel-control-next {
  width: 5%;
}

#carouselTestimonios .carousel-control-prev-icon,
#carouselTestimonios .carousel-control-next-icon {
  background-image: none;
}

/* Puntos indicadores (bullets) */
#carouselTestimonios .carousel-indicators button {
  width: 14px;
  height: 14px;
  background-color: #999999;
  border-radius: 50%;
  opacity: 1;
  margin: 0 6px;
  transition: background-color 0.3s;
}

#carouselTestimonios .carousel-indicators .active {
  background-color: #d8ff4f;
}

/* Responsive */
@media (max-width: 768px) {
  #carouselTestimonios .carousel-caption p.h2 {
    font-size: 20px;
  }

  #carouselTestimonios .carousel-caption .lead {
    font-size: 16px;
  }

  #carouselTestimonios .carousel-caption p.h3 {
    font-size: 18px;
  }

  #carouselTestimonios .carousel-caption p.w-75 {
    width: 100% !important;
  }
}


/* Flechas laterales (SVG en círculo gris claro) */
#carouselTestimonios .carousel-control-prev,
#carouselTestimonios .carousel-control-next {
  width: auto;
  height: auto;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

#carouselTestimonios .carousel-control-prev {
  left: 20px;
}

#carouselTestimonios .carousel-control-next {
  right: 20px;
}

#carouselTestimonios .custom-prev-icon,
#carouselTestimonios .custom-next-icon {
  width: 50px;
  height: 50px;
  background-color: #f2f2f2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#carouselTestimonios .custom-prev-icon svg,
#carouselTestimonios .custom-next-icon svg {
  width: 24px;
  height: 24px;
}

#carouselTestimonios .carousel-control-prev:hover .custom-prev-icon,
#carouselTestimonios .carousel-control-next:hover .custom-next-icon {
  background-color: #d8ff4f;
}

/* Elimina los iconos por defecto de Bootstrap */
#carouselTestimonios .carousel-control-prev-icon,
#carouselTestimonios .carousel-control-next-icon {
  background-image: none;
}



/* Responsive */
@media (max-width: 1200px) {
	.contenedor-flex { 
		display: block;
	}
	.modulo-presentacion {
		float: left;
		width: 100%;
		display: block;
		max-width: 100%;
	}
	.formulario-lateral {
		width: 100%;
		float: left;
		display: block;
	}
}


/* Solo móvil: versión clara tipo ficha con imagen centrada */
@media (max-width: 767.98px) {
  #carouselTestimonios .carousel-item {
    background-color: #fff;
    text-align: center;
    padding-bottom: 2rem;
  }

  #carouselTestimonios .carousel-item img {
    margin: 2rem auto 0 auto;
    display: block;
  }

  #carouselTestimonios .carousel-caption {
    position: static;
    display: block;
    padding: 70px 60px 0px 60px;
  }

  #carouselTestimonios .carousel-caption .container {
    padding: 0 1.5rem;
  }

  #carouselTestimonios .carousel-caption .lead a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
  }

  #carouselTestimonios .carousel-control-prev,
  #carouselTestimonios .carousel-control-next {
    top: -150px;
    transform: none;
  }

  #carouselTestimonios .custom-prev-icon,
  #carouselTestimonios .custom-next-icon {
    width: 36px;
    height: 36px;
    background-color: #eee;
  }

  #carouselTestimonios .custom-prev-icon svg,
  #carouselTestimonios .custom-next-icon svg {
    width: 18px;
    height: 18px;
  }

  #carouselTestimonios .carousel-indicators {
    margin-top: 1rem;
  }

  #carouselTestimonios .carousel-indicators button {
    width: 10px;
    height: 10px;
    margin: 0 4px;
    background-color: #ccc;
  }

  #carouselTestimonios .carousel-indicators .active {
    background-color: #bada55;
  }
}
