/*
 * Colour palette adjustments to give the Lycanjos project a warmer, more sophisticated feel.
 * We introduce a set of custom variables that reflect the client’s requested palette:
 *
 *  – arena‑suave (#DAD7C5)   : main warm background used across sections.
 *  – gris‑perlado (#E4E5DF) : secondary backgrounds and subtle contrast.
 *  – verde‑bosque (#415440) : principal colour for headings, buttons and links.
 *  – amarillo‑mostaza (#E2B651): accent colour for hover states, underlines and icons.
 *  – violeta‑floral (#6958A3): authorial touches and subtle highlights.
 *
 * Existing variables are mapped onto this palette where appropriate. The old
 * values (amarillo, celeste, cafe, gris, gris_claro) are kept only when
 * necessary for backward compatibility with legacy styles; otherwise we rely
 * on the new variables declared below.
 */

:root {
	/* Forest green used for anchors and primary text */
	--principal: #415440;
	/* Primary warm background */
	--arena: #dad7c5;
	/* Secondary pearl grey background */
	--gris-perlado: #e4e5df;
	/* Mustard accent */
	--amarillo: #c9b12d;
	/* Violet accent */
	--violeta: #6958a3;
	/* Fallback colours from the previous palette */
	--celeste: #ab9edc;
	--cafe: #302214;
	--gris: #302214;
	--gris_claro: #fff3d9;
}

/* Prevent unwanted horizontal scrolling on mobile devices */
body {
	overflow-x: hidden;
}

p {
	color: #5d5a57cc;
	font-family: "Lato", sans-serif;
}
.radius {
	border-radius: 30px;
}
.btn_azul {
	background-color: var(--principal);
	padding: 12px 18px;
	border-radius: 50px;
	color: white;
	font-weight: 700;
	text-decoration: none;
	text-align: center;
	transition: background-color 0.3s ease;
}

.btn_azul:hover {
	background-color: var(--gris);
}
.justifica {
	text-align: justify;
}
h1,
h2,
h3,
h4 {
	font-family: "Montserrat", Helvetica, Arial, Lucida, sans-serif;
	font-weight: 700;
}

h1 {
	font-size: 1.5rem;
	color: #ffffff !important;
	text-align: center;
}

.hero-title {
	font-weight: 400;
	text-align: left;
	margin-bottom: 1rem;
	text-shadow: 1px 3px 10px black;
}

h2 .titulo {
	text-align: center;
}
/* Hover dropdown solo en escritorio */
@media (min-width: 992px) {
	.navbar .dropdown:hover .dropdown-menu {
		display: block;
	}
}

/* Services section styling */
.services-section {
	background-color: var(--arena);
	box-shadow: inset 0 -250px 0 rgba(255, 255, 255, 0.3);
}

/* Comunidades Vegetales section styling */
.comunidades-section {
	background-color: var(--gris-perlado);
	/* subtle separation between sections */
	padding-top: 4rem;
	padding-bottom: 4rem;
}

/* ¿Por qué elegir nativo? section styling */
.porque-section {
	background-color: #d6d5d0;
	padding-top: 4rem;
	padding-bottom: 4rem;
}
.porque-section .service-card {
	background-color: var(--gris-perlado);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
	border-radius: 30px;
	overflow: hidden;
	position: relative;
}
.porque-section .service-card::before {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 30%, rgba(0, 0, 0, 0.25) 100%);
}
.porque-section .service-content {
	color: #374736; /* 85% of var(--principal) for paragraph text */
}
.porque-section .service-content h4 {
	color: var(--gris-perlado);
	text-shadow: 2px 1px 2px black;
}

