/* ====== GOOGLE FONTS ====== */

@import url('https://fonts.googleapis.com/css2?family=Familjen+Grotesk:wght@400;600;700&family=Nunito:wght@400;600&display=swap');
/* ====== RESET GENERAL ====== */

* {
	box-sizing: border-box;
	border-width: 0;
	border-style: solid;
	padding: 0;
	margin: 0;
	text-decoration: none;
	list-style: none;
	box-sizing: border-box;
	transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}
section, main, .container-portfolio, .form-container {
	padding: 60px 20px;
	/* espaciado arriba y abajo */
}
/*comando de espacio de contenido*/

h1 {
	font-family: "Familjen Grotesk", sans-serif;
	font-weight: 700;
	/* más grueso */
	letter-spacing: -0.5px;
	/* compacta el título */
}
h2, h3 {
	font-family: "Familjen Grotesk", sans-serif;
	font-weight: 600;
}
p, li, a {
	font-family: "Nunito", sans-serif;
	font-weight: 400;
	/* lectura ligera */
	line-height: 1.6;
	/* mejora legibilidad */
}
a {
	color: #FFD166;
}
.section-destacada {
	background-color: #A3D2CA;
}
p {
	margin: 1em 0;
	line-height: 1.6;
}
@media (max-width: 767px) {
	p {
		margin-top: 3px !important;
		margin-bottom: 45px !important;
		line-height: 1.6;
	}
}
body {
	background-color: #F1FFF8;
	/* Fondo verde menta claro */
	color: #2E3A59;
	/* Texto gris oscuro */
	font-family: 'Poppins', sans-serif;
	margin: 0;
	padding: 0;
}
/* ====== HEADER ====== */

/* ====== HEADER ====== */

header, footer {
	background-color: #2ECC71;
	/* Verde jade principal */
	color: white;
	text-align: center;
	padding: 20px 0;
}
header {
	background-color: #2ECC71;
	/* Aparece una muestra visual del color */
}
header {
	width: 100%;
	position: relative;
	overflow: hidden;
	height: 60cap;
	display: block;
	background: url("imagenes/pexels-shvets-production-7176076.webp") center/cover no-repeat;
	min-height: 60dvh;
	max-height: 600px;
	/* aquí ya no necesitas repetir en @media */
	min-height: 500px;
}

/* DEGRADADO SOBRE EL FONDO */

header::before {
	
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(rgba(12, 9, 9, 0.6), rgba(0, 0, 0, 0.6));
	opacity: 0.5;
	z-index: 0;
	pointer-events: none;
}
.header-content {
	display: flex;
	flex-direction: row;
	/* escritorio lado a lado */
	justify-content: space-between;
	align-items: center;
	width: 90%;
	max-width: 1200px;
	position: relative;
	z-index: 1;
	/* sobre degradado */
	/* Añadimos esto para limitar el crecimiento del contenido dentro del header-content */
	flex-shrink: 0;
	flex-grow: 0;
	overflow: hidden;
	/* importante si el contenido interno puede desbordarse */
}
header .banner-text, header .text-header, header .img-header {
	position: relative;
	z-index: 1;
	/* sobre degradado */
}
/* ====== NAVBAR ====== */

nav {
	position: absolute;
	/* se queda fija */
	top: 0;
	/* pegada arriba */
	left: 0;
	width: 100%;
	z-index: 1000;
	/* sobre el resto */
	background-color:#79aea3;;
	/* barra */
	height: 100px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
/* Logo */

.logo {
	width: 30px;
	margin-left: 20px;
}
/* Botón hamburguesa */

.bar-btn {
	font-size: 25px;
	color: #fff;
	margin-right: 20px;
	cursor: pointer;
}
/* ====== MENÚ RESPONSIVE ====== */
/* ===== MENÚ HAMBURGUESA ESTÁTICO SIN DESPLAZAR CONTENIDO ===== */
.nav-menu {
  position: absolute;
  top: 100px; /* justo debajo del logo o encabezado */
  left: 0;
  width: 0; /* cerrado por defecto */
  height: auto;
  background: rgba(38, 23, 250, 0.9);
  text-align: left; /* texto alineado a la izquierda */
  overflow: hidden;
  border-radius: 0 10px 10px 0;
  box-shadow: 3px 3px 10px rgba(0,0,0,0.25);
  transition: all 0.5s ease;
  z-index: 9999;
  padding: 0;
}

/* Ítems del menú (desktop y móviles) */
.nav-menu li {
  list-style: none;
  line-height: 30px;
  margin: 25px 20px;
  transition: all 0.4s ease;
}

/* Escondemos los items solo en móviles por defecto */
@media (max-width: 768px) {
  .nav-menu li {
    display: none;
  }
}

/* Enlaces del menú */
.nav-menu li a {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-menu li a:hover {
  color: #5eff59;
}

/* Checkbox oculto */
#check {
  display: none;
}

/* Animación suave de aparición */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== MENÚ ABIERTO EN MÓVIL ===== */
@media (max-width: 768px) {
  #check:checked ~ .nav-menu {
    width: 220px;
    height: auto;
    padding: 25px 0;
    background: rgba(38, 23, 250, 0.9); /* color semi-transparente */
  }

  #check:checked ~ .nav-menu li {
    display: block;
    animation: fadeIn 0.4s ease forwards;
  }

  /* Cambia el icono a X */
  #check:checked + .bar-btn i::before {
    content: "\f00d";
  }
}

/* ===== Menú escritorio: mostrar siempre con transparencia ===== */
@media (min-width: 769px) {
  .nav-menu {
    position: static; /* relativo a header */
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.3); /* fondo transparente */
    padding: 0 10px;
    border-radius: 8px; /* opcional, suaviza esquinas */
  }

  .nav-menu li {
    display: block;
    margin: 0 15px; /* espacio entre items */
  }
}

/* Enlaces del menú */
.nav-menu li a {
  color: #fff;
  font-size: 16px;
  text-transform: none;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-menu li a:hover {
  
	color: #5eff59;
}

/* Checkbox oculto */
#check {
  display: none;
}

/* Animación suave de aparición */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== MENÚ ABIERTO (solo en móvil) ===== */
@media (max-width: 768px) {
  #check:checked ~ .nav-menu {
    width: 220px; /* 🔹 ancho tipo cuadro vertical */
    height: auto; /* no ocupa toda la pantalla */
    padding: 25px 0;
  }

  #check:checked ~ .nav-menu li {
    display: block;
    animation: fadeIn 0.4s ease forwards;
  }

  /* Cambia el icono a X */
  #check:checked + .bar-btn i::before {
    content: "\f00d";
  }
}

/* ===== EN ESCRITORIO (no cambia nada al hacer click) ===== */
@media (min-width: 769px) {
  #check:checked ~ .nav-menu {
    width: auto;
    height: auto;
    padding: 0;
  }
}

/* Asegúrate de que los contenedores no se desborden */

.container {
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	padding: 0 5%;
	/* margen lateral adaptable */
	box-sizing: border-box;
}
/* tamaño del título en escritorio */

#nosotros h2 {
	font-size: 36px;
	/* antes podía estar más grande */
	font-weight: 600;
	/* opcional */
	text-align: center;
	/* opcional */
	margin-bottom: 20px;
	/* espacio debajo */
}
@media only screen and (max-device-width: 767px) {
	#nosotros h2 {
		font-size: 24px;
	}
	#nosotros p {
		font-size: 13px;
		margin: 0 -1px;
		line-height: 1.6;
		/* Espaciado entre líneas para mejor lectura */
		--tw-text-opacity: 1;
		color: rgba(107, 114, 128, var(--tw-text-opacity));
	}
	#nosotros {
		padding: 10px;
		/* Espacio interno general del contenedor */
	}
}
/* ====== BANNER ====== */

