@charset "utf-8";

/* GENERALES */

html, body {
	overflow-x: hidden;
	width: 100%;
	min-height: 100%;
	scroll-behavior: smooth;
}

body.modal-open {
  overflow: hidden;
}

#page-wrapper.scroll-lock {
  position: relative;
  overflow: hidden;
}

.scroll-lock {
  position: fixed;
  width: 100%;
  overflow-y: scroll;
}

.modal-open {
  overflow: hidden;
}

*, *::before, *::after {
  box-sizing: border-box;
}

/* MENÚ */
.custom-navbar {
  background-color: rgba(36, 43, 45, 0.6);
  height: 80px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);

}

.custom-navbar.shrink {
  height: 70px;
  background-color: rgba(36, 43, 45, 0.95);
}

.custom-navbar .nav-link {
  color: #ffffff;
  font-weight: 500;
  margin: 0 12px;
  font-family: 'Poppins', sans-serif;
  transition: color 0.3s;
}

.custom-navbar .nav-link:hover {
  color: #64C7C4;
}

.custom-navbar .logo {
  height: 60px;
  transition: height 0.3s ease;
}

.custom-navbar.shrink .logo {
  height: 45px;
}

.navbar-toggler-icon {
  filter: brightness(0) invert(1);
}

.btn-cta {
  background-color: #64C7C4;
  color: #242a2d;
  border-radius: 8px;
  font-weight: 600;
  padding: 0.5rem 1rem;
  font-family: 'Poppins', sans-serif;
  transition: background 0.3s ease;
}

.btn-cta:hover {
  background-color: #50aead;
}

/*HERO*/
.hero-parallax {
  position: relative;
  height: 120vh;
  background-image: url("imagenes/background_hero.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  will-change: transform;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(36, 43, 45, 0.5);
  z-index: 1;
}

.hero-content {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: white;
  text-align: center;
  padding: 0 20px;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 2.0rem;
  font-weight: 800;
  margin-bottom: 1rem;
  font-family: 'Montserrat', sans-serif;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  font-family: 'Inter', sans-serif;
}

.btn-cta {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #64C7C4;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.btn-cta:hover {
  background-color: #50aead;
}

/* PROBLEMAS */
.problemas-section {
  background-color: #f8f9fa;
  color: #242B2D;
}

.problema-box {
  background-color: white;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
  transition: transform 0.2s ease;
  text-align: center;
  overflow: hidden;
}

.problema-box:hover {
  transform: translateY(-4px);
}

.problema-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
}

.problema-box p {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  margin-top: 1rem;
  line-height: 1.6;
}

/* SECCIÓN: SERVICIOS */
.servicios-section {
  background-color: #ffffff;
  color: #242B2D;
}

.servicio-box {
  background-color: #f7f9fa;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.04);
  transition: transform 0.25s ease;
  text-align: center;
  overflow: hidden;
	display: flex;
  flex-direction: column;
  height: 100%;
}

.servicio-box:hover {
  transform: translateY(-4px);
}

.servicio-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  width: 70%;
  margin: 0 auto;
	padding-top: 5%;
  
}

.contenido-superior {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; 
}

.servicio-contenido {
  
  display: flex;
  flex-direction: column;
  height: 100%;
padding: 20px;
}

.servicio-box h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.servicio-box p {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.5;
	padding: 2% 0 5%;
		min-height: 180px;
}

.titserv{
	min-height: 10%;
}


.btn-servicio {
  background-color: #65c1bf;
  color:#0C0C0D; 
  font-weight: 600;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  width: 50%;
  margin-left: auto;
	margin-right: auto;
	margin-top: auto;
  display: block;
  text-align: center;
}

.btn-servicio:hover {
  background-color: #50aead;
  color: #242a2d;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-servicio:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(100, 199, 196, 0.5);
}

.cta-section {
  background-color: #242B2D;
  color: #ffffff;
}