/* Contact form styling */
.formulario-section {
	background-color: var(--arena);
}
.formulario-section .formulario-contacto {
	background-color: var(--arena);
	border-radius: 1rem;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.formulario-section input,
.formulario-section select,
.formulario-section textarea {
	background-color: var(--gris-perlado);
	border: 1px solid var(--principal);
	border-radius: 8px;
	color: var(--principal);
	font-weight: 500;
}
.formulario-section input::placeholder,
.formulario-section textarea::placeholder {
	color: var(--principal);
	opacity: 0.7;
}
.formulario-section select {
	color: var(--principal);
}
.formulario-section select option {
	color: var(--principal);
}
.formulario-section .btn {
	background-color: var(--principal);
	color: var(--gris-perlado);
	border: 2px solid var(--principal);
	transition: all 0.3s ease;
}
.formulario-section .btn:hover {
	background-color: var(--amarillo);
	border-color: var(--amarillo);
	color: var(--gris-perlado);
}
.services-section .service-card {
	background-color: var(--gris-perlado);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
	border-radius: 30px;
	overflow: hidden;
	position: relative;
}
.services-section .service-card::before {
	/* soften the gradient overlay on top of the image */
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 30%, rgba(0, 0, 0, 0.25) 100%);
}
.services-section .service-content {
	color: var(--principal);
}
.services-section .service-content h4 {
	color: var(--gris-perlado);
	text-shadow: 2px 1px 2px black;
}
.services-section .btn-saber-mas {
	border: 1px solid var(--amarillo);
	color: var(--principal);
	color: var(--gris-perlado);
	text-shadow: 2px 1px 2px black;
}
.services-section .btn-saber-mas:hover {
	background-color: var(--amarillo);
	color: var(--cafe);
	text-shadow: none;
	border-color: var(--amarillo);
}
.services-section .service-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
	border: 2px solid var(--violeta);
}

.centrar {
	text-align: center;
}

/* Estilo para el botón + / - */
.dropdown-toggle-icon {
	font-size: 1.3rem;
	color: #000;
	border: none;
	background: none;
}

.toggle-symbol {
	font-weight: bold;
}

.container p {
	font-size: 1.2rem;
}

/* Fondos */
.fdo_gris {
	background-color: var(--cafe);
}
.fdo_claro {
	background-color: #e2b65154;
}

.tematica {
	background-color: #f4f4f4;
}
.fdo_azul {
	background-color: var(--principal) !important;
	color: #fff !important;
}
.fdo_azul p {
	color: #fff !important;
}
.bienestar {
	background-color: #efefef;
}

.experiencia {
	background-color: #f7f7f7;
}

.span_azul {
	font-family: "Montserrat", Helvetica, Arial, Lucida, sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 1rem !important;
	color: var(--principal) !important;
	letter-spacing: 1px;
	line-height: 1.4em;
}
/* Fin fondos */

.service-card {
	position: relative;
	height: 0;
	padding-top: 75%;
	border-radius: 30px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	margin-bottom: 30px;
	height: 33rem;
}

.service-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 15%, rgba(0, 0, 0, 0.7) 100%);
	z-index: 1;
}

.service-img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.service-card:hover .service-img {
	transform: scale(1.05);
}

.service-content {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 30px;
	z-index: 2;
	color: white;
}

.service-content h4 {
	font-weight: 500;
	/* margin-bottom: 3rem; */
	font-size: 1.6rem;
}

.btn-saber-mas {
	/* background-color: rgba(255, 255, 255, 0.9); */
	color: #ffffff;
	border: 1px solid white;
	padding: 8px 20px;
	border-radius: 30px;
	font-weight: 600;
	transition: all 0.3s ease;
	text-decoration: none;
}

.btn-saber-mas:hover {
	background-color: #fff;
	color: black;
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
	.service-card {
		padding-top: 100%; /* Cuadradas en móviles */
		height: 15rem;
	}

	.propuesta {
		padding: 3rem 0;
	}

	/* .service-content {
		padding: 20px;
	} */

	.service-content h4 {
		font-size: 1.2rem;
	}
}

/* MODAL */
.modal-body {
	align-content: center;
}
.modal-fullscreen .modal-body {
	overflow-y: auto;
	margin: 0 auto;
	max-width: 1000px;
	margin-top: -3rem;
}
#modalCapitalHumano .modal-content {
	background-color: var(--amarillo);
}

#modalSalarioEmocional .modal-content {
	background-color: var(--cafe);
}

#modalRetencionTalentos .modal-content {
	background-color: var(--amarillo);
}

.modal h2 {
	font-size: 3rem;
}
.modal button {
	font-size: 2rem;
	font-weight: bold;
	margin-top: 3rem;
}
.modal p {
	font-size: 1.2rem;
}
/* FIN MODAL */