.banner-text {
	display: flex;
	flex-direction: column;
	text-align: center;
	z-index: 1;
	padding: 0 20px;
}
.text-header {
	max-width: 600px;
}
.text-header h1 {
	font-size: 55px;
	color: #fff;
	margin: 0;
	line-height: 1.2;
	
}
@media (max-width: 768px) {
	.text-header {
		width: 100%;
		max-width: 90%;
		margin: 0 auto;
		/* Centra horizontalmente */
		text-align: center;
		/* Centra el texto */
		padding: 0 15px;
		/* Espacio lateral en móviles */
	}
	nav {
		position: absolute;
	}
	.text-header h1 {
		font-size: 2.4rem;
		/* un poco más grande en móviles */
		line-height: 1.3;
		letter-spacing: 2px;
		/* menos separación para no romper líneas */
		margin-top: 10px;
	}
}
/* Tamaño base: escritorio */
.text-header p {
  color: #fff;
  font-size: 22px;
  margin-top: 40px;
}

/* Tamaño para móvil */
@media (max-width: 768px) {
  .text-header p {
    font-size: 18px;
  }
}

.btn-a {
	display: inline-block;
	margin-top: 10px;
	padding: 10px 25px;
	border-radius: 25px;
	color: #fff;
	background: rgba(0, 4, 255, 0.61);
	opacity: 0;
	transform: translateY(19px);
	animation: revealUp .9s forwards;
}
/* IMAGEN DECORATIVA */

.img-header img {
	width: 100%;
	/* ocupa ancho disponible */
	max-width: 600px;
	/* nunca más grande de 600px */
	height: auto;
	/* mantiene proporción */
}
.btn-a:hover {
	background-color: #404be0;
}
.img-header {
	margin-right: 0px;
	margin-top: 5px;
	display: none;
}
.img-header img {
	width: 250px;
}
/* Ajustes para pantallas muy pequeñas */

@media (max-width: 900px) {
	.icons-about {
		gap: 15px;
	}
	.icon-about {
		min-width: 200px;
		padding: 15px;
	}
}
@media (min-width: 758px) {

	/* Contenedor del menú */
	.nav-menu {
		position: static;
		height: auto;
		background: #2E56CC;
		display: flex;
		justify-content: flex-end;
		align-items: center;
	}
	/* Items del menú */
	.nav-menu li {
		display: inline-block;
		margin: 0 20px;
		list-style: none;
		transition: transform 0.3s ease;
		/* ejemplo de animación */
	}
	
	/* Links del menú */
	.nav-menu li a {
		font-size: 17px;
		color: #fff;
		/* color texto */
		text-decoration: none;
		padding: 8px 10px;
		transition: color 0.3s ease;
		/* animación color */
	}
	.nav-menu li a:hover {
		color: #4bff54ff;
		/* cambia color al pasar */
	}
	.footer-social a {
		margin-left: 90px;
	}
	html, body {
		width: 100%;
		overflow-x: hidden;
		/* oculta el scroll lateral y franjas blancas */
	}
	.icons-about {
		display: flex;
		justify-content: space-between;
		/* separación uniforme entre tarjetas */
		gap: 20px;
		margin-top: 20px;
		align-items: stretch;
		/* todas las tarjetas con misma altura */
		flex-wrap: nowrap;
		/* evita que bajen a otra línea */
	}
	.icon-about {
		flex: 1;
		/* todas ocupan el mismo espacio */
		min-width: 250px;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: flex-start;
		text-align: center;
		padding: 20px;
		background: #ffffff;
		border-radius: 15px;
		box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
		border: 1px solid #e0e0e0;
		transition: transform 0.3s, box-shadow 0.3s;
	}
	.icon-about:hover {
		transform: translateY(-5px);
		box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
	}
	.icon-about img {
		width: 90px;
		margin-bottom: 10px;
	}
	.icon-text {
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		margin: 0;
	}
	.icon-text h3 {
		margin-bottom: 10px;
		text-align: center;
		font-size: 1.2rem;
	}
	.icon-text p {
		text-align: center;
		font-size: 0.95rem;
		line-height: 1.4;
		color: #333;
		word-wrap: break-word;
		/* asegura que el texto no se salga */
	}
	.logo {
		margin-left: 100px;
	}
	nav {
		height: 100px;
		margin: 0 auto;
	}
	.bar-btn {
		display: none;
	}
	/* Contenedor del menú */
	.nav-menu {
		position: static;
		height: auto;
		background: #2E56CC;
		display: flex;
		justify-content: flex-end;
		align-items: center;
	}
	/* Items del menú */
	.nav-menu li {
		display: inline-block;
		margin: 0 20px;
		list-style: none;
		transition: transform 0.3s ease;
		/* ejemplo de animación */
	}
	
	/* Links del menú */
	.nav-menu li a {
		font-size: 17px;
		color: #fff;
		/* color texto */
		text-decoration: none;
		padding: 8px 10px;
		transition: color 0.3s ease;
		/* animación color */
	}
	.nav-menu li a:hover {
		color: #4bff54ff;
		/* cambia color al pasar */
	}
	header {
		height: 100cap;
		/* Puedes mantener 90vh para escritorio, o un valor fijo si prefieres */
		min-height: 30px;
		/* Asegura una altura mínima en escritorio */
		max-height: 690px;
		/* Asegura una altura máxima en escritorio */
		width: auto;
		min-width: none;
	}
	/* Ajustamos el .banner-text para que no se estire verticalmente y no empuje la onda */
	.banner-text {
		position: absolute;
		/* Quitamos el position: absolute de la solución anterior */
		/* top: 40px; left: 50px; Esto se vuelve problemático con el zoom */
		display: flex;
		/* Aseguramos que sea flex para alinear */
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		/* Centrado verticalmente */
		width: 90%;
		/* Ancho controlado */
		max-width: 1200px;
		/* Ancho máximo */
		height: 100%;
		/* Permite que el contenido se ajuste a la altura del header */
		padding: 0 20px;
		box-sizing: border-box;
		/* Incluye padding en el ancho/alto */
	}
	.text-header {
		margin-right: 0;
		transform: none;
		align-self: center;
		/* Esto centra el bloque de texto verticalmente */
		/* CAMBIO AQUÍ: Aseguramos que el texto dentro de text-header esté alineado a la izquierda */
		text-align: left;
	}
	.text-header h1 {
		font-size: 55px;
		line-height: 60px;
		/* CAMBIO AQUÍ: Aseguramos que el h1 esté alineado a la izquierda en escritorio */
		text-align: left;
	}
	.text-header p {
		margin-top: 20px;
		/* CAMBIO AQUÍ: Aseguramos que el p esté alineado a la izquierda en escritorio */
		/* para que el texto contraste */
	}
	.img-header {
		margin-left: 20px;
		margin-top: 0 30px;
		/* Puedes ajustar este valor si la imagen está muy arriba */
		display: block;
		background-color: transparent;
		align-self: center;
		/* Centra la imagen verticalmente dentro de banner-text */
	}
	.img-header img {
		width: 6200px;
		min-height: 100%;
		/* Altura mínima para asegurar que el contenido quepa */
		max-height: 30%;
		/* Altura máxima para evitar que se estire demasiado en pantallas grandes o zoom */
		margin-top: 30%;
		height: auto;
		/* El alto se ajusta automáticamente para mantener la proporción */
		display: block;
		/* Útil para evitar pequeños espacios debajo de las imágenes */
		max-width: 300px;
		height: auto;
	}
}
/* ====== SECCIÓN NOSOTROS ====== */

.about {
	text-align: center;
	padding: 30px 0;
	/* corregido */
}
.about h2 {
	font-size: 45px;
	margin-bottom: 25px;
	text-transform: uppercase;
}
.about p {
	font-size: 18px;
	font-weight: 400;
	margin: 35px;
}
.icon-about {
	display: flex;
	align-items: center;
	gap: 15px;
	margin: 20px;
}
.icon-about img {
	width: 70px;
}
.icon-text {
	text-align: left;
	margin-left: -17px;
}
.icon-text p {
	margin: 0;
}
/* 👇 Cuando la pantalla es de 768px o menos (móvil) */

@media (max-width: 768px) {
	.icon-about {
		flex-direction: column;
		/* icono arriba, texto abajo */
		text-align: center;
		/* centrar texto */
	}
	.icon-text {
		margin-left: 0;
		/* quitar desplazamiento */
		text-align: center;
		/* centrar texto */
	}
}
@media (min-width: 800px) {
	.btn-b {
		padding: 8px 40px;
		/* más pequeño en escritorio */
		font-size: 12px;
	}
	.about {
		padding: 90px 0px;
	}
	.icons-about {
		flex-direction: row;
		justify-content: center;
	}
}
/*perfil*/