.cta-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

.cta-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-family: 'Inter', sans-serif;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.btn-cta-lg {
  background-color: #64C7C4;
  color:#242a2d;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  transition: background 0.3s ease;
  display: inline-block;
}

.btn-cta-lg:hover {
  background-color: #242a2d
	  ;
  color: #fff;
}

.dias-grid {
  grid-template-columns: repeat(7, 1fr);
}

.mensaje-error {
  display: none;
  color: #d32f2f;
  background-color: #fdecea;
  border: 1px solid #f5c6cb;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.parallax-bg {
  background-image: url("imagenes/metodologia-bg.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  background-attachment: fixed;
  position: relative;
  z-index: 1;
}

/* VIDEO PARA CTA */

.video-cta-section {
  position: relative;
  height: 60vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(36, 43, 45, 0.90);
  z-index: 1;
}

.video-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}

/* Optimización para móviles */
@media (max-width: 768px) {
  .video-cta-section {
    height: 50vh;
  }
  
  .video-background {
    display: none;
  }
  
  .video-cta-section {
    background-image: url('imagenes/fondo-cta-mobile.jpg');
    background-size: cover;
    background-position: center;
  }
  
  .video-cta-section .d-md-none {
    display: block !important;
  }
}

/* Botón mejorado para contraste */
.btn-cta-lg {
  background-color: #64C7C4;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.btn-cta-lg:hover {
  background-color: #50aead;
  color: #fff;
  transform: translateY(-2px);
}

/* === MODAL DE AGENDAMIENTO === */
.fondo-oscuro {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
  z-index: 998;
}

.modal-agendamiento {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background: #fff;
  color: #242B2D;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  width: 80vw;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: 80vh;
  overflow-y: auto;
}


.modal-agendamiento.visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.fondo-oscuro.visible {
  opacity: 1;
  visibility: visible;
}

.cerrar-modal {
  background: none;
  border: none;
  font-size: 1.5rem;
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  color: #aaa;
  transition: transform 0.2s ease;
}

.cerrar-modal:hover {
  transform: scale(1.2);
  color: #000;
}

#formAgendamiento label {
  display: block;
  margin-top: 1rem;
  font-weight: 600;
}

#formAgendamiento input,
#formAgendamiento select {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.5rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
}

#diasContainer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

#diasContainer button {
  padding: 0.5rem 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #f7f9fa;
  cursor: pointer;
  font-size: 0.95rem;
}

#diasContainer button.seleccionado {
  background-color: #64C7C4;
  color: white;
  font-weight: bold;
}

/* Botón CTA dentro del modal (usa los estilos globales) */

.btn.btn-cta-lg {
  margin-top: 1.5rem;
  background-color: #64C7C4;
  color:#242a2d;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.3s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.btn.btn-cta-lg:hover {
  background-color: #50aead;
}

.mensaje-error {
  color: #d32f2f;
  background-color: #fdecea;
  border: 1px solid #f5c6cb;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  margin-top: 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  display: none;
  text-align: left;
}

/* Calendario en formato grid (filas por semana) */