.enfoque .fw-light,
.propuesta .fw-light,
.ppropuesta,
.bienestar .fw-light,
.pagina {
	max-width: 1100px;
	margin: 0 auto;
	position: relative;
	width: 60%;
}
.enfoque .fw-light {
	width: 85%;
}
.propuesta .fw-light,
.ppropuesta {
	width: 55%;
}

.pagina {
	width: 75% !important;
}
.bienestar h2 {
	text-align: center;
	margin: 0 auto 57px;
}

@media only screen and (max-width: 900px) {
	.propuesta .fw-light,
	.ppropuesta,
	.enfoque .fw-light,
	.bienestar .fw-light {
		width: 90% !important;
	}

	.bienestar h2 {
		text-align: center;
		margin: 0 auto 57px;
	}
}

@media only screen and (max-width: 900px) {
	.pagina {
		width: 100% !important;
	}

	.bienestar h2 {
		text-align: center;
		margin: 0 auto 57px;
	}

	.volver-btn {
		display: none;
	}
}

.slogan {
	font-size: 12px;
	width: 75px;
	line-height: 15px;
	padding-left: 20px;
	border-left: 1px #ccc solid;
	/* margin-left: 20px; */
}

.nav-item .active {
	/* Active state for menu items: dark green text with mustard underline */
	color: var(--principal);
	border-bottom: 3px solid var(--amarillo);
}

.nav-link:hover {
	/* On hover the menu text takes the mustard accent */
	color: var(--amarillo);
}

.nav-item .nav-link {
	/* Base colour for navigation links */
	color: var(--principal);
	padding: 10px 20px !important;
}

/* Custom navigation bar styling using the updated palette */
.custom-navbar {
	background-color: var(--gris-perlado) !important;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.custom-navbar .nav-link {
	color: var(--principal);
	font-weight: 500;
	transition: color 0.3s ease;
}
.custom-navbar .nav-link:hover,
.custom-navbar .nav-link:focus {
	color: var(--amarillo);
	text-decoration: underline;
}
.custom-navbar .nav-item .active {
	color: var(--principal);
	border-bottom: 3px solid var(--amarillo);
}
.custom-navbar .social-icon {
	color: var(--violeta);
	font-size: 1.6em;
	transition: color 0.3s ease, transform 0.2s ease;
}
.custom-navbar .social-icon:hover {
	color: var(--amarillo);
	transform: translateY(-2px);
}

/* Footer social icons */
.social-footer-icon {
	background-color: transparent;
	border: 2px solid var(--amarillo);
	color: var(--amarillo);
	width: 45px;
	height: 45px;
	transition: all 0.3s ease;
}
.social-footer-icon i {
	font-size: 1.3rem;
	line-height: 1;
}
.social-footer-icon:hover {
	background-color: var(--amarillo);
	border-color: var(--violeta);
	color: var(--gris-perlado);
}

/* ICONOS REDES NAV */
.fa-lg {
	font-size: 1.6em;
	transition: all 0.2s ease;
}

.fa-lg:hover {
	transform: translateY(-2px);
}
/* FIN ICONOS REDES NAV */

h4 {
	font-size: 1.9rem;
	line-height: 2.1rem;
}

.tematica h4 {
	font-size: 2.4rem;
}
.tematica span {
	font-size: 1.2rem;
	padding-top: 4px;
	font-weight: bold;
}

.tema {
	margin-top: 1rem;
}

a.btn-blanco {
	font-size: 16px;
	color: #000;
	border: solid 1px #fff;
	background: #fff;
	padding: 5px 20px;
	display: block;
	width: fit-content;
	margin-top: 23px;
	border-radius: 1px;
}

a.btn-blanco:hover {
	border: solid 1px #fff;
	background: #fff;
}

.enfoque h2,
.propuesta h2 {
	font-size: 3rem;
	font-weight: 700;
	/* line-height: 49px; */
	margin: 0px;
}
.hero-section p {
	text-shadow: 1px 2px 8px black;
}
.hero-section h4 {
	font-size: 1.3rem;
}
.hero-section {
	height: 90vh;
	position: relative;
	overflow: hidden;
}

/* Warm translucent overlay on the hero background to balance the natural photography with human warmth */
.hero-section::before {
	content: "";
	position: absolute;
	inset: 0;
	background-color: rgba(218, 215, 197, 0.25);
	z-index: -1;
}
/* Ensure background images sit behind the overlay */
.hero-section img {
	z-index: -2;
}

.hero-section img {
	object-fit: cover;
	/* filter: brightness(0.7); */
}
.hero-section .fdo_gris {
	margin-bottom: 4.5rem !important;
}

/* section {
	scroll-margin-top: 80px;
} */

.btn {
	transition: all 0.3s ease;
}

.btn-naranja {
	background-color: var(--amarillo);
	border-radius: 0px;
}
.btn-naranja:hover {
	background-color: var(--cafe);
}

.btn:hover {
	transform: translateY(-2px);
}

.video-wrapper {
	position: relative;
	display: inline-block;
}

.video-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	transition: transform 0.3s ease;
	width: 80px;
	height: 80px;
}

