/* public/assets/css/style.css */

/* Variables globales para colores */
:root {
	--dark-green: #2D372F;
	--mid-green: #57684C;
	--light-green: #7D8C73;
	--dark-blue: #1E2B3B;
	--mid-blue: #5D677C;
	--light-blue: #8B94A5;
	--dark-coffee: #564730;
	--light-coffee: #A08B6E;
	--beige: #BAAB99;
	--white: #FFFFFF;
	--black: #000000;
	--fallback-gray: #E0E0E0;
	--mid-gray: #EAE6E3;
	--favicon-color: #2D372F;
}

/* Configuracion de scroll fluido */
html {
	scroll-behavior: smooth;
	scroll-padding-top: 80px;
}

/* Tipografia general del cuerpo */
body {
	font-family: 'Avenir', 'Avenir Next', sans-serif;
	font-weight: 300;
	color: var(--black);
	overflow-x: hidden;
	background-color: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Bodoni Moda', serif;
	font-weight: 700;
	color: var(--dark-green);
}

h2 {
	font-size: 2.3rem !important;
}

/* =========================================
   Menu de Navegacion Superior
========================================= */
.main-navigation {
	background-color: var(--dark-green);
	padding: 15px 0;
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1100;
}

.navbar-brand-logo {
	height: 2em;
	transition: transform 0.3s ease;
}

.navbar-brand-logo:hover {
	transform: scale(1.05);
}

.nav-link-custom {
	text-transform: capitalize;
	color: var(--light-green) !important;
	font-size: 1.15rem;
	text-decoration: none !important;
	margin: 0 15px;
	transition: color 0.3s ease;
}

.nav-link-custom.active,
.nav-link-custom:hover {
	color: var(--white) !important;
}

/* =========================================
   Seccion 1: Hero
========================================= */
.hero-wrapper {
	position: relative;
	height: 100vh;
	min-height: 800px;
	display: flex;
	align-items: center;
	overflow: hidden;
	background-color: var(--dark-blue);
}

.hero-background-parallax {
	position: absolute;
	top: -25%;
	left: 0;
	width: 100%;
	height: 150%;
	background-size: cover;
	background-position: center;
	z-index: 1;
	background-image: url('/assets/img/background/header_background_2.jpg');
}

.hero-people-layer {
	position: absolute;
	bottom: 0%;
	right: 2%;
	height: 90%;
	z-index: 3;
	will-change: transform;
}

.hero-content-box {
	position: relative;
	z-index: 4;
	color: var(--white);
}

.hero-main-heading {
	color: var(--white);
	font-size: 4rem;
	line-height: 1.1;
	margin-bottom: 20px;
}

.hero-heading-divider {
	width: 120px;
	height: 3px;
	background-color: var(--white);
	margin: 30px 0;
}

.hero-sub-text {
	font-size: 1.3rem;
	margin-bottom: 50px;
	max-width: 600px;
}

.btn-contact-main {
	background-color: var(--beige);
	color: var(--dark-coffee);
	border-radius: 50px;
	padding: 16px 50px;
	font-weight: 600;
	text-decoration: none;
	display: inline-block;
	transition: all 0.3s ease;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-contact-main:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
	color: var(--dark-coffee);
}

/* =========================================
   Seccion 2: Soluciones (Con Chart)
========================================= */
.solutions-grid-section {
	padding: 3em 0 12em;
	background-color: var(--white);
	text-align: center;
}

/* Textos mas grandes en la seccion 2 */
.solutions-grid-section h2 {
	font-size: 2.3rem;
	line-height: 1.2;
}

.solutions-grid-section .section-subtitle {
	font-size: 1.5rem;
	margin-bottom: 3rem;
}

.chart-container-fluid {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	position: relative;
}

.svg-chart-line {
	width: 85%;
	height: auto;
	margin-bottom: 30px;
}

.pain-points-flex {
	display: flex;
	justify-content: space-between;
}

.pain-point-column {
	width: 20%;
	padding: 0 15px;
}

/* Descripciones de los dolores un poco mas grandes */
.pain-point-desc {
	font-size: 1.4rem;
	line-height: 1.4;
	color: var(--black);
}

/* =========================================
   Separador / Transicion (Texto sobre imagen)
========================================= */
.section-transition-block {
	position: relative;
	z-index: 20;
	text-align: center;
	margin-top: -120px;
	margin-bottom: -120px;
}