.service {
	padding: 30px 0px;
}
/* contenedor */

.services-container {
	display: flex;
	flex-direction: column;
}
/* Contenedor general */

.services-container {
	display: flex;
	flex-direction: column;
	/* móvil: todo en columna */
	gap: 20px;
}
/* Cards individuales */

.service-card {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
}
/* Cards: tamaño por defecto */

.service-card .card {
	flex: 1 1 100%;
	max-width: 350px;
}
/* Texto de la sección */

.services-text {
	order: -1;
	/* siempre arriba en móviles */
	width: 100%;
	text-align: center;
	background: rgba(255, 255, 255, 0.35);
	color: #2c3e50;
	padding: 20px;
	border-radius: 16px;
}
/* Desktop: dos cards por fila y texto a la izquierda */

@media (min-width: 768px) {
	.services-container {
		flex-direction: row;
		justify-content: flex-start;
		align-items: flex-start;
	}
	/* Texto a la izquierda */
	.services-text {
		order: 0;
		/* se coloca a la izquierda */
		flex: 1 1 40%;
		text-align: left;
	}
	/* Cards a la derecha */
	.service-card {
		flex: 1 1 60%;
		display: flex;
		flex-wrap: wrap;
		gap: 20px;
		margin-top: 41px;
	}
	/* Cada card ocupa 45% para 2 por fila */
	.service-card .card {
		flex: 1 1 45%;
		max-width: 45%;
	}
}
@media (min-width: 768px) {
	.services-container {
		flex-direction: row;
		justify-content: center;
		align-items: flex-start;
	}
	.service-card {
		flex: 1 1 90%;
		justify-content: flex-start;
		display: flex;
		flex-wrap: wrap;
		gap: 20px;
	}
	.services-text {
		flex: 1 1 40%;
		text-align: left;
		background: rgba(255, 255, 255, 0.35);
		/* Transparente sobre azul */
		color: #2c3e50;
		/* Gris azulado oscuro */
		padding: 20px;
		border-radius: 16px;
	}
	.service {
		background-position: center center;
		background-repeat: no-repeat;
		background-size: cover;
		padding: 70px 0px;
	}
	.service {
		background: linear-gradient( 135deg, rgba(26, 115, 232, 0.7), rgba(74, 144, 226, 0.3)), url("imagenes/pexels-shvets-production-7176076.webp") center/cover no-repeat;
	

		/* 🔹 Hace que el fondo no se mueva */

		background-size: cover;
		background-repeat: no-repeat;
		padding: 70px 0;
		color: #fff;
		text-align: center;
		margin-top: 7rem;
	}
}
html {
  scroll-behavior: smooth;
}

/* 🎯 Móvil */

@media (max-width: 767px) {
	.services-text {
		text-align: center;
	}
	.services-text h2 {
		font-size: 22px;
		margin-bottom: 15px;
		color: #2F327D;
		/* Azul profundo */
		text-align: center;
	}
	/* Tarjetas estilo móvil */
	.services-text p {
		border-radius: 16px;
		padding: 18px 20px;
		margin: 12px 0;
		font-size: 15px;
		line-height: 1.5;
		text-align: left;
		position: relative;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
		color: #2c3e50;
	}
	.services-text p:nth-child(2) {
		background: #e8d9ff;
	}
	/* Lila */
	.services-text p:nth-child(3) {
		background: #d9f0ff;
	}
	/* Azul pastel */
	.services-text p:nth-child(4) {
		background: #fff6d9;
	}
	/* Amarillo pastel */
	/* Amarillo pastel */
	/* Íconos */
	.services-text p::before {
		content: attr(data-icon);
		font-size: 22px;
		margin-right: 10px;
		display: inline-block;
	}
	/* Botón */
	.services-text .btn-c {
		margin-top: 15px;
		background: #004aad;
		/* Azul oscuro */
		color: #fff;
		padding: 12px 20px;
		border-radius: 25px;
		display: inline-block;
		text-decoration: none;
		font-weight: bold;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
		transition: background 0.3s ease;
	}
}
/* ------------- CUADRO TRANSLÚCIDO FUNCIONAL PARA SERVICES ------------- */

.service {
	/* si quieres que la sección tenga imagen + velo */
	position: relative;
	color: #2c3e50;
}
/* caja de texto dentro de la sección de servicios */

.service .services-text {
	flex: 1 1 80%;
	margin-left: auto;
	/* empuja la caja al lado derecho */
	max-width: 520px;
	padding: 24px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.5);
	/* fondo claro translúcido para legibilidad */
	color: #2c3e50;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	z-index: 2;
	text-align: left;
	margin-top: 60px;
}
/* versión alternativa: si prefieres fondo oscuro (letras blancas) */

/*
.service .services-text {
  background: rgba(0,0,0,0.45);
  color: #fff;
}
*/

/*card*/

/* 🚫 Ocultar solo en móvil */

@media (max-width: 767px) {
	.service-card {
		display: none;
	}
}
.card {
	background-color: #E8F5F1;
	width: 230px;
	border-radius: 15px;
	padding: 20px;
	text-align: center;
}
.card ul li a:hover {
	transform: scale(1.2);
}
/* 🎯 Versión escritorio */

@media (min-width: 769px) {
	.services-text h2 {
		font-size: 40px;
		margin-bottom: 15px;
		position: static;
		/* se queda en su lugar normal */
	}
}
.services-text p {
	font-size: 18px;
	line-height: 1.4;
}
.btn-c {
	display: inline-block;
	margin-top: 25px;
	padding: 10px 25px;
	background: transparent;
	color: #0011ff;
	border: 2px solid #fff;
	border-radius: 15px;
	transition: 0.3s ease;
}
.btn-c:hover {
	background-color: #fff;
	color: #2209ff;
}
/*indicadores de guia de atencion */

.card-img {
	width: 120px;
	/* tamaño de la foto */
	height: 120px;
	border-radius: 50%;
	/* redonda */
	object-fit: cover;
	/* recorta la imagen si no es cuadrada */
	margin-bottom: 15px;
	/* espacio con iconos */
}
.services-text {
	text-align: center;
	max-width: 600px;
	color: #fff;
	margin-top: 26px;
}
/* ====== PORTAFOLIO MODIFICADO ====== */

.portfolio {
	padding: 50px 0px;
}
.container-portfolio {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.container-portfolio h2 {
	font-size: 29px;
	margin-bottom: 40px;
	margin-top: 40px;
	text-align: center;
}
@media (min-width:768px) {
	.container-portfolio h2 {
		font-size: 46px !important;
	}
}
.p-txt {
	text-align: center;
	margin: 0px 0px 30px 0px;
}
/* === CONTENEDOR GENERAL DE CADA CARD === */

.content-portfolio {
	display: flex;
	align-items: center;
	text-align: left;
	margin: 40px auto;
	/* centrado horizontal */
	gap: 30px;
	border: 2px solid #fff;
	border-radius: 20px;
	padding: 20px 30px;
	background-color: rgba(255, 255, 255, 0.1);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
	max-width: 1194px;
	min-width: 74px;
	min-height: 220px;
	box-sizing: border-box;
}
/* Hover para destacar card */

.content-portfolio:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
	background-color: rgba(255, 255, 255, 0.2);
}
/* === TEXTO Y BOTONES DENTRO DE LA CARD === */

.text-portfolio {
	flex: 1;
	min-width: 0;
	/* evita que el texto expanda la tarjeta */
}
.text-portfolio h3 {
	font-size: 26px;
	margin-bottom: 15px;
	color: #1a73e8;
}
.text-portfolio p {
	font-size: 16px;
	line-height: 1.5;
	margin-bottom: 20px;
	color: #333;
}
.text-portfolio p a {
	color: #a200ff;
	text-decoration: underline;
}
/* Botones */