/* Estilos para la ventana de confirmación */
.modal-confirmacion {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #28a745;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    z-index: 1060;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    text-align: center;
}
.mensaje-error.visible {
    display: block !important;
    background-color: #dc3545;
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.dias-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.dia-card {
  background-color: #f7f9fa;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 0.6rem;
  text-align: center;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dia-card.seleccionado {
  background-color: #64C7C4;
  color: white;
  font-weight: bold;
}

.dia-card span.dia-nombre {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
  color: #555;
}

.modo-oscuro .dia-card {
  background-color: #344047;
  border-color: #666;
  color: #eee;
}
.modo-oscuro .dia-card.disabled {
  background-color: #444;
  color: #777;
}

.dia-card.disabled {
  background-color: #e0e0e0;
  color: #aaa;
  cursor: not-allowed;
}

.dias-grid button {
  padding: 0.5rem 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #f7f9fa;
  cursor: pointer;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  transition: background 0.3s ease;
}

.dias-grid button.seleccionado {
  background-color: #64C7C4;
  color: white;
  font-weight: bold;
}

.dias-grid button:disabled {
  background-color: #ddd;
  color: #999;
  cursor: not-allowed;
}

/* Mensaje de éxito */
.mensaje-exito {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #4CAF50;
  color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 10000;
  max-width: 350px;
}

.cerrar-msg {
  position: absolute;
  top: 5px;
  right: 10px;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Mensaje de error en formulario */
.mensaje-error {
  display: none;
  color: #d32f2f;
  background-color: #fdecea;
  border: 1px solid #f5c6cb;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.logo_serv{
	width: 40% !important;
	margin-bottom: 5%;
}

/* METODOLOGÍA MAPA Cx */

#metodologia{
	margin-top: 5%;
}

.metodologia-linea-section {
  background-color: #ffffff;
  color: #242B2D;
  position: relative;
}

.mapa-linea {
  position: relative;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 3px solid #64C7C4;
  padding-top: 0rem;
}

.mapa-paso {
  flex: 1 1 22%;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 200px; /* ajusta según tu diseño */
  padding-top: 2rem;
  text-align: center;
}

.paso-circulo {
  width: 50px;
  height: 50px;
  background-color: #64C7C4;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  border-radius: 50%;
  line-height: 50px;
  text-align: center;
  margin: 0 auto 1rem auto;
  font-family: 'Montserrat', sans-serif;
  z-index: 2;
  position: relative;
}

.mapa-paso::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  height: 2rem;
  width: 2px;
  background-color: #64C7C4;
  transform: translateX(-50%);
}

.paso-titulo {
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  margin: 1rem 0 0.5rem;
  max-width: 130px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  word-break: break-word;
  line-height: 1.2;
	margin-left: auto;
  margin-right: auto;
}

.paso-desc {
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  color: #555;
  padding: 0 0.5rem;
  min-height: 60px; /* ajusta para que todos tengan misma base */
  display: flex;
  align-items: center;
  justify-content: center;
	  margin-left: auto;
  margin-right: auto;
}

.mapa-paso::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background-color: #64C7C4;
  border-radius: 50%;
  z-index: 3;
}


/* METODOLOGÍA CXS*/

#cxs{
	margin-top: 5%;
	background-color:#f7f9fa ;
}

#cxs p{
	text-align: justify;
}

.cxs-dividido-section {
  background-color: #ffffff;
  color: #242B2D;
}

.cxs-estructura {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cxs-nivel {
  background-color: #f0f2f4;
  padding: 1rem;
  border-left: 5px solid #64C7C4;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
  transition: background-color 0.2s ease;
}

.cxs-nivel:hover {
  background-color: #e8fafa;
}

.consultoria-retos-section {
  background-color: #f7f9fa;
  color: #242B2D;
}

.retos-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
	padding: 0 1rem;
}

.reto-bloque {
  border-left: 4px solid #64C7C4;
  padding-left: 1rem;
  transition: background-color 0.3s ease;
}

.reto-bloque:hover {
  background-color: #eafcfc;
}

.reto-titulo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.reto-solucion {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0;
}

/*METODOLOGÍA CONSULTORIA*/

#consultoria{
	margin-top: 5%;
	margin-bottom: 5%;
}

#consultoria p{
	text-align: justify;
}

/* Indice VESTA */

/* Sección general */
#vesta {
  background-color: #f8f9fa; /* bg-light */
  padding-top: 4rem;
  padding-bottom: 4rem;
  border-top: 1px solid #dee2e6;
}

/* Títulos */
#vesta h2 {
  font-weight: 700;
  font-size: 2rem;
  color: #212529;
}