.separator-wrapper {
	position: relative;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	max-width: 850px;
}

.separator-icon-img {
	width: 100%;
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
}

.separator-wrapper h3 {
	position: absolute;
	z-index: 2;
	margin: 0;
	padding: 0 20px;
	font-size: 2.2rem;
	width: 100%;
	text-align: center;
	color: #FFFFFF;
	font-family: 'Avenir', 'Avenir Next', sans-serif;
	font-weight: 200;
}

.separator-wrapper h3 b {
	font-weight: bold;
}

/* ===============================================
   Seccion 3: Nosotros (Tarjetas de Servicios)
=============================================== */
.about-cards-section {
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	padding: 160px 0 120px;
	background-image: url('/assets/img/background/background_nosotros.jpg');
}

.service-info-card {
	background: rgba(255, 255, 255, 0.8) !important;
	border-radius: 25px;
	padding: 40px 20px;
	height: 100%;
	text-align: center;
	/* border-bottom: 5px solid transparent; */
	transition: all 0.4s ease;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.service-info-card:hover {
	/* background: var(--white); */
	transform: translateY(-15px);
	/* border-bottom-color: var(--light-coffee); */
}

.service-icon-svg {
	height: 80px;
	margin-bottom: 25px;
}

/* Titulo de las cards en Avenir */
.service-card-title {
	font-family: 'Avenir', 'Avenir Next', sans-serif;
	font-weight: 600;
	font-size: 1.4rem;
	margin-bottom: 15px;
	min-height: 50px;
	color: var(--dark-green);
}

.service-card-divider {
	width: 40px;
	height: 1px;
	background-color: var(--dark-green);
	margin: 0 auto 20px;
}

.service-card-text {
	font-size: 0.95rem;
	margin-bottom: 25px;
	flex-grow: 1;
}

/* Boton transparente con texto y contorno cafe */
.btn-read-more {
	background: transparent;
	border: 1px solid var(--dark-coffee);
	color: var(--dark-coffee);
	padding: 10px 30px;
	text-transform: none;
	font-size: 0.95rem;
	text-decoration: none;
	transition: all 0.3s;
	margin-top: auto;
	border-radius: 25px;
}

.btn-read-more:hover {
	background-color: var(--dark-coffee);
	color: var(--white);
}

/* =========================================
   Seccion 4: Socios (Equipo)
========================================= */
.team-partners-block {
	padding: 120px 0;
	/* background-color: var(--white); */
	background-image: url('/assets/img/background/background_socios-100.jpg');
	text-align: center;
	color: #FFFFFF;
}

.team-partners-block h2 {
	color: #FFFFFF;
	font-size: 2.3rem;
}

/* Subtitulo del equipo en Avenir */
.team-subtitle-text {
	font-family: 'Avenir', 'Avenir Next', sans-serif;
	font-size: 1.5rem;
	max-width: 800px;
	margin: 0 auto 50px;
	line-height: 1.5;
	color: #FFFFFF;
}

.partner-card-unit {
	margin-bottom: 50px;
}

.partner-card-unit:hover {
	transform: translateY(-15px);
	transition: all 0.3s ease;
}

.partner-card-unit a {
	text-decoration: none;
	color: inherit !important;
}

.partner-image-box {
	position: relative;
	width: 220px;
	height: 220px;
	margin: 0 auto 25px;
	overflow: hidden;
	/* background-color: var(--fallback-gray);
	border-radius: 5px; */
}

.partner-image-box img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.partner-image-fade {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(45, 55, 47, 0.12);
}

/* Tipografia Avenir para los socios */
.partner-name {
	font-family: 'Avenir', 'Avenir Next', sans-serif;
	font-weight: 700;
	font-size: 1.25rem;
	/* color: var(--dark-green); */
	margin-bottom: 10px;
}

.partner-separator {
	width: 30px;
	height: 1.8px;
	background-color: var(--white);
	margin: 0 auto 10px;
}

.partner-role {
	font-family: 'Avenir', 'Avenir Next', sans-serif;
	font-weight: 400;
	font-size: 1.05rem;
	/* color: var(--black); */
	margin: 0;
}

/* =========================================
   Seccion 5: Casos de Exito (Ticker)
========================================= */
.logos-ticker {
	padding: 120px 0;
	background-color: var(--white);
	text-align: center;
}

.logos-ticker h2 {
	font-size: 2.3rem;
	line-height: 1.2;
}

.logos-ticker .logos-subtitle {
	font-size: 1.5rem;
	margin-bottom: 3rem;
}

.logos-ticker-wrap {
	padding: 80px 0;
	background: var(--white);
	overflow: hidden;
	white-space: nowrap;
}

.ticker-move {
	display: inline-block;
	animation: tickerSlide 30s linear infinite;
}

.ticker-move img {
	display: inline-block;
	margin: 0 60px;
	height: 60px;
	width: auto;
	vertical-align: middle;
}

@keyframes tickerSlide {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(-50%);
	}
}