.btn-b {
	background: linear-gradient(to bottom, #a200ff, #e600ff);
	color: #fff;
	padding: 10px 20px;
	border-radius: 15px;
	text-decoration: none;
	transition: 0.3s ease;
	display: inline-block;
}
.btn-b:hover {
	background: linear-gradient(to bottom, #ff0099, #b300ff);
	transform: scale(1.05);
}
/* === IMAGEN DE LA CARD === */

.img-01 {
	width: 250px;
	height: 180px;
	object-fit: cover;
	border-radius: 15px;
	flex-shrink: 0;
	/* evita que la imagen se reduzca */
}
/* === CARDS INVERTIDAS (IMAGEN A LA DERECHA) === */

.content-portfolio.reverse {
	flex-direction: row-reverse;
}
/* === RESPONSIVO PARA MÓVILES === */

@media (max-width: 767px) {
	.content-portfolio, .content-portfolio.reverse {
		flex-direction: column !important;
		text-align: center !important;
		gap: 20px;
		margin: 20px 10px;
		padding: 15px;
		max-width: 100%;
		min-height: auto;
	}
	.img-01 {
		width: 80%;
		height: auto;
		margin: 0 auto;
	}
	.text-portfolio h3 {
		font-size: 22px;
	}
	.text-portfolio p {
		font-size: 15px;
	}
}
/* === AJUSTE EN ESCRITORIO PARA REVERSE === */

@media (min-width: 768px) {
	.content-portfolio.reverse .img-01 {
		margin-left: 50px;
		margin-right: 0;
	}
}
/* Imagen a la derecha */

.reverse {
	flex-direction: row-reverse;
	/* invierte imagen y texto */
}
/*ageda miento de ciat*/

/* de cuadre del imagen y text*/

/* Contenedor del formulario */

.form-container {
	background: #fff;
	border-radius: 12px;
	padding: 30px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	max-width: 500px;
	margin: auto;
}
input, select, textarea {
	border: 1px solid #A3D2CA;
	border-radius: 6px;
	padding: 10px;
	width: 100%;
}
button[type="submit"] {
	background: #4A90E2;
	color: white;
	padding: 12px 20px;
	border-radius: 8px;
	border: none;
	font-weight: 600;
	transition: 0.3s;
}
button[type="submit"]:hover {
	background: #2E3A59;
}
/* comando*/

/* Onda arriba */

/* Onda arriba */

/* Onda arriba */

.wave-top {
	position: absolute;
	bottom: -7px;
	/* Anclado a la parte inferior del header */
	left: 0;
	width: 118%;
	overflow: hidden;
	z-index: 1;
	display: block;
	/* Elimina margin-bottom: 1px; */
}
.wave-top path {
	fill: #F1FFF8;
	stroke: none;
}
/* Ajustar el contenido para que no quede tapado */

/* Efecto: subir + opacidad */

@keyframes revealUp {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
/* Clases para escalonar la aparición */

.delay-1 {
	opacity: 0;
	transform: translateY(19px);
	animation: revealUp .9s forwards;
	animation-delay: .25s;
}
.about {
	text-align: center;
	padding: 30px 0;
	/* corregido */
	margin-top: 50px;
	/* <--- AÑADE ESTO: Empujará la sección "Nosotros" hacia abajo */
	/* Puedes ajustar '50px' al valor que necesites para la separación. */
}
.about h2 {
	font-size: 45px;
	margin-bottom: 25px;
	text-transform: uppercase;
}
/* ... (resto de tu CSS) ... */

/* Puedes también ajustar el padding-bottom del header si sientes que el espacio entre el header y "Nosotros" es muy poco. */

/* Por ejemplo, en tu header: */

header {
	/* ... tus estilos actuales ... */
	padding-bottom: 30px;
	/* Puedes añadir un padding-bottom para darle más espacio si es necesario */
}
/*posicion de servicio */

/* Ajusta 80px a la altura real de tu header */

#services, #pricing, #equipo, #Agendar, #nosotros {
	scroll-margin-top: 4px;
	/* igual que altura de nav */
}
html {
	scroll-behavior: smooth;
	/* activa scroll suave */
}
/* perfil del profecional  */

/* ======== TESTIMONIOS – PSICOLOGÍA ======== */

.team-layout {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 30px;
	margin: 60px auto;
	max-width: 1200px;
	padding: 0 20px;
}
.team-carousel-container {
	flex: 1 1 500px;
	min-width: 300px;
	height: 480px;
	perspective: 1000px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
}
.team-carousel-track {
	transform-style: preserve-3d;
	transition: transform 0.8s ease;
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}
.member-contacto {
	font-size: 0.95rem;
	color: #555;
	/* color gris */
	margin-top: 5px;
	font-style: italic;
	/* opcional para diferenciar */
}
.team-carousel-card {
	position: absolute;
	width: 280px;
	height: 400px;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
	transition: all 0.8s ease;
	cursor: pointer;
}
.team-carousel-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.team-carousel-card.center {
	z-index: 10;
	transform: scale(1.1) translateZ(0);
}
.team-carousel-card.left-1 {
	z-index: 5;
	transform: translateX(-220px) scale(0.9) translateZ(-100px);
	opacity: 0.9;
	filter: grayscale(100%);
}
.team-carousel-card.right-1 {
	z-index: 5;
	transform: translateX(220px) scale(0.9) translateZ(-100px);
	opacity: 0.9;
	filter: grayscale(100%);
}
.team-carousel-card.left-2 {
	z-index: 1;
	transform: translateX(-440px) scale(0.8) translateZ(-300px);
	opacity: 0.7;
	filter: grayscale(100%);
}
.team-carousel-card.right-2 {
	z-index: 1;
	transform: translateX(440px) scale(0.8) translateZ(-300px);
	opacity: 0.7;
	filter: grayscale(100%);
}
.team-carousel-card.hidden {
	opacity: 0;
	pointer-events: none;
}
.team-carousel-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(8, 42, 123, 0.7);
	color: white;
	width: 45px;
	height: 45px;
	border-radius: 50%;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
	z-index: 20;
	transition: all 0.3s ease;
}
.team-carousel-arrow:hover {
	transform: translateY(-50%) scale(1.1);
	background: rgba(0, 0, 0, 0.8);
}
.team-carousel-arrow.left {
	left: 10px;
}
.team-carousel-arrow.right {
	right: 10px;
}
.member-info {
	flex: 1 1 400px;
	min-width: 250px;
	display: flex;
	flex-direction: column;
	gap: 15px;
}
.member-info h2 {
	font-size: 1.8rem;
	margin: 0;
	color: #0b2a75;
}
.member-info p {
	margin: 5px 0;
	color: #333;
	line-height: 1.4;
}
.team-carousel-dots {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-top: 30px;
}
.team-carousel-dot {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: rgba(8, 42, 123, 0.3);
	cursor: pointer;
	transition: all 0.3s ease;
}
.team-carousel-dot.active {
	background: rgb(8, 42, 123);
	transform: scale(1.3);
}
@media screen and (max-width: 900px) {
	.team-layout {
		flex-direction: column;
		align-items: center;
		margin: 40px auto;
	}
	.team-carousel-container {
		width: 100%;
		height: 400px;
		margin-bottom: 20px;
	}
	.member-info {
		width: 90%;
		text-align: center;
	}
}
@media (max-width: 767px) {
	.services-container {
		flex-direction: column;
		align-items: center;
		gap: 25px;
		/* espacio entre cada bloque */
	}
	.service-card {
		flex-direction: column;
		align-items: center;
	}
	.card {
		width: 90%;
		/* ocupa casi todo el ancho */
		max-width: 350px;
		/* límite para que no se estire demasiado */
		padding: 25px 20px;
		/* más aire dentro */
		font-size: 16px;
		/* texto un poco más grande */
		line-height: 1.6;
		/* mejor legibilidad */
		justify-content: center
	}
	.card-body {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		text-align: center;
	}
	.services-text {
		margin-top: 30px;
		font-size: 16px;
		text-align: center;
	}
	.services-text h2 {
		font-size: 26px;
		/* más pequeño en móvil */
		margin-bottom: 15px;
	}
}
/* Solo en móvil */

@media (max-width: 768px) {
	.accordion {
		width: 90%;
		margin: 0 auto;
	}
	.accordion-item {
		border-bottom: 1px solid #ddd;
	}
	.accordion-header {
		width: 100%;
		padding: 15px;
		background: #f9f9f9;
		border: none;
		outline: none;
		font-size: 18px;
		font-weight: bold;
		display: flex;
		justify-content: space-between;
		align-items: center;
		cursor: pointer;
	}
	.accordion-header .arrow {
		transition: transform 0.3s ease;
	}
	.accordion-header.active .arrow {
		transform: rotate(180deg);
	}
	.accordion-content {
		max-height: 0;
		overflow: hidden;
		padding: 0 15px;
		font-size: 15px;
		color: #444;
		line-height: 1.6;
		transition: max-height 0.3s ease, padding 0.3s ease;
	}
	.accordion-content.show {
		max-height: 200px;
		/* Ajusta según la cantidad de texto */
		padding: 10px 15px;
	}
}
/* ====== SECCIÓN ABOUT (Versión Móvil y Tablets Pequeñas, hasta 800px) ====== */

@media (min-width:772px) and (max-width: 870px) {
	.about {
		padding: 30px 15px;
		margin-top: 0;
		background-color: #f5f9ff;
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	.about h2 {
		font-size: 27px !important;
		margin-bottom: 20px;
		color: #1a73e8;
		line-height: 1.2;
	}
	.about p {
		font-size: 16px;
		color: #333;
		line-height: 1.6;
		margin-bottom: 25px;
		padding: 0 12px;
	}
	/* 🔹 Contenedor de los iconos */
	.icons-about {
		display: flex;
		flex-wrap: wrap;
		/* permite 2 arriba y 1 abajo */
		gap: 18px;
		width: 100%;
		position: relative;
	}
	/* 🔹 Cada cuadro */
	.icon-about {
		max-width: 343px;
		background: #ffffff;
		border-radius: 16px;
		padding: 22px;
		width: calc(50% - 10px);
		/* dos cuadros arriba, mismo tamaño */
		justify-content: center;
		/* centra horizontalmente */
		align-items: center;
		/* centra verticalmente (si aplica altura) */
		min-height: 220px;
		/* 👈 iguala la altura de todos */
		box-shadow: 0 4px 12px rgba(70, 63, 63, 0.08);
		text-align: center;
		transition: transform 0.2s ease;
		display: flex;
		flex-direction: column;
		justify-content: center;
		/* centra contenido verticalmente */
		align-items: center;
		/* centra horizontalmente */
	}
	/* 🔹 El tercer cuadro abajo alineado a la izquierda */
	.icon-about:nth-child(3) {
		width: calc(50% - 10px);
		margin-right: 412px;
		;
		/* lo empuja a la izquierda */
	}
	.icon-about:hover {
		transform: translateY(-4px);
	}
	.icon-about img {
		width: 70px !important;
		margin-bottom: 14px;
	}
	.icon-text h3 {
		font-size: 19px;
		margin-bottom: 8px;
		color: #2c3e50;
		margin-left: 14px;
	}
	.icon-text p {
		font-size: 15px;
		color: #555;
		line-height: 1.5;
		margin-left: 7px;
	}
}
@media (max-width: 767px) {
	.about {
		padding: 30px 15px;
		margin-top: auto;
		/* azul muy claro */
	}
	.about h2 {
		font-size: 29px !important;
		margin-bottom: 20px;
		text-align: center;
		color: #1a73e8;
	}
	.about p {
		font-size: 15px;
		text-align: center;
		margin-bottom: 25px;
		color: #333;
		line-height: 1.6;
	}
	.icons-about {
		display: flex;
		flex-direction: column;
		gap: 18px;
	}
	.icon-about {
		background: #ffffff;
		border-radius: 16px;
		padding: 20px;
		box-shadow: 0 4px 12px rgba(70, 63, 63, 0.08);
		text-align: center;
	}
	.icon-about img {
		width: 64px !important;
		margin-bottom: 12px;
	}
	.icon-text h3 {
		font-size: 18px;
		margin-bottom: 8px;
		color: #2c3e50;
	}
	.icon-text p {
		font-size: 14px;
		color: #555;
		line-height: 1.5;
	}
}
/* ====== SECCIÓN PRECIOS ====== */

.pricing {
	padding: 80px 20px;
	/* 👈 mismo espacio vertical que otras secciones */
	/* azul claro de fondo */
	text-align: center;
}
.pricing h2 {
	font-size: 36px;
	color: #1a73e8;
	margin-bottom: 15px;
}
@media (max-width: 767px) {
	.pricing h2 {
		font-size: 29px !important;
	}
}
.pricing p {
	margin-bottom: 50px;
	/* 👈 separa bien el subtítulo de las tarjetas */
	font-size: 17px;
	color: #444;
	max-width: 700px;
	/* 👈 ancho de texto controlado */
	margin-left: auto;
	margin-right: auto;
}
.pricing-cards {
	display: flex;
	justify-content: center;
	gap: 30px;
	/* 👈 más aire entre tarjetas */
	flex-wrap: wrap;
	/* 👈 se apilan en móvil */
}
.pricing .card {
	background: #fff;
	border-radius: 16px;
	padding: 35px 25px;
	/* 👈 aire interno igual que otras secciones */
	width: 310px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease;
}
.pricing .card:hover {
	transform: translateY(-8px);
}
.pricing .card.featured {
	border: 2px solid #1a73e8;
	transform: scale(1.05);
}
.price {
	font-size: 28px;
	color: #1a73e8;
	margin: 20px 0;
}
.price span {
	font-size: 14px;
	color: #666;
}
.card ul {
	list-style: none;
	padding: 0;
	margin: 25px 0;
	text-align: left;
}
.card ul li {
	margin: 10px 0;
	font-size: 15px;
	color: #333;
}
.btn {
	display: inline-block;
	background: #1a73e8;
	color: #fff;
	padding: 12px 25px;
	border-radius: 25px;
	text-decoration: none;
	font-weight: bold;
	transition: background 0.3s ease;
}
.btn:hover, button:hover {
	background-color: #2E3A59;
}
/* ====== SECCIÓN AGENDA ====== */

.agenda-section {
	padding: 100px 20px;
	display: flex;
	justify-content: center;
	align-items: center;
}
.agenda-container {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: 60px;
	max-width: 1100px;
	margin: 0 auto;
}
/* Texto/frase */

.agenda-text {
	flex: 1;
	text-align: left;
	color: #2c3e50;
	padding: 20px;
}
.agenda-text h2 {
	color: #1a73e8;
	font-size: 34px;
	margin-bottom: 15px;
}
.agenda-text p {
	font-size: 18px;
	line-height: 1.6;
	font-style: italic;
	color: #444;
}
/* Formulario */

.form-container {
	flex: 1;
	max-width: 500px;
	padding: 40px 30px;
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
	animation: slideUp 0.8s ease-out;
}
.form-container h2 {
	color: #1a73e8;
	font-size: 28px;
	text-align: center;
	margin-bottom: 25px;
}
.form-group {
	display: flex;
	flex-direction: column;
	margin-bottom: 14px;
}
.form-group label {
	gap: 1px;
	/* 🔹 reduce el espacio entre el checkbox y el texto */
	font-size: 14.5px;
	line-height: 1.5;
}
.form-group input[type="checkbox"] {
	width: 18px;
	height: 18px;
	accent-color: #1a73e8;
	/* color azul estilo Google */
}
.form-group label {
	margin-bottom: 6px;
	font-size: 15px;
}
.form-container input, .form-container select, .form-container textarea {
	padding: 12px 15px;
	border: 1px solid #d0d7e2;
	border-radius: 12px;
	font-size: 15px;
	background: #fafbff;
	transition: all 0.3s ease;
}
.form-container input:focus, .form-container select:focus, .form-container textarea:focus {
	border-color: #1a73e8;
	box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
	outline: none;
	background: #fff;
}
/* Botón */

.form-container button {
	margin-top: 10px;
	background: #1a73e8;
	color: #fff;
	padding: 14px;
	font-size: 16px;
	font-weight: 600;
	border: none;
	border-radius: 25px;
	cursor: pointer;
	width: 100%;
	transition: background 0.3s ease, transform 0.2s ease;
}
.form-container button:hover {
	background: #1558b0;
	transform: translateY(-2px);
}
/* Animación */

@keyframes slideUp {
	from {
		transform: translateY(40px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}
/* Responsive */

@media (max-width: 767px) {
	.agenda-container {
		flex-direction: column;
		gap: 30px;
	}
	.agenda-text {
		text-align: center;
	}
	.agenda-text h2 {
		font-size: 24px;
	}
	.agenda-text p {
		font-size: 16px;
	}
	.form-container {
		padding: 25px 20px;
		border-radius: 16px;
	}
}
/* ====== FOOTER ====== */

.site-footer {
	background: #1a73e8;
	color: #fff;
	padding: 50px 20px 20px;
	margin-top: 27px;
}
.footer-container {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	max-width: 1200px;
	margin: 0 auto;
	gap: 40px;
}
.footer-container h3, .footer-container h4 {
	margin-bottom: 15px;
	font-weight: 600;
}
.footer-about p {
	max-width: 300px;
	line-height: 1.6;
}
.footer-links ul {
	list-style: none;
	padding: 0;
}
.footer-links li {
	margin-bottom: 8px;
}
.footer-links a {
	text-decoration: none;
	color: #fff;
	transition: color 0.3s ease;
}
.footer-links a:hover {
	color: #dfe9ff;
}
.footer-social a {
	margin-right: 12px;
	display: inline-block;
	transition: transform 0.3s ease;
}
.footer-social a:hover {
	transform: scale(1.1);
}
.footer-bottom {
	text-align: center;
	margin-top: 30px;
	font-size: 14px;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	padding-top: 15px;
}
/* Responsive */

@media (max-width: 767px) {
	.footer-container {
		flex-direction: column;
		text-align: center;
		gap: 30px;
	}
	.footer-about p {
		margin: 0 auto;
	}
}
/* Botón destacado Agendar Cita */

.nav-menu .btn-agendar {
	background: linear-gradient(135deg, #1a73e8, #4a90e2);
	/* degradado azul */
	color: #fff !important;
	padding: 10px 22px;
	border-radius: 35px;
	font-weight: 600;
	letter-spacing: 0.5px;
	border: 2px solid #ffffff;
	/* borde blanco inicial */
	box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
	transition: background 0.3s ease, border 0.3s ease, box-shadow 0.3s ease;
	display: inline-block;
}
/* Hover: cambia color y borde */

.nav-menu .btn-agendar:hover {
	background: linear-gradient(135deg, #1558b0, #357abd);
	border: 2px solid #dce9ff;
	/* borde azul claro */
	box-shadow: 0 6px 16px rgba(21, 88, 176, 0.4);
}
/* Estado activo (clic o seleccionado) */

.nav-menu .btn-agendar:active, .nav-menu .btn-agendar.active {
	background: linear-gradient(135deg, #0d47a1, #1565c0);
	/* azul más intenso */
	border: 2px solid #bbdefb;
	/* borde azul clarito */
	box-shadow: 0 3px 10px rgba(13, 71, 161, 0.4);
}
/* ====== FOOTER ====== */

.site-footer {
	background: #000000;
	/* Fondo negro */
	padding: 40px 20px;
	font-family: Arial, sans-serif;
	color: #ffffff;
	/* Texto principal blanco */
}
/* Contenedor de columnas */

.footer-container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	/* Escritorio: 3 columnas */
	gap: 20px;
	max-width: 1200px;
	margin: 0 auto;
}
/* Columna 1: About */

.footer-about h3 {
	margin-bottom: 10px;
	font-size: 20px;
	color: #1a73e8;
	/* Azul oscuro para buen contraste */
}
.footer-about p {
	line-height: 1.5;
	font-size: 14px;
	color: #ffffff;
	/* Blanco para leer sobre fondo negro */
}
/* Columna 2: Links */

.footer-links h4, .footer-social h4 {
	margin-bottom: 10px;
	font-size: 18px;
	color: #1a73e8;
	/* Azul oscuro */
}
.footer-links ul {
	list-style: none;
	padding: 0;
}
.footer-links ul li {
	margin: 8px 0;
}
.footer-links ul li a {
	text-decoration: none;
	/* Blanco para enlaces */
	transition: color 0.3s;
}
.footer-links ul li a:hover {
	color: #1a73e8;
	/* Azul al pasar el mouse */
}
/* Columna 3: Redes sociales */

.footer-social {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.footer-social a {
	display: flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	font-size: 16px;
	color: #ffffff;
	/* Blanco para iconos y texto */
	transition: transform 0.3s, color 0.3s;
}
.footer-social i {
	font-size: 22px;
}
/* Colores oficiales de redes */

.footer-social a.facebook i {
	color: #1877F2;
}
.footer-social a.instagram i {
	color: #E1306C;
}
.footer-social a.whatsapp i {
	color: #25D366;
}
.footer-social a:hover {
	transform: translateX(5px);
	color: #0b47b5;
	/* Azul más intenso al pasar el mouse */
}
/* Parte inferior */

.footer-bottom {
	text-align: center;
	padding: 15px 0;
	margin-top: 20px;
	border-top: 1px solid #ddd;
	font-size: 14px;
	color: #ffffff;
	/* Blanco para buen contraste */
}
/* ====== RESPONSIVE ====== */

@media (max-width: 768px) {
	.footer-container {
		grid-template-columns: 1fr;
		/* Apilar columnas en móvil */
		text-align: center;
	}
	/* Enlaces en columna centrada */
	.footer-links ul {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 10px;
	}
	/* Redes sociales centradas */
	.footer-social {
		flex-direction: column;
		align-items: center;
		gap: 15px;
		flex-wrap: wrap;
		max-width: 100%;
		/* Evita que se salga */
	}
	.footer-social a {
		flex-direction: row;
		align-items: center;
		justify-content: center;
		font-size: 16px;
		white-space: nowrap;
		/* Evita que WhatsApp se rompa */
	}
	.footer-social i {
		font-size: 24px;
	}
}
.testimony__course {
	color: #032a5e;
	/* Azul oscuro para buen contraste */
	font-weight: 600;
	/* Opcional: resaltar un poco */
}
.testimony__subtitle {
	color: #000000;
	/* Negro para el nombre o texto principal */
}
/* LinkedIn separado de otras redes */

.footer-social .linkedin {
	display: flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	font-size: 16px;
	color: #0e76a8;
	/* azul LinkedIn */
	margin-bottom: 20px;
	/* separación con los otros iconos */
}
.footer-social .linkedin i {
	font-size: 22px;
}
/* Hover */

.footer-social .linkedin:hover {
	color: #084d7a;
	transform: translateX(5px);
}
/* Otros iconos de redes sociales */

.footer-social a:not(.linkedin) {
	display: flex;
	align-items: center;
	gap: 8px;
	white-space: 40PX;
	/* blanco sobre fondo negro */
	transition: transform 0.3s, color 0.3s;
}
.footer-social a:not(.linkedin):hover {
	color: #0b47b5;
	transform: translateX(5px);
}
.logo-container {
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	padding: 0;
	margin: 0;
}
/* Parte inferior */
/* ===== Estilos base ===== */
.headline {
	font-weight: 700;
	letter-spacing: 0.02em;
}
.top1 {
	color: #ffffff;
	font-size: 15px;
}
.top2 {
	color: #fef6e4;
	font-size: 14px;
}
.logo-container img.logo {
	width: 60px;
	height: auto;
	object-fit: contain;
	margin: 6px 0;
	margin-top: 30px;
	vertical-align: middle;
	
}
/* ===== Logo solo en escritorio ===== */
@media (min-width: 769px) {
  .logo-container img.logo {
    width: 60px;
    height: auto;
    object-fit: contain;
    margin: 6px 0;
    margin-top: 9px;
    margin-left: 50px;
    vertical-align: middle;
  }



}


.brand {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: "Montserrat", sans-serif;
	font-weight: 600;
	margin-top: 5px;
}
.psicolo {
	color: #f0dc2bff;
	font-size: 14px;
	letter-spacing: 0.03em;
}
.dotonline {
	color: #fff7d6;
	font-size: 14px;
	letter-spacing: 0.03em;
	margin-left: -8px;
}
.small-online {
	font-size: 11px;
	color: #1100ff;
	text-decoration: underline;
	text-underline-offset: 3px;
	margin-left: 3px;
	font-weight: 700;
}

/* ===== 📱 Móviles (texto más pequeño y centrado) ===== */
@media (max-width: 733px) {
	.logo-card {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
		transform: scale(1);
		margin-top: 4px;
	}

	.logo-container img.logo {
		width: 70px;
		margin-top: 5px;
	}

	.top1 { font-size: 13px; }
	.top2 { font-size: 12px; }
	.psicolo, .dotonline { font-size: 12px; }
	.small-online { font-size: 9px; }

	header, nav {
		display: flex;
		align-items: center;
		justify-content: space-between;
		flex-wrap: nowrap;
	}
}

/* ===== 📱 Horizontal pequeño (acostado) ===== */
@media (max-height: 500px) and (orientation: landscape) {
	.logo-card {
		transform: scale(0.95);
		line-height: 1.2;
		margin-top: 5px;
	}

	.logo-container img.logo {
		width: 60px;
		margin-top: 5px;
	}

	.top1 { font-size: 12px; }
	.top2 { font-size: 11px; }
	.psicolo, .dotonline { font-size: 11px; }
	.small-online { font-size: 8px; }

	header, nav {
		flex-wrap: wrap;
		justify-content: center;
	}
}


.site-footer {
	background: #f9f9f9;
	padding: 60px 20px 30px;
	color: #333;
	font-family: "Poppins", sans-serif;
}
.footer-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 30px;
	max-width: 1200px;
	margin: auto;
}
.footer-container h3, .footer-container h4 {
	color: #1a73e8;
	margin-bottom: 15px;
}
.footer-about p {
	line-height: 1.5;
	color: #555;
	margin-top: -10px;
}
.footer-links ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.footer-links li {
	margin-bottom: 8px;
}
.footer-links a {
	text-decoration: none;
	color: #333;
	transition: color 0.3s;
}
.footer-links a:hover {
	color: #1a73e8;
}
.footer-social a {
	display: flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	color: #333;
	margin-bottom: 10px;
	transition: color 0.3s;
}
.footer-social a:hover {
	color: #1a73e8;
}
.footer-location p {
	font-size: 1rem;
	color: #333;
}
.footer-location a {
	color: #1a73e8;
	text-decoration: none;
	font-weight: 600;
}
.footer-location a:hover {
	text-decoration: underline;
}
/* Línea inferior del footer */

.footer-bottom {
	text-align: center;
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid #ddd;
	font-size: 0.9rem;
	color: #555;
}
/* Adaptación móvil */

@media (max-width: 768px) {
	.site-footer {
		padding: 40px 15px 20px;
	}
	.footer-container {
		grid-template-columns: 1fr;
		text-align: center;
	}
	.footer-social a {
		justify-content: center;
	}
}
.footer-logo-text {
	display: flex;
	align-items: center;
	/* Centra verticalmente el texto con el logo */
	justify-content: center;
	/* Centra todo horizontalmente */
	gap: 1px;
	/* Espacio entre logo y texto */
	margin-left: -30px;
}
.logo-footer {
	width: 120px;
	/* Ajusta el tamaño del logo */
	height: auto;
}
.footer-logo-text h3 {
	font-size: 1.4em;
	/* Tamaño del texto */
	font-weight: bold;
	color: #333;
	/* Color del texto */
	margin: 0;
	/* Elimina espacio extra */
}
/* En pantallas pequeñas */

@media (max-width: 600px) {
	.footer-logo-text {
		flex-direction: column;
		/* Logo arriba, texto abajo en móvil */
	}
	.logo-footer {
		width: 100px;
	}
}
/* BOTÓN PRINCIPAL (reemplaza o mejora el .btn-a) */

.btn-principal {
	display: inline-block;
	background-color: #2ECC71;
	/* Verde jade, coherente con tu header */
	color: #fff;
	padding: 12px 28px;
	border-radius: 30px;
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.5px;
	box-shadow: 0 4px 12px rgba(46, 204, 113, 0.4);
	transition: all 0.3s ease;
}
.btn-principal:hover {
	background-color: #27AE60;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(39, 174, 96, 0.5);
}
/* TITULARES GLOBALES */

h1, h5,h2, h3,h4 {
	font-family: "Familjen Grotesk", sans-serif;
	color: #1a73e8;
}
/* Jerarquía visual */

h2 {
	font-size: 2rem;
	color: #1a73e8;
	/* verde jade para secciones */
	margin-bottom: 20px;
}
h3 {
	font-size: 1.4rem;
	color: #555;
	margin-bottom: 10px;
}
/* En móviles */

@media (max-width: 768px) {
	h1,h5,h4 {
		font-size: 2.2rem;
	}
	h2 {
		font-size: 1.6rem;
	}
	h3 {
		font-size: 1.2rem;
	}
}
/* ======== BOTÓN ======== */

.btn-b {
	display: inline-block;
	background: linear-gradient(90deg, #4A90E2, #50E3C2);
	color: white;
	padding: 12px 24px;
	border-radius: 25px;
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-b:hover {
	transform: scale(1.05);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
/* ======== RESPONSIVO ======== */

@media (max-width: 768px) {
	.content-portfolio {
		flex-direction: column;
		text-align: center;
		padding: 20px;
	}
	.img-01 {
		width: 100%;
		height: auto;
	}
	.text-portfolio {
		width: 100%;
	}
	.text-portfolio h3 {
		font-size: 22px;
	}
	.text-portfolio p {
		font-size: 15px;
	}
	.btn-b {
		width: 80%;
	}
}
html, body {
	margin: 0;
	padding: 0;
	overflow-x: hidden;
	/* Evita scroll horizontal */
	width: 100%;
}
/* === CONTENEDOR GENERAL === */

.assessments-section {
	max-width: 1334px;
	margin: 0 auto;
	padding: 40px 20px;
	overflow: hidden;
	box-sizing: border-box;
}
/* === CONTENEDOR INTERNO === */

.assessments-container {
	display: flex;
	flex-direction: column;
	/* Imagen arriba, texto abajo por defecto */
	align-items: center;
	text-align: center;
	gap: 30px;
}
/* === IMAGEN === */

.assessments-image img {
	width: 100%;
	max-width: 420px;
	height: auto;
	border-radius: 10px;
	object-fit: cover;
}
/* === TEXTO === */

.assessments-text {
	max-width: 500px;
	padding: 0 10px;
}
.assessments-text h5,h4 {
	font-size: 1.6rem;
	margin-bottom: 15px;
	line-height: 1.3;
}
.assessments-text span {
	color: #2ECC71;
}
.assessments-text p {
	font-size: 1rem;
	color: #555;
	line-height: 1.6;
}
/* === SOLO MÓVIL (hasta 600px) === */

@media (max-width: 600px) {
	/* Reorganiza para que el texto quede arriba y la imagen abajo */
	.assessments-container {
		display: flex;
		flex-direction: column;
		/* Texto arriba, imagen abajo */
		align-items: center;
		justify-content: center;
		text-align: center;
		gap: 25px;
	}
	.assessments-text {
		order: 1;
		padding: 0 10px;
		max-width: 90%;
	}
	.assessments-image {
		order: 2;
	}
	.assessments-text h5,h4 {
		font-size: 1.4rem;
		margin-bottom: 10px;
	}
	.assessments-text p {
		font-size: 1rem;
		line-height: 1.5;
	}
	.assessments-image img {
		max-width: 320px;
		margin-top: 10px;
	}
	.about-title {
		font-size: 29px;
		margin-bottom: 40px;
		text-align: center;
		margin-top: 8px;
	}
	.assessments-container {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		gap: 25px;
	}
	.assessments-text {
		padding: 0 10px;
		max-width: 90%;
	}
	.assessments-text h5,h4 {
		font-size: 1.3rem;
		margin-bottom: 10px;
	}
	.assessments-text p {
		font-size: 0.9rem;
		line-height: 1.5;
	}
	.assessments-image img {
		max-width: 320px;
		margin-top: 10px;
	}
	.about-title {
		font-size: 29px;
		margin-bottom: 40px;
		text-align: center;
		margin-top: 8px;
	}
	.team-carousel-dots {
		display: flex;
		justify-content: center;
		gap: 30px;
		margin-left: -4px;
		margin-top: 35px;
	}
}
/* === TABLET NORMAL (601px a 767px) === */

@media (min-width: 601px) and (max-width: 767px) {
	.assessments-container {
		flex-direction: column;
		/* Imagen arriba, texto abajo */
		text-align: center;
		gap: 40px;
	}
	.assessments-image img {
		max-width: 520px;
	}
	.assessments-text {
		max-width: 600px;
		font-size: 1.05rem;
	}
	.assessments-text h5,h4 {
		font-size: 1.8rem;
	}
	.about-title {
		text-align: center;
		font-size: 46px !important;
		font-weight: 600;
		margin-bottom: 2rem;
		color: #1a73e8;
	}
}
/* === TABLET HORIZONTAL (768px a 900px) → lado a lado pero adaptado === */

@media (min-width: 768px) and (max-width: 1024px) {
	.assessments-container {
		flex-direction: row;
		/* Texto e imagen lado a lado */
		justify-content: space-between;
		align-items: center;
		text-align: left;
		gap: 25px;
		flex-wrap: nowrap;
		margin-top: -30px;
	}
	.about-title {
		text-align: center;
		font-size: 46px !important;
		font-weight: 600;
		margin-bottom: 2rem;
		color: #505bff;
	}
	.assessments-text {
		flex: 1;
		max-width: 47%;
		padding-right: 10px;
	}
	.img-duracion {
		margin-top: -24px;
		margin-left: -6px;
	}
	.img-psicologico {
		margin-top: 147px;
		margin-left: 23px;
	}
	.assessments-image {
		flex: 1;
		display: flex;
		justify-content: flex-end;
	}
	.assessments-image img {
		width: 100%;
		max-width: 131%;
		height: auto;
	}
	.text-duracion {
		margin-left: 30px;
	}
	.assessments-text h5,h4 {
		font-size: 1.5rem;
		margin-top: 89px;
		line-height: 2rem;
	}
	.assessments-text p {
		font-size: 15px;
		line-height: 24px;
	}
}
/* === ESCRITORIO (desde 1025px en adelante) === */

@media (min-width: 1025px) {
	.agenda-section {
		padding: 100px 20px;
		display: flex;
		justify-content: center;
		align-items: center;
		margin-top: 150px;
	}
	.assessments-container {
		flex-direction: row;
		justify-content: center;
		align-items: center;
		text-align: left;
		gap: 60px;
		margin-top: 9rem;
	}
	.assessments-text p {
		padding-top: 1.25rem;
		font-family: 'Poppins', sans-serif;
		font-size: 19px;
	}
	.assessments-text {
		flex: 1;
		padding-left: 11px;
		max-width: 600px;
	}
	.assessments-image {
		flex: 1;
		display: flex;
		justify-content: flex-end;
	}
	.assessments-image img {
		width: 100%;
		max-width: 600px;
		height: auto;
	}
	.assessments-text h5,h4 {
		font-weight: 600;
		font-size: 32px;
		line-height: 2rem;
		font-family: 'Poppins', sans-serif;
	}
	.member-info {
		flex: 1 1 100px;
		/* crece o se encoje según el espacio disponible */
		min-width: 250px;
		/* tamaño mínimo del contenedor */
		display: flex;
		/* activa flexbox */
		flex-direction: column;
		/* organiza los elementos en columna */
		gap: 22px;
		/* espacio entre cada elemento hijo */
	}
	.team-layout {
		display: flex;
		justify-content: space-between;
		align-items: center;
		flex-wrap: wrap;
		gap: 154px;
		margin: 60px auto;
		max-width: 1200px;
		padding: 0 20px;
	}
	.about-title {
		text-align: center;
		font-size: 46px !important;
		font-weight: 600;
		/* Negrita media */
		margin-bottom: 2rem;
		/* Espaciado con lo que sigue */
		color: #1a73e8;
		/* Mantén un tono coherente con tu diseño */
	}
}
/* ===== Animación al aparecer ===== */

.icon-about {
	opacity: 0;
	transform: translateY(50px);
	transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.icon-about.visible {
	opacity: 1;
	transform: translateY(0);
}
.icon-about:nth-child(1) {
	transition-delay: 0.1s;
}
.icon-about:nth-child(2) {
	transition-delay: 0.2s;
}
.icon-about:nth-child(3) {
	transition-delay: 0.3s;
}
/* ===== Lista con indicadores numerados ===== */

.assessments-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.assessments-list li {
	position: relative;
	padding-left: 40px;
	/* espacio para el número */
	margin-bottom: 20px;
	font-size: 1rem;
	line-height: 1.6;
	color: #555;
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.assessments-list li.visible {
	opacity: 1;
	transform: translateY(0);
}
.assessments-list li .indicator {
	position: absolute;
	left: 0;
	top: 0;
	width: 28px;
	height: 28px;
	background-color: #2ECC71;
	color: white;
	border-radius: 50%;
	text-align: center;
	line-height: 28px;
	font-weight: bold;
	font-size: 0.9rem;
}
/* ====== ESTILOS FAQ ====== */

.faq-container {
	max-width: 800px;
	margin: 0 auto;
	text-align: left;
}
.faq-title {
	text-align: center;
	font-size: 2rem;
	color: #1a73e8;
	margin-bottom: 20px;
}
.faq-item {
	margin-bottom: 15px;
	border-bottom: 1px solid #ddd;
}
.faq-question {
	width: 100%;
	background: none;
	border: none;
	text-align: left;
	font-size: 1.1rem;
	padding: 12px;
	cursor: pointer;
	color: #2c3e50;
	font-weight: 600;
	transition: background 0.3s;
}
.faq-question:hover {
	background-color: #f0f0f0;
}
.faq-answer {
	display: none;
	padding: 10px 12px;
	color: #444;
	line-height: 1.5;
	transition: max-height 0.3s ease;
}
/*animacion*/

/* ==== Configuración general ==== */

.content-portfolio {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	margin-bottom: 80px;
	flex-wrap: wrap;
	/* Efecto inicial (oculto) */
	opacity: 0;
	transform: translateY(60px);
	transition: opacity 1s ease-out, transform 1s ease-out;
}
/* Efecto cuando entra a la vista */

.content-portfolio.visible {
	opacity: 1;
	transform: translateY(0);
}
/* Cambiar orden para alternar imagen y texto */

.content-portfolio.reverse {
	flex-direction: row-reverse;
}
/* Imagen */

.content-portfolio img.img-01 {
	width: 100%;
	max-width: 450px;
	border-radius: 15px;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
	opacity: 0;
	transform: scale(0.95);
	transition: opacity 1s ease-out, transform 1s ease-out;
}
.content-portfolio.visible img.img-01 {
	opacity: 1;
	transform: scale(1);
}
/* Texto */

.text-portfolio {
	flex: 1;
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 1s ease-out, transform 1s ease-out;
}
.content-portfolio.visible .text-portfolio {
	opacity: 1;
	transform: translateY(0);
}
/* Botón */

.btn-b {
	display: inline-block;
	background-color: #2ECC71;
	color: white;
	padding: 10px 20px;
	border-radius: 8px;
	text-decoration: none;
	margin-top: 10px;
	transition: background-color 0.3s ease;
}
.btn-b:hover {
	background-color: #27ae60;
}







/* === Precio sobre la imagen (solo escritorio) === */
.image-container {
  position: relative;
  display: inline-block;
}

.price-overlay {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(46, 204, 113, 0.9); /* color verde suave */
  color: white;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, background 0.3s ease;
}

/* efecto al pasar el mouse */
.image-container:hover .price-overlay {
  transform: scale(1.05);
  background: rgba(39, 174, 96, 1);
}

/* En móvil el precio pasa debajo del texto */
@media (max-width: 767px) {
  .price-overlay {
    position: static;
    display: block;
    margin: 10px auto;
    text-align: center;
    background: rgba(230, 244, 255, 0.9);
    color: #1a73e8;
  }
}