#vesta h4,
#vesta h5 {
  font-weight: 600;
  color: #343a40;
}

/* Texto */
#vesta p {
  color: #495057;
  font-size: 1rem;
  line-height: 1.6;
	text-align: justify;
}

/* Lista de dimensiones */
#vesta ul {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

#vesta ul li {
  margin-bottom: 0.6rem;
  font-size: 1rem;
  color: #212529;
	text-align: justify;
}

/* Caja lateral (diagnóstico) */
#vesta .shadow-sm {
  background-color: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 1rem;
  padding: 2rem;
}

#vesta em {
  color: #6c757d;
  font-style: italic;
}


/*casos de estudio*/

.modal-custom {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  overflow: hidden;  /* evita scroll accidental en fondo */
	pointer-events: none;
}

.modal-custom.visible {
  display: flex;
	pointer-events: auto;
}


.modal-custom.active {
  display: flex;
	align-items: center;
	justify-content: center;
}

.modal-content {
  background-color: #fff;
  border-radius: 0.75rem;
  max-width: 900px;
  width: 95%;
  max-height: 80vh;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  padding: 2rem;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
	overflow-y: auto;
	z-index: 10;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 1;
  overflow: hidden;
  pointer-events: auto;
}

.modal-content img {
  width: 98%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 1.5rem;
  color: #6c757d;
  cursor: pointer;
  z-index: 10;
}

.modal-body-scroll {
  overflow-y: auto;
  max-height: calc(90vh - 260px);
  padding-right: 0.5rem;
}

.modal-body-scroll p,
.modal-body-scroll ul {
	font-size: 1rem;
	line-height: 1.6;
	color: #495057;
	text-align: justify;
	padding: 0 5% 0 5%;
}

.modal-body-scroll ul {
  padding-left: 1.25rem;
	padding: 0 5% 0 5%;
}

.modal-content .btn.cerrar-modal {
  margin-top: 1rem;
  align-self: flex-end;
  font-size: 0.95rem;
  padding: 0.5rem 1.25rem;
  background-color: #f1f3f5;
  border: 1px solid #dee2e6;
  color: #212529;
  border-radius: 0.5rem;
}

#card1 p{
	text-align: justify;
}

#card2 p{
	text-align: justify;
}

#card3 p{
	text-align: justify;
}

/* Responsive */
@media (max-width: 768px) {

	.logo_serv{
		min-width: 80% !important;
	}
	


  .cxs-estructura {
    margin-top: 2rem;
  }
	
	.mapa-linea {
    flex-direction: column;
    align-items: center;
    border: none;
  }
	
	.mapa-paso {
    text-align: center;
    padding: 1.5rem 0;
    flex: none;
    width: 100%;
  }

  .mapa-paso::before {
    display: none;
  }

  .paso-circulo {
    margin-bottom: 0.75rem;
  }
	
	  .cxs-modulo {
    border-left: none;
    border-right: none;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
  }
	
	  .hero-content {
    max-width: none;
    width: 90%;
  }
	
	.hero-content h1 {
  font-size: 2.0rem;
  font-weight: 800;
  margin-bottom: 1rem;
  font-family: 'Montserrat', sans-serif;
}

	  .timeline::before {
    left: 8px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 2.5rem;
    padding-right: 1rem;
    margin-bottom: 2rem;
  }

  .timeline-item.left,
  .timeline-item.right {
    left: 0;
    text-align: left;
  }

  .timeline-content::after {
    left: -18px;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: rgba(36, 43, 45, 0.85);
    backdrop-filter: blur(4px);
    border-radius: 0 0 8px 8px;
    padding: 1rem;
  }

  .navbar-nav .nav-link {
    color: #ffffff;
    margin-bottom: 0.75rem;
  }
}
	
.modal-custom.active {
  display: flex;
  pointer-events: auto;
}

.scroll-lock {
  position: fixed;
  width: 100%;
  overflow: hidden;
}