/* =========================================
   Seccion 6: Contacto y Mosaico
========================================= */
.contact-details-section {
	padding: 60px 0;
	background-color: var(--mid-gray);
}

.contact-mosaic-layout {
	display: flex;
	/* flex-direction: column; */
	/* gap: 20px; */
	position: relative;
	top: 10px;
	left: -5em;
	height: 25em;
}

.mosaic-row-top {
	display: flex;
	gap: 20px;
	height: 200px;
}

.mosaic-cover-box,
.mosaic-text-heading,
.mosaic-full-bottom {
	border-radius: 25px;
	overflow: hidden;
}

.mosaic-cover-box {
	flex: 1;
	background-color: var(--fallback-gray);
	background-size: cover;
	background-position: center;
}

.mosaic-text-heading {
	flex: 1;
	background-color: var(--dark-green);
	display: flex;
	align-items: flex-end;
	padding: 30px;
}

.mosaic-text-heading h3 {
	color: var(--white);
	margin: 0;
	font-size: 2.5rem;
}

.mosaic-full-bottom {
	height: 200px;
	background-color: var(--fallback-gray);
	background-size: cover;
	background-position: center;
}

.map-iframe-container {
	width: 100%;
	height: 420px;
	border-radius: 25px;
	overflow: hidden;
	background-color: var(--fallback-gray);
}

.footer-pleat-bar {
	background-color: var(--dark-green);
	/* height: 15em; */
	width: 100%;
	color: #FFFFFF;
}

.footer-title {
	font-size: 1.2rem;
	font-family: 'Avenir', 'Avenir Next', sans-serif;
	color: #FFFFFF;
	font-weight: bold;
}

.footer-menu {
	list-style: none;
	padding-left: 0px;
}

.footer-menu a {
	font-size: 1rem;
	font-family: 'Avenir', 'Avenir Next', sans-serif;
	color: #FFFFFF;
	font-weight: 400;
	text-decoration: auto;
}

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

.footer-logo {
	padding-bottom: 2em;
	width: 70%;
}

/* Address box styling */
.address-box {
	font-family: 'Avenir', 'Avenir Next', sans-serif;
	font-size: 1rem;
	line-height: 1.8;
	color: var(--dark-green);
}

.address-box strong {
	font-weight: 700;
	font-size: 1.2rem;
}

#backToTop {
	bottom: 30px;
	right: 30px;
	background-color: #2D372F;
	color: white;
	width: 50px;
	height: 50px;
	display: none;
	z-index: 1000;
	align-items: center;
	justify-content: center;
}

#logo-esr {
	text-align: right;
}

#logo-esr img {
	width: 60%;
}

/* =========================================
   Pagina Socios
   Sección Socios Hero
========================================= */
.socios-hero {
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	padding: 80px 0 80px;
	background-image: url('/assets/img/background/background_nosotros.jpg');
}

.socios-hero .container {
	padding: 0 13em;
	text-align: center;
}

.socios-hero .section-subtitle {
	font-size: 1.5rem;
	margin-bottom: 3rem;
}


/* Agrega esto al final de tu archivo style.css */

/* =========================================
   Página Soluciones - Hero
========================================= */
.soluciones-hero {
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	padding: 80px 0;
	background-image: url('/assets/img/background/background_nosotros.jpg');
}

.soluciones-hero .container {
	padding: 0 13em;
	text-align: center;
}

.soluciones-hero .section-subtitle {
	font-size: 1.5rem;
	margin-bottom: 3rem;
}

.soluciones-hero h2 {
	font-size: 2.3rem;
}

/* =========================================
   Perfil de Solución
========================================= */
.solucion-profile {
	transition: all 0.3s ease;
}

.solucion-profile .row {
	display: flex;
	flex-wrap: wrap;
	border: 6px solid #EDE9E5;
    border-bottom-left-radius: 85px;
    border-top-right-radius: 85px;
}