.video-btn img {
	width: 100%;
	height: auto;
	filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.5));
	transition: all 0.3s ease;
}

.video-btn:hover img {
	transform: scale(1.15);
	filter: drop-shadow(0 0 12px rgba(0, 0, 0, 0.7));
}

/* blog */
.blog .card {
	overflow: hidden; /* Evita que el contenido se desborde */
}

.blog .card a {
	/* margin-top: 0.5rem; */
	font-size: 16px;
	color: inherit;
	text-decoration: none;
	/* padding: 5px 0; */
	display: block;
	width: fit-content;
}

.blog .card-body {
	transition: 0.3s ease;
}

.blog .card-body:hover {
	background-color: var(--amarillo);
	color: #fff;
}

.blog .card {
	transition: 0.3s ease;
}

.blog .card:hover {
	background-color: var(--amarillo);
	color: #fff;
	transform: scale(1.03);
}

.blog .card img {
	/* max-height: 220px; */
	aspect-ratio: auto 500 / 353;
	transition: 0.3s ease; /* Transición suave para el zoom */
}

.blog .card:hover img {
	transform: scale(1.1); /* Zoom más controlado */
}
.blog span,
.blog h5 {
	font-weight: bold;
}
/* fin blog */

.objetivos img {
	height: 17rem;
}

.somorado {
	font-size: 1.5rem !important;
	font-weight: 700;
	color: #a22d5b;
	line-height: 30px;
}
b,
strong {
	font-weight: 500;
}
@media (min-width: 1200px) {
	.fs-4 {
		font-size: 1.8rem !important;
	}
}

.quienes img {
	height: 30rem;
}
/* Para limitar el ancho del fondo al de la imagen */
.team-inner {
	width: fit-content;
	max-width: 100%;
}

/* Hover y transiciones */
.team-card {
	transition: all 0.3s ease;
	display: block;
	color: #000;
}

.team-card .team-img {
	transition: filter 0.3s ease;
	height: 30rem;
	object-fit: cover;
}

.team-card:hover .team-img {
	filter: brightness(80%);
}

.team-card:hover .ficha_team {
	background-color: var(--amarillo);
	transition: background-color 0.3s ease;
}

.ficha_team {
	padding: 0.5rem 0.7rem;
}
.ficha_team p {
	margin-bottom: 0px;
}

/* OBTEN */
.obten-wrapper {
	position: relative;
	height: 0 !important; /* No ocupa espacio en el flujo normal */
	margin-top: 6rem;
}

.obten-sticky {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: white; /* o el color que corresponda */
	padding: 10px 0;
	z-index: 1000;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease;
}

.obten-sticky.stuck {
	position: absolute;
	bottom: auto;
	transform: translateY(-100%);
}
/* FIN OBTEN */

/* Formulario de Contacto */
.form-contacto {
	position: fixed;
	top: 0;
	right: -100%;
	width: 100%;
	max-width: 500px;
	height: 100vh;
	background: white;
	z-index: 9999;
	box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
	transition: right 0.3s ease-in-out;
	overflow-y: auto;
}

.form-contacto.active {
	right: 0;
}

.cerrar-contacto {
	position: absolute;
	top: 20px;
	right: 20px;
	font-size: 1.5rem;
	color: #666;
	z-index: 100;
}