.solucion-profile .row.align-items-center {
	align-items: center !important;
}

.solucion-profile .row > [class*="col-"] {
	display: flex;
	align-items: center;
}

.solucion-profile .row > [class*="col-"].py-4 {
	display: block;
}

.solucion-image-frame {
	transition: all 0.3s ease;
	cursor: pointer;
	overflow: hidden;
	border-radius: 2px;
}

.solucion-image-frame img {
	transition: transform 0.5s ease;
}

/* .solucion-image-frame:hover img {
	transform: scale(1.05);
} */

.solucion-title {
	color: #4a4a4a;
	font-family: 'Bodoni Moda', serif;
	font-size: 2rem;
	font-weight: normal;
	margin-bottom: 0.25rem;
}

.solucion-subtitle {
	font-size: 1rem;
	color: #666;
	font-style: italic;
	margin-bottom: 1rem;
}

.solucion-divider {
	width: 45px;
	height: 1.5px;
	background-color: #4a4a4a;
	margin-bottom: 1.5rem;
}

.solucion-description {
	font-size: 0.95rem;
	line-height: 1.7;
	color: #444;
	text-align: justify;
	margin-bottom: 1.5rem;
}

.solucion-features-title {
	font-family: 'Avenir', 'Avenir Next', sans-serif;
	font-weight: 600;
	color: var(--dark-green);
	margin-bottom: 15px;
	font-size: 1.1rem;
}

.solucion-feature-item {
	margin-bottom: 0.5rem;
}

.solucion-feature-icon {
	color: var(--light-green);
	margin-right: 10px;
	font-size: 0.85rem;
}

.solucion-feature-text {
	font-size: 0.9rem;
	color: #555;
}

.btn-solution-contact {
	background-color: transparent;
	border: 1px solid var(--light-green);
	color: var(--light-green);
	padding: 10px 30px;
	border-radius: 50px;
	font-size: 0.9rem;
	font-weight: 500;
	text-decoration: none;
	display: inline-block;
	transition: all 0.3s ease;
}

.btn-solution-contact:hover {
	background-color: var(--light-green);
	color: var(--white);
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.solucion-divider-horizontal {
	border-color: #d1d1d1;
	opacity: 1;
	margin: 0;
}

/* =========================================
   Pagina Sostenibilidad
   Sección Sostenibilidad Hero
========================================= */
.sustainability-hero {
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	padding: 80px 0 80px;
	background-image: url('/assets/img/background/background_nosotros.jpg');
}

.sustainability-hero .container {
	padding: 0 13em;
	text-align: center;
}

.sustainability-hero .section-subtitle {
	font-size: 1.5rem;
	margin-bottom: 3rem;
}

/* =========================================
   Pagina Aviso de Privacidad
   Sección Aviso de Privacidad Hero
========================================= */
.privacy-hero {
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	padding: 80px 0 80px;
	background-image: url('/assets/img/background/background_nosotros.jpg');
}

.privacy-hero .container {
	padding: 0 13em;
	text-align: center;
}

.privacy-hero .section-subtitle {
	font-size: 1.5rem;
}

/* =========================================
   Responsive Soluciones
========================================= */
@media (max-width: 991px) {
	.soluciones-hero .container {
		padding: 0 3em;
	}
}

@media (max-width: 768px) {
	.soluciones-hero {
		min-height: 40vh;
	}

	.soluciones-hero h2 {
		font-size: 1.8rem;
	}

	.soluciones-hero .section-subtitle {
		font-size: 1.1rem;
	}

	.solucion-title {
		font-size: 1.5rem;
	}
}

/* Responsivo general */
@media (max-width: 991px) {
	.hero-people-layer {
		opacity: 0.3;
		right: -20%;
	}

	.pain-points-flex {
		flex-direction: column;
		align-items: center;
	}

	.pain-point-column {
		width: 100%;
		margin-bottom: 40px;
	}

	.chart-container-fluid {
		display: none;
	}

	.separator-wrapper h3 {
		font-size: 1.5rem;
	}
}

@media (max-width: 768px) {
	.hero-main-heading {
		font-size: 2.2rem;
	}

	.hero-sub-text {
		font-size: 1rem;
	}

	.solutions-grid-section h2 {
		font-size: 1.8rem;
	}

	.separator-wrapper h3 {
		font-size: 1rem;
	}
}