.cerrar-contacto:hover {
	color: #333;
}

.cc {
	padding: 60px 30px 30px;
	height: 100%;
}

/* Overlay para el fondo cuando el formulario está abierto */
.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 9998;
	display: none;
}

.experiencia .featured-image img {
	display: block;
	margin: 1.1rem auto 2rem auto;
	border-radius: 50%;
	height: 8rem;
	box-shadow: 0px 1px 4px 2px #5f5b5b8c;
	width: auto;
}
.experiencia .nombre {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--principal);
}

footer {
	background-color: var(--gris);
}

footer img {
	height: 4rem;
}

footer .list-inline-item a {
	color: #fff;
	padding: 10px 20px;
}

footer .list-inline-item .active {
	border-bottom: 3px solid var(--principal);
}

footer .list-inline-item a:hover {
	color: var(--amarillo);
}

footer .fab {
	font-size: 1.4rem;
	font-weight: 500;
}

/* pagina */
.colaboradores img {
	height: 20rem !important;
}

.pagina h1 {
	font-size: 3rem;
	font-weight: 300;
}

.pagina h3 {
	font-size: 2.1rem !important;
}
.descr-program {
	font-size: 1.5rem;
	font-weight: 200;
}

.volver-btn {
	font-size: 1.2rem;
	white-space: nowrap;
}
@media (max-width: 576px) {
	.titulo-pagina {
		gap: 0.5rem; /* Espacio mínimo garantizado */
	}
	h1 {
		font-size: 1rem; /* Reducción opcional para móviles */
	}
	h2 {
		font-size: 1.4rem; /* Reducción opcional para móviles */
	}
}

.mb-6 {
	margin-bottom: 8rem;
}

/* TESTIMONIOS */
.testimonios .featured-image img {
	display: block;
	margin: 1.1rem auto 2rem auto;
	border-radius: 50%;
	height: 6rem;
	box-shadow: 0px 1px 4px 2px #5f5b5b8c;
	width: auto;
	margin-bottom: 20px;
}

.testimonios .nombre {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--principal);
	margin-bottom: 5px;
}

.testimonios .nombre,
.testimonios .cargo {
	text-align: center;
}
/* FIN TESTIMONIOS */
.titulo-pagina .nombre {
	font-weight: 700;
}
.titulo-pagina .cargo {
	font-size: 1.3rem;
}

/* FORMULARIO */
.form-control {
	border-radius: 50px;
	border: 2px solid white;
	background-color: transparent;
	color: white;
	padding: 1rem 1.7rem;
	font-size: 1.1rem;
	font-weight: 500;
	font-style: uppercase !important;
}

.form-control::placeholder {
	color: white;
	opacity: 1;
}

select.form-control option {
	color: #262626;
}

.form-control:focus {
	color: #fff;
	background-color: #acacac;
	border-color: var(--amarillo);
	outline: 0;
	box-shadow: 0 0 0 0.25rem rgba(236, 238, 79, 0.448);
}

.sobre-mi {
	height: 30vh;
	position: relative;
	overflow: hidden;
}

.sobre-mi h1 {
	font-size: 4rem;
	font-weight: 800;
}

.sobremi-img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

#formulario h2 {
	color: var(--principal);
}

#formulario .fw-bold {
	color: #fff;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
	color: var(--amarillo);
}

.titulo-servicio {
	color: var(--principal);
}

#charlas,
#diagnosticos,
#exploraciones,
#montajes {
	scroll-margin-top: 500px !important;
}

#formulario {
	scroll-margin-top: 60px !important;
}

/* Botón Scroll to Top */
.scroll-to-top {
	position: fixed;
	bottom: 25px;
	right: 25px;
	width: 50px;
	height: 50px;
	background-color: var(--principal);
	color: white;
	border-radius: 50%;
	text-align: center;
	font-size: 20px;
	z-index: 1000;
	transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.3s ease;
	opacity: 0;
	visibility: hidden;
	text-decoration: none;
}

.scroll-to-top.visible {
	opacity: 1;
	visibility: visible;
}

.scroll-to-top:hover {
	background-color: var(--amarillo);
	color: var(--principal);
}

.firma p {
	color: #fff !important;
}
