/* ==========================================================================
	PrimaRoca - Estilos principales v4
	Tipografías: Red Hat Display (títulos) y Urbanist (textos)
========================================================================== */

/* Importar tipografías */
@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@300;400;500;600;700;800;900&family=Urbanist:wght@300;400;500;600;700;800&display=swap');

/* ---------- Variables de Color ---------- */
:root {
	--header-bg: #716352;
	--dark-bg: #1a1a1a;
	--section2-bg: #f2efe6;
	--footer-bg: #494d3a;
	--text-light: #ffffff;
	--text-dark: #333333;
	--section2-title: #54483A;
	--section2-text: #5b3b1b;
	--section2-btn-border: #564b45;
	--section3-title: #31281f;
	--section3-text: #342a21;
	--section3-btn-border: #564b45;
	--section4-title: #494d3a;
	--section4-text: #494d3a;
	--section4-btn-border: #494d3a;
	--section4-btn-active-bg: #beb49b;
	--social-icon-color: #938578;

	/* Tipografías */
	--font-heading: 'Red Hat Display', sans-serif;
	--font-body: 'Urbanist', sans-serif;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: var(--font-body);
	background-color: #ffffff;
	overflow-x: hidden;
	color: var(--text-dark);
	font-weight: 400;
	line-height: 1.6;
}

/* ---------- Tipografías ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-heading);
	font-weight: 600;
	letter-spacing: -0.02em;
}

h1.display-4,
h2.display-5,
h3.display-6 {
	font-family: var(--font-heading);
	font-weight: 700;
}

/* ---------- HEADER (solo navbar) ---------- */
.navbar {
	background-color: var(--header-bg) !important;
	padding: 0.6rem 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 1000;
}

.navbar-brand img {
	height: 40px;
	width: auto;
}

.navbar-nav .nav-link {
	font-family: var(--font-heading);
	color: rgba(255, 255, 255, 0.85) !important;
	font-weight: lighter;
	font-size: 1rem;
	letter-spacing: 1px;
	transition: color 0.3s ease;
	position: relative;
}

.navbar-nav .nav-link:hover {
	color: #ffffff !important;
}

/* ---------- Social Header ---------- */
.header-social {
	position: absolute;
	top: 10%;
	right: 2%;
	display: flex;
	/* gap: 1rem; */
	z-index: 1001;
}

/* Estilo de los iconos dentro del header */
.header-social a {
	color: rgba(113, 99, 82, 0.6);
	font-size: 2rem;
	transition: color 0.3s ease;
	text-decoration: none;
	display: inline-block;
	margin-inline-end: 1em;
}

.header-social a:hover {
	color: #beb49b;
}

/* Separador vertical blanco entre links */
.navbar-nav .nav-item:not(:last-child) .nav-link::after {
	content: '|';
	position: absolute;
	right: -1rem;
	color: rgba(255, 255, 255, 0.5);
	font-weight: 300;
}

@media (max-width: 992px) {
	.navbar-nav .nav-item:not(:last-child) .nav-link::after {
		content: '' !important;
	}
}

@media (max-width: 768px) {
	.navbar-nav .nav-item:not(:last-child) .nav-link::after {
		content: '' !important;
	}
}

/* ---------- SECCIÓN 1: HERO ---------- */
.hero-section {
	position: relative;
	min-height: 100vh;
	background-image: url('/assets/img/01_header_background.jpg');
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: flex-end;
	padding-bottom: 4rem;
	margin-top: 0;
}

.hero-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	/* background: rgba(0, 0, 0, 0.4); */
	z-index: 1;
}

/* Social Icons - Parte superior derecha de Sección 1 */
.hero-social {
	position: absolute;
	top: 2rem;
	right: 2rem;
	z-index: 3;
	display: flex;
	gap: 1.2rem;
}

.hero-social a {
	color: var(--social-icon-color);
	font-size: 1.2rem;
	transition: color 0.3s ease;
	text-decoration: none;
}

.hero-social a:hover {
	color: #ffffff;
}

/* Líneas decorativas - Parte inferior derecha de Sección 1 */
.hero-lines-right {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 35%;
	height: 80%;
	background-image: url('/assets/img/02_header_lines_right.png');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: bottom right;
	z-index: 2;
	pointer-events: none;
}

/* Contenedor verde inferior izquierdo */
.hero-green-container {
	position: relative;
	z-index: 2;
	background-image: url(/assets/img/03_green_contaier_left.png);
	background-size: cover;
	background-position: center;
	padding: 3rem 4rem;
	max-width: 45em;
	margin-left: 0;
	margin-bottom: -1rem;
	border-radius: 0 2em 2em 0;
}

.hero-content {
	color: var(--text-light);
}

.hero-content h1 {
	font-family: var(--font-heading);
	font-size: 4rem;
	font-weight: lighter;
	line-height: 1.1;
	margin-bottom: 1.5rem;
}

.hero-content h1 b {
	font-weight: 700;
}

.hero-content .lead {
	font-family: var(--font-body);
	font-size: 1.5rem;
	font-weight: normal;
	margin-bottom: 2rem;
	/* opacity: 0.9; */
	/* max-width: 380px; */
}

.btn-hero {
	font-family: var(--font-body);
	background-color: transparent;
	border: 2.5px solid var(--text-light);
	color: var(--text-light);
	padding: 0.4rem 3rem;
	font-weight: 500;
	letter-spacing: 2px;
	transition: all 0.3s ease;
	text-transform: uppercase;
	font-size: 1.4rem;
	display: inline-block;
	text-decoration: none;
	border-radius: 1.4em;
}

.btn-hero:hover {
	background-color: var(--text-light);
	border-color: var(--text-light);
	color: #1a1a1a;
}

/* ---------- SECCIÓN 2: DISEÑO QUE TRASCIENDE ---------- */
.design-section {
	padding: 100px 0;
	background-color: var(--section2-bg);
}

/* .design-title {
font-family: var(--font-heading);
font-size: 2.5rem;
font-weight: 700;
color: var(--section2-title);
margin-bottom: 1.5rem;
line-height: 1.2;
} */

.design-title {
	font-family: var(--font-heading);
	font-size: 2.5rem;
	font-weight: lighter;
	color: var(--section2-title);
	margin-bottom: 1.5rem;
	line-height: 1.2;
	position: relative;
	display: inline-block;
}

.design-title::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 0;
	width: 2.5em;
	/* Ancho específico del borde */
	height: 2px;
	background-color: currentColor;
}

.design-title b {
	font-weight: 700;
}

.design-text {
	font-family: var(--font-body);
	font-size: 1.7rem;
	font-weight: lighter;
	/* line-height: 1.7; */
	color: var(--section2-text);
	margin-bottom: 2rem;
	/* max-width: 400px; */
}

.btn-design {
	font-family: var(--font-body);
	background-color: transparent;
	border: 2.5px solid var(--section2-btn-border);
	color: var(--section2-btn-border);
	padding: 0.4rem 3rem;
	font-weight: 500;
	letter-spacing: 2px;
	transition: all 0.3s ease;
	text-transform: uppercase;
	font-size: 1.4rem;
	display: inline-block;
	text-decoration: none;
	border-radius: 1.4em;
}

.btn-design:hover {
	background-color: var(--section2-btn-border);
	border-color: var(--section2-btn-border);
	color: #ffffff;
}

.design-image {
	background-image: url('/assets/img/04_home_right.png');
	background-size: cover;
	background-position: center;
	min-height: 500px;
}

/* ---------- SECCIÓN 3: PROCESO ---------- */
.process-section {
	padding: 10em 1em 2em 1em;
	background-image: url('/assets/img/06_process_background.jpg');
	background-size: cover;
	background-position: left bottom;
	position: relative;
}

.process-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	/* background: rgba(242, 239, 230, 0.92); */
	z-index: 1;
}

.process-container {
	position: relative;
	z-index: 2;
}

.process-section h1 {
	font-family: var(--font-heading);
	font-size: 2.5rem;
	font-weight: lighter;
	text-align: center;
	margin-bottom: 3rem;
	color: var(--section3-title);
}

.process-section h1 b {
	font-weight: 700;
}

.process-section #steps-row {
	margin: 0 8em 10em 8em;
}

.process-card {
	text-align: center;
	padding: 1rem;
}

.process-icon {
	width: 100px;
	/* height: 50px; */
	/* object-fit: contain; */
	margin-bottom: 2.5rem;
}

.step-number {
	font-family: var(--font-heading);
	font-size: 2rem;
	font-weight: 100;
	color: var(--section3-text);
	letter-spacing: 2px;
	/* margin-bottom: 0.5rem; */
	display: block;
}

.process-card h4 {
	font-family: var(--font-heading);
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 1rem;
	color: var(--section3-text);
}

.process-card p {
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.2;
	color: var(--section3-text);
}

/* ---------- SECCIÓN 4: PROYECTOS ---------- */
.projects-section {
	padding: 3em 0;
	/* background-image: url('/assets/img/08_projects_map.jpg'); */
	background-color: #F1E0CE !important;
	background-size: cover;
	background-position: center;
	position: relative;
}

.projects-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	/* background: rgba(242, 239, 230, 0.92); */
	z-index: 1;
}

.map-lines-left {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 40%;
	height: 100%;
	background-image: url('/assets/img/07_map_lines_left.png');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: bottom left;
	z-index: 2;
	pointer-events: none;
}

.projects-container {
	position: relative;
	z-index: 3;
}

.projects-section h1 {
	font-family: var(--font-heading);
	font-size: 3rem;
	font-weight: lighter;
	color: var(--section4-title);
	margin-bottom: 4rem;
	line-height: 1.2;
	position: relative;
	display: inline-block;
}

.projects-section h1::after {
	content: '';
	position: absolute;
	bottom: -0.5em;
	left: 0;
	width: 2.5em;
	height: 2px;
	background-color: currentColor;
}

.projects-section h1 b {
	font-weight: 700;
}

.projects-buttons {
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
}

.project-filter-btn {
	font-family: var(--font-body);
	background-color: transparent;
	border: 1.5px solid var(--section4-btn-border);
	color: var(--section4-btn-border);
	padding: 0.7rem 1.2rem;
	font-weight: 500;
	font-size: 0.8rem;
	letter-spacing: 1px;
	transition: all 0.3s ease;
	text-transform: uppercase;
	cursor: pointer;
	width: 100%;
	text-align: center;
	border-radius: 40px;
}

.project-filter-btn.active {
	background-color: var(--section4-btn-active-bg);
	border-color: var(--section4-btn-active-bg);
	color: #ffffff;
}

.project-filter-btn:hover {
	background-color: var(--section4-btn-active-bg);
	border-color: var(--section4-btn-active-bg);
	color: #ffffff;
}

.projects-grid {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	max-height: 400px;
	overflow-y: auto;
	padding-right: 1rem;
}

.projects-grid::-webkit-scrollbar {
	width: 4px;
}

.projects-grid::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.1);
}

.projects-grid::-webkit-scrollbar-thumb {
	background: var(--section4-btn-active-bg);
}

.project-item {
	font-family: var(--font-body);
	cursor: pointer;
	padding: 0.7rem;
	border-bottom: 1px solid rgba(89, 76, 68, 0.2);
	transition: all 0.3s ease;
	color: var(--section4-btn-border);
	font-weight: 500;
	font-size: 0.85rem;
}

.project-item:hover {
	color: var(--section4-btn-active-bg);
	padding-left: 1rem;
}

/* ---------- SECCIÓN 5: CADA ESPACIO ---------- */
.quote-section {
	background-image: url('/assets/img/09_end_background.png');
	background-size: cover;
	background-position: center;
	padding: 100px 0;
	position: relative;
}

.quote-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	/* background: rgba(0, 0, 0, 0.6); */
	z-index: 1;
}

.quote-content {
	position: relative;
	z-index: 2;
	color: #ffffff;
	margin-bottom: 15em;
}

.quote-content h1 {
	font-family: var(--font-heading);
	font-size: 4rem;
	font-weight: lighter;
	margin-bottom: 1.5rem;
	line-height: 1.2;
}

.quote-content h1 b {
	font-weight: 700;
}

.btn-quote {
	font-family: var(--font-body);
	background-color: transparent;
	border: 2.5px solid #ffffff;
	color: var(--text-light);
	padding: 0.4rem 3rem;
	font-weight: 500;
	letter-spacing: 2px;
	transition: all 0.3s ease;
	text-transform: uppercase;
	font-size: 1.4rem;
	display: inline-block;
	text-decoration: none;
	margin-top: 1rem;
	border-radius: 1.4em;
}

.btn-quote:hover {
	background-color: #ffffff;
	color: #1a1a1a;
}

/* ---------- SECCIÓN 6: FOOTER ---------- */
.footer-section {
	background-color: var(--footer-bg);
	color: var(--text-light);
	padding: 60px 0 30px;
	position: relative;
}

/* LOGO */
.footer-logo {
	margin-bottom: 2rem;
}

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

/* Títulos */
.footer-title {
	font-family: var(--font-heading);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 2px;
	margin-bottom: 1rem;
	text-transform: uppercase;
}

/* Textos */
.footer-address p,
.footer-contact p {
	font-family: var(--font-body);
	font-size: 0.85rem;
	margin-bottom: 0.3rem;
	color: var(--text-light);
	opacity: 0.8;
	line-height: 1.5;
}

/* Menú */
.footer-menu {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-menu li {
	margin-bottom: 0.5rem;
}

.footer-menu a {
	font-family: var(--font-body);
	color: var(--text-light);
	text-decoration: none;
	font-size: 0.85rem;
	transition: color 0.3s ease;
	opacity: 0.8;
}

.footer-menu a:hover {
	opacity: 1;
}

/* Redes Sociales */
.footer-social {
	padding: 1rem 0;
	margin: 0.5rem 0 1rem 0;
}

.footer-social a {
	color: rgba(255, 255, 255, 0.7);
	font-size: 1.3rem;
	margin-right: 1.5rem;
	transition: all 0.3s ease;
	text-decoration: none;
	display: inline-block;
}

.footer-social a:hover {
	color: #ffffff;
	transform: translateY(-2px);
}

/* Legales */
.footer-bottom {
	padding-top: 1.5rem;
	margin-top: 0.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
	font-family: var(--font-body);
	font-size: 0.75rem;
	opacity: 0.6;
	margin: 0;
}

/* WhatsApp flotante */
.whatsapp-float {
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	z-index: 1000;
	background-color: #25D366;
	border-radius: 50%;
	width: 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	transition: transform 0.3s ease;
	text-decoration: none;
}

.whatsapp-float:hover {
	transform: scale(1.1);
}

.whatsapp-float i {
	font-size: 2rem;
	color: #ffffff;
}

/* Modal */
.modal-content {
	border-radius: 0;
	border: none;
}

.modal-header .modal-title {
	font-family: var(--font-heading);
	font-weight: 700;
}

.modal-body {
	font-family: var(--font-body);
}

.modal-cover {
	width: 100%;
	height: 350px;
	object-fit: cover;
	margin-bottom: 1.5rem;
}

.modal-body h3 {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.3rem;
}

/* Animaciones */
.fade-up {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
	opacity: 1;
	transform: translateY(0);
}

/* =========================================
	MAPA ISOMÉTRICO (VERSIÓN CONTENIDA)
========================================= */

/* El contenedor principal respeta los límites de Bootstrap */
.interactive-map-container {
	position: relative;
	width: 100%;
	max-width: 100%;
	/* Bloquea cualquier desbordamiento */
	margin: 0 auto;
	overflow: hidden;
	/* Corta cualquier elemento que intente salir del div */
}

/* La imagen base funciona como ancla para el alto y ancho */
.map-background {
	width: 100%;
	height: auto;
	/* Mantiene la relación de aspecto original */
	display: block;
	object-fit: contain;
	/* Asegura que la imagen no se deforme */
}

/* Las capas superpuestas se atan al tamaño exacto de la imagen base */
.map-svg-layer,
.map-nodes-layer {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

/* Reactivamos los eventos de clic solo en los letreros */
.map-node {
	position: absolute;
	pointer-events: auto;
	transform: translate(-50%, -100%);
	cursor: pointer;
}

/* Transiciones para el filtrado */
.map-element {
	transition: opacity 0.4s ease, transform 0.4s ease;
	opacity: 0;
	visibility: hidden;
}

.map-element.is-active {
	opacity: 1;
	visibility: visible;
}

/* Estilo del letrero */
.node-label {
	color: var(--section4-text);
	font-family: var(--font-heading);
	text-align: left;
	white-space: nowrap;
	border-left: 2px solid var(--section4-btn-active-bg);
	padding-left: 8px;
	background: rgba(242, 239, 230, 0.7);
	/* Opcional: fondo semitransparente para mejor lectura */
	border-radius: 0 4px 4px 0;
}

.node-label small {
	display: block;
	font-size: 0.75rem;
	font-weight: 300;
	line-height: 1.1;
}

.node-label strong {
	display: block;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
}

/* Responsive */
@media (max-width: 992px) {
	.hero-green-container {
		padding: 2rem;
		max-width: 90%;
		margin: 0 1rem 1rem 0;
	}

	.hero-content h1 {
		font-size: 2rem;
	}

	.design-title {
		font-size: 2rem;
	}

	.design-image {
		min-height: 350px;
		margin-top: 2rem;
	}

	.process-section h1,
	.projects-section h1 {
		font-size: 2rem;
		text-align: center;
	}

	.projects-section h1 {
		text-align: center;
	}

	.projects-buttons {
		flex-direction: row;
		flex-wrap: wrap;
		margin-bottom: 2rem;
	}

	.project-filter-btn {
		width: auto;
		padding: 0.5rem 1rem;
		font-size: 0.7rem;
	}

	.quote-content h1 {
		font-size: 2rem;
	}

	.whatsapp-float {
		width: 50px;
		height: 50px;
		bottom: 1rem;
		right: 1rem;
	}

	.whatsapp-float i {
		font-size: 1.5rem;
	}
}

@media (max-width: 768px) {
	.navbar-nav .nav-item:not(:last-child) .nav-link::after {
		display: none;
	}

	.hero-social {
		top: 1rem;
		right: 1rem;
		gap: 0.8rem;
	}

	.hero-lines-right {
		width: 50%;
		height: 60%;
	}

	.projects-grid {
		max-height: 300px;
	}
}

/* ==========================================================================
	PROYECTOS - VERSIÓN MÓVIL (Lista con mejor diseño)
========================================================================== */
/* Por defecto: ocultar lista en desktop */
.projects-mobile-list {
	display: none !important;
}

/* Ocultar mapa en móviles y mostrar lista */
@media (max-width: 768px) {
	.interactive-map-container {
		display: none !important;
	}

	.projects-mobile-list {
		display: block !important;
	}
}

/* Asegurar que en desktop el mapa se vea */
@media (min-width: 769px) {
	.interactive-map-container {
		display: block !important;
	}

	.projects-mobile-list {
		display: none !important;
	}
}

/* Estilos mejorados para la lista de proyectos en móvil */
.projects-mobile-list {
	margin-top: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.project-mobile-item {
	background: #ffffff;
	border-radius: 16px;
	padding: 1rem 1.2rem;
	cursor: pointer;
	transition: all 0.3s ease;
	border: 1px solid rgba(73, 77, 58, 0.15);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.project-mobile-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	border-color: rgba(73, 77, 58, 0.3);
}

.project-mobile-title {
	font-family: var(--font-heading);
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--section4-title);
	margin-bottom: 0.5rem;
	letter-spacing: -0.3px;
}

.project-mobile-location {
	font-family: var(--font-body);
	font-size: 0.75rem;
	color: #8a7a6a;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 0.3rem;
}

.project-mobile-location span {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
}

.project-mobile-year {
	font-family: var(--font-body);
	font-size: 0.7rem;
	color: #b4a69a;
	background: rgba(180, 166, 154, 0.15);
	padding: 0.2rem 0.6rem;
	border-radius: 20px;
	display: inline-block;
}

.project-mobile-type {
	font-family: var(--font-body);
	font-size: 0.7rem;
	color: #b4a69a;
	margin-top: 0.4rem;
	display: inline-block;
	background: rgba(180, 166, 154, 0.1);
	padding: 0.2rem 0.6rem;
	border-radius: 20px;
}

/* Animación de entrada para items */
.project-mobile-item {
	animation: fadeInUp 0.4s ease backwards;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Efecto de carga escalonada */
.project-mobile-item:nth-child(1) {
	animation-delay: 0.05s;
}

.project-mobile-item:nth-child(2) {
	animation-delay: 0.1s;
}

.project-mobile-item:nth-child(3) {
	animation-delay: 0.15s;
}

.project-mobile-item:nth-child(4) {
	animation-delay: 0.2s;
}

.project-mobile-item:nth-child(5) {
	animation-delay: 0.25s;
}

.project-mobile-item:nth-child(6) {
	animation-delay: 0.3s;
}

.project-mobile-item:nth-child(7) {
	animation-delay: 0.35s;
}

.project-mobile-item:nth-child(8) {
	animation-delay: 0.4s;
}

.project-mobile-item:nth-child(9) {
	animation-delay: 0.45s;
}

/* ==========================================================================
	VERSIÓN MÓVIL - RESPONSIVE (max-width: 768px)
========================================================================== */

@media (max-width: 768px) {
	/* ---------- HEADER / NAVBAR (Toggler Hamburguesa) ---------- */
	.navbar {
		padding: 0.8rem 0;
		background-color: var(--header-bg) !important;
	}

	.navbar-brand img {
		height: 30px;
		width: auto;
	}

	.navbar-toggler {
		border: 0px;
		/* border: 1px solid rgba(255, 255, 255, 0.3); */
		background-color: transparent;
		padding: 0.5rem 0.8rem;
		border-radius: 8px;
	}

	.navbar-toggler-icon {
		background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
	}

	.navbar-toggler:focus {
		box-shadow: none;
		outline: none;
	}

	.navbar-collapse {
		background-color: var(--header-bg);
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		padding: 1rem 1.5rem;
		border-top: 1px solid rgba(255, 255, 255, 0.1);
	}

	.navbar-nav {
		gap: 0.5rem !important;
		flex-direction: column;
	}

	.navbar-nav .nav-item:not(:last-child) .nav-link::after {
		display: none;
		/* Eliminar separadores verticales en móvil */
	}

	.navbar-nav .nav-link {
		font-size: 1rem;
		padding: 0.5rem 0;
		display: inline-block;
	}

	/* ---------- SECCIÓN 1: HERO ---------- */
	.hero-section {
		min-height: 90vh;
		padding-bottom: 2rem;
		align-items: flex-end;
	}

	/* Ocultar iconos redes sociales en móvil */
	.hero-social {
		display: none;
	}

	/* Líneas decorativas - más pequeñas en móvil */
	.hero-lines-right {
		width: 50%;
		height: 50%;
		opacity: 0.7;
	}

	/* Contenedor verde - ajustado a móvil */
	.hero-green-container {
		margin-left: 0;
		margin-right: 1rem;
		margin-bottom: 1rem;
		padding: 1.5rem;
		max-width: calc(100% - 1rem);
		border-radius: 0 1.5rem 1.5rem 0;
	}

	.hero-content h1 {
		font-size: 2rem;
		line-height: 1.2;
		margin-bottom: 0.8rem;
	}

	.hero-content .lead {
		font-size: 0.95rem;
		margin-bottom: 1.5rem;
		line-height: 1.4;
	}

	.btn-hero {
		font-size: 0.9rem;
		padding: 0.5rem 1.8rem;
		border-width: 1.5px;
	}

	/* ---------- SECCIÓN 2: DISEÑO QUE TRASCIIENDE ---------- */
	.design-section {
		padding: 50px 0;
	}

	/* Primero texto, luego imagen */
	.design-section .row {
		flex-direction: column;
	}

	.design-section .col-lg-4 {
		order: 1;
		margin-bottom: 2rem;
	}

	.design-section .col-lg-8 {
		order: 2;
	}

	.design-title {
		font-size: 2rem;
	}

	.design-title::after {
		width: 2em;
		bottom: -5px;
	}

	.design-text {
		font-size: 1rem;
		margin-bottom: 1.2rem;
	}

	.btn-design {
		font-size: 0.9rem;
		padding: 0.5rem 1.8rem;
		border-width: 1.5px;
	}

	.design-image {
		min-height: 250px;
		background-size: cover;
		margin-top: 0;
	}

	/* ---------- SECCIÓN 3: PROCESO ---------- */
	.process-section {
		padding: 50px 0;
	}

	.process-section h1 {
		font-size: 1.8rem;
		margin-bottom: 1.5rem;
	}

	/* Eliminar el margin inline excesivo */
	.process-section .row.g-4.mt-4 {
		margin: 0 !important;
		margin-top: 1rem !important;
	}

	/* 2 columnas en móvil */
	.process-section .col-md-6.col-lg-3 {
		flex: 0 0 50%;
		max-width: 50%;
		margin-bottom: 1.5rem;
	}

	.process-card {
		padding: 0.5rem;
		text-align: center;
	}

	.process-icon {
		width: 60px;
		margin-bottom: 1rem;
	}

	.step-number {
		font-size: 1.2rem;
	}

	.process-card h4 {
		font-size: 1.3rem;
		margin-bottom: 0.5rem;
	}

	.process-card p {
		font-size: 0.75rem;
		line-height: 1.4;
	}

	/* ---------- SECCIÓN 4: PROYECTOS ---------- */
	.projects-section {
		padding: 50px 0;
	}

	.projects-section h1 {
		font-size: 1.8rem;
		margin-bottom: 1.5rem;
		text-align: left;
	}

	.projects-section h1::after {
		bottom: -0.3em;
	}

	/* Botones horizontales con wrap */
	.projects-buttons {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 0.5rem;
		margin-bottom: 1.5rem;
	}

	.project-filter-btn {
		width: auto;
		padding: 0.4rem 1rem;
		font-size: 0.7rem;
		border-width: 1px;
	}

	/* Lista de proyectos con scroll vertical */
	.projects-grid {
		max-height: 300px;
		margin-bottom: 1rem;
	}

	.project-item {
		font-size: 0.8rem;
		padding: 0.6rem;
	}

	/* Mapa visual - se muestra debajo de la lista */
	.map-lines-left {
		display: none;
		/* Ocultar líneas decorativas en móvil */
	}

	/* ---------- SECCIÓN 5: CADA ESPACIO (QUOTE) ---------- */
	.quote-section {
		padding: 60px 0;
	}

	.quote-content {
		text-align: left;
		margin-bottom: 0;
		padding: 0 1rem;
	}

	.quote-content h1 {
		font-size: 1.8rem;
		line-height: 1.3;
	}

	.btn-quote {
		font-size: 0.9rem;
		padding: 0.5rem 1.8rem;
		border-width: 1.5px;
		margin-top: 1rem;
	}

	/* ---------- SECCIÓN 6: FOOTER ---------- */
	/* ==========================================================================
		AJUSTES MÓVIL PARA FOOTER
	========================================================================== */

	/* Logo más pequeño en móvil */
	.footer-logo img {
		height: 25px !important;
		width: auto;
	}

	/* Ajuste de títulos */
	.footer-title {
		font-size: 0.9rem !important;
	}

	/* Textos más pequeños */
	.footer-address p,
	.footer-contact p,
	.footer-menu a {
		font-size: 0.75rem !important;
	}

	/* Iconos redes sociales más pequeños */
	.footer-social a {
		font-size: 1.2rem !important;
		margin: 0 0.8rem !important;
	}

	/* Margen entre secciones */
	.footer-contact-wrapper {
		margin-top: 1rem;
	}

	/* Ajuste de espaciado */
	.footer-section {
		padding: 3em 2em 1em !important;
	}

	/* ---------- WHATSAPP FLOTANTE ---------- */
	.whatsapp-float {
		width: 45px;
		height: 45px;
		bottom: 1rem;
		right: 1rem;
	}

	.whatsapp-float i {
		font-size: 1.5rem;
	}

	/* ---------- MODAL EN MÓVIL ---------- */
	.modal-dialog {
		margin: 0.5rem;
	}

	.modal-cover {
		height: 200px;
	}

	.modal-body {
		padding: 1rem;
	}

	.modal-body h3 {
		font-size: 1.1rem;
		margin-top: 1rem !important;
	}

	.modal-body p,
	.modal-body .bg-light p {
		font-size: 0.85rem;
	}

	.modal-title {
		font-size: 1.2rem !important;
	}
}

/* ==========================================================================
	TABLET (entre 769px y 992px)
========================================================================== */

@media (min-width: 769px) and (max-width: 992px) {

	/* ---------- HEADER / NAVBAR (Toggler Hamburguesa) ---------- */
	.navbar {
		padding: 0.8rem 0;
		background-color: var(--header-bg) !important;
	}

	.navbar-brand img {
		height: 30px;
		width: auto;
	}

	.navbar-toggler {
		border: 0px;
		/* border: 1px solid rgba(255, 255, 255, 0.3); */
		background-color: transparent;
		padding: 0.5rem 0.8rem;
		border-radius: 8px;
	}

	.navbar-toggler-icon {
		background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
	}

	.navbar-toggler:focus {
		box-shadow: none;
		outline: none;
	}

	.navbar-collapse {
		background-color: var(--header-bg);
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		padding: 1rem 1.5rem;
		border-top: 1px solid rgba(255, 255, 255, 0.1);
	}

	.navbar-nav {
		gap: 0.5rem !important;
		flex-direction: column;
	}

	.navbar-nav .nav-item:not(:last-child) .nav-link::after {
		display: none;
		/* Eliminar separadores verticales en móvil */
	}

	.navbar-nav .nav-link {
		font-size: 1rem;
		padding: 0.5rem 0;
		display: inline-block;
	}

	.hero-green-container {
		margin-left: 0;
		max-width: 80%;
		padding: 2rem;
	}

	.hero-content h1 {
		font-size: 2.5rem;
	}

	.hero-content .lead {
		font-size: 1rem;
	}

	.btn-hero,
	.btn-design,
	.btn-quote {
		font-size: 1rem;
		padding: 0.4rem 2rem;
	}

	.design-title {
		font-size: 2rem;
	}

	.design-text {
		font-size: 1rem;
	}

	.process-section h1,
	.projects-section h1 {
		font-size: 2rem;
	}

	.process-card h4 {
		font-size: 1.5rem;
	}

	.process-card p {
		font-size: 0.8rem;
	}

	.projects-buttons {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.project-filter-btn {
		width: auto;
	}
}

/* ==========================================================================
	MÓVIL PEQUEÑO (max-width: 480px)
========================================================================== */

@media (max-width: 480px) {

	.hero-content h1 {
		font-size: 1.6rem;
	}

	.hero-content .lead {
		font-size: 0.85rem;
	}

	.design-title {
		font-size: 1.6rem;
	}

	.design-text {
		font-size: 0.85rem;
	}

	.process-section h1,
	.projects-section h1,
	.quote-content h1 {
		font-size: 1.5rem;
	}

	.process-section .col-md-6.col-lg-3 {
		flex: 0 0 100%;
		/* max-width: 100%; */
	}

	.process-icon {
		width: 50px;
	}

	.process-card h4 {
		font-size: 1.2rem;
	}

	.project-filter-btn {
		font-size: 0.65rem;
		padding: 0.3rem 0.8rem;
	}

	.project-item {
		font-size: 0.75rem;
	}

	.btn-hero,
	.btn-design,
	.btn-quote {
		font-size: 0.8rem;
		padding: 0.4rem 1.5rem;
	}

	.footer-section .col-md-3:first-of-type,
	.footer-section .col-md-3:nth-of-type(2) {
		width: 100%;
	}

	.footer-address p,
	.footer-contact p,
	.footer-menu a {
		font-size: 0.8rem;
	}

	.footer-social a {
		font-size: 1.1rem;
		margin: 0 0.6rem;
	}
}

/* ==========================================================================
   MODAL DE PROYECTOS
========================================================================== */

/* Contenedor principal del modal */
.modal-premium-wrapper {
	position: relative;
	background-color: #B4A69A;
	border-radius: 24px;
	overflow: hidden;
}

/* Líneas decorativas esquina inferior izquierda */
.modal-lines-bg {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 180px;
	height: 180px;
	z-index: 1;
	pointer-events: none;
}

.modal-lines-bg img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* Card interior del modal */
.modal-card-inner-card {
	background-color: #F4F0E6;
	margin: 20px;
	border-radius: 20px;
	position: relative;
	z-index: 2;
}

/* Botón cerrar personalizado */
.btn-modal-close-custom {
	position: absolute;
	top: 16px;
	right: 20px;
	z-index: 10;
	background: rgba(0, 0, 0, 0.5);
	border: none;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.3s ease;
	color: white;
	font-size: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.btn-modal-close-custom:hover {
	background: rgba(0, 0, 0, 0.8);
	transform: rotate(90deg);
}

/* Loader del modal */
.modal-loader-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(244, 240, 230, 0.95);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 20;
}

/* Contenedor de fila con altura fija */
.modal-row-fixed {
	height: 600px;
	max-height: 80vh;
}

/* Columna izquierda - scrollable */
.modal-left-col-scroll {
	overflow-y: auto;
	padding: 2rem 1.5rem 2rem 2rem;
	border-right: 1px solid rgba(0, 0, 0, 0.05);
	height: 100%;
}

/* Scroll personalizado columna izquierda */
.modal-left-col-scroll::-webkit-scrollbar {
	width: 4px;
}

.modal-left-col-scroll::-webkit-scrollbar-track {
	background: #e0dcd3;
	border-radius: 4px;
}

.modal-left-col-scroll::-webkit-scrollbar-thumb {
	background: #B4A69A;
	border-radius: 4px;
}

/* Columna derecha - scrollable */
.modal-right-col-scroll {
	padding: 2rem 2rem 2rem 1.5rem;
	height: 100%;
	overflow-y: auto;
}

.modal-right-col-scroll::-webkit-scrollbar {
	width: 4px;
}

.modal-right-col-scroll::-webkit-scrollbar-track {
	background: #e0dcd3;
	border-radius: 4px;
}

.modal-right-col-scroll::-webkit-scrollbar-thumb {
	background: #B4A69A;
	border-radius: 4px;
}

/* Título del modal */
.modal-title-custom {
	font-family: var(--font-heading);
	font-size: 2rem;
	font-weight: 600;
	color: #2c2c2c;
	margin-bottom: 1.5rem;
	letter-spacing: -0.02em;
}

/* Contenedor de detalles */
.modal-details-container {
	margin-bottom: 2rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* Item de detalle */
.modal-detail-item {
	display: flex;
	margin-bottom: 0.5rem;
}

.modal-detail-label {
	width: 85px;
	font-weight: 600;
	color: #6b5b4e;
}

.modal-detail-value {
	color: #3a3a3a;
}

/* Secciones del modal */
.modal-section-custom {
	margin-bottom: 1.8rem;
}

.modal-section-title {
	font-family: var(--font-heading);
	font-size: 1.1rem;
	font-weight: 600;
	color: #6b5b4e;
	margin-bottom: 0.8rem;
	letter-spacing: -0.01em;
}

.modal-section-text {
	font-size: 0.9rem;
	line-height: 1.6;
	color: #4a4a4a;
}

/* Contenedor de cover */
.modal-cover-container {
	width: 100%;
	border-radius: 16px;
	overflow: hidden;
	margin-bottom: 1.5rem;
	background: #e8e4db;
	height: 250px;
}

.modal-cover-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Título de galería */
.modal-gallery-header {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 1rem;
}

.modal-gallery-title-text {
	font-family: var(--font-heading);
	font-size: 1rem;
	font-weight: 600;
	color: #6b5b4e;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.modal-gallery-count {
	font-size: 0.75rem;
	color: #8a7a6a;
}

/* Grid de galería 2x2 */
.modal-gallery-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}

/* Item de galería */
.modal-gallery-item {
	position: relative;
	aspect-ratio: 16 / 11;
	border-radius: 12px;
	overflow: hidden;
	cursor: pointer;
	background: #e8e4db;
}

.modal-gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.modal-gallery-item:hover img {
	transform: scale(1.05);
}

.modal-gallery-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
	padding: 8px 12px;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.modal-gallery-item:hover .modal-gallery-overlay {
	opacity: 1;
}

.modal-gallery-overlay span {
	color: white;
	font-size: 0.7rem;
}

/* Item "más imágenes" */
.modal-gallery-more {
	position: relative;
	cursor: pointer;
	background: #d4cfc4;
}

.modal-gallery-more-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.3s ease;
}

.modal-gallery-more:hover .modal-gallery-more-overlay {
	background: rgba(0, 0, 0, 0.75);
}

.modal-gallery-more-overlay span {
	color: white;
	font-family: var(--font-heading);
	font-size: 1.2rem;
	font-weight: 600;
}

/* ==========================================================================
   LIGHTBOX PROJECTS
========================================================================== */

.lightbox-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.95);
	z-index: 11000;
	align-items: center;
	justify-content: center;
}

.lightbox-modal.show {
	display: flex;
}

.lightbox-image {
	max-width: 90%;
	max-height: 85%;
	object-fit: contain;
	border-radius: 8px;
}

.lightbox-close {
	position: absolute;
	top: 20px;
	right: 30px;
	font-size: 40px;
	color: white;
	cursor: pointer;
	transition: 0.3s;
	font-family: monospace;
	z-index: 11001;
}

.lightbox-close:hover {
	color: #B4A69A;
}

.lightbox-caption {
	position: absolute;
	bottom: 20px;
	left: 0;
	right: 0;
	text-align: center;
	color: white;
	font-family: var(--font-body);
	font-size: 14px;
}

.lightbox-prev,
.lightbox-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0, 0, 0, 0.5);
	color: white;
	border: none;
	font-size: 30px;
	padding: 10px 18px;
	cursor: pointer;
	border-radius: 50%;
	transition: 0.3s;
	z-index: 11001;
}

.lightbox-prev:hover,
.lightbox-next:hover {
	background: rgba(180, 166, 154, 0.8);
}

.lightbox-prev {
	left: 20px;
}

.lightbox-next {
	right: 20px;
}

/* ==========================================================================
   RESPONSIVE MODAL PROYECTOS
========================================================================== */

@media (max-width: 992px) {
	.modal-row-fixed {
		height: auto;
		max-height: 90vh;
		flex-direction: column;
	}

	.modal-left-col-scroll {
		border-right: none;
		border-bottom: 1px solid rgba(0, 0, 0, 0.05);
		max-height: 40vh;
		height: auto;
	}

	.modal-right-col-scroll {
		padding: 1.5rem;
		max-height: 50vh;
	}

	.modal-title-custom {
		font-size: 1.5rem;
	}

	.modal-cover-container {
		height: 200px;
	}
}

@media (max-width: 768px) {
	.modal-card-inner-card {
		margin: 10px;
	}

	.modal-lines-bg {
		width: 120px;
		height: 120px;
	}

	.modal-gallery-grid {
		gap: 8px;
	}

	.modal-detail-item {
		font-size: 0.8rem;
	}

	.modal-detail-label {
		width: 75px;
	}

	.modal-cover-container {
		height: 160px;
	}

	.modal-section-text {
		font-size: 0.85rem;
	}

	.lightbox-prev,
	.lightbox-next {
		font-size: 20px;
		padding: 8px 14px;
	}

	.lightbox-close {
		font-size: 30px;
		top: 15px;
		right: 20px;
	}
}

@media (max-width: 576px) {
	.modal-gallery-grid {
		gap: 6px;
	}

	.modal-left-col-scroll {
		padding: 1rem;
	}

	.modal-right-col-scroll {
		padding: 1rem;
	}

	.modal-title-custom {
		font-size: 1.2rem;
		margin-bottom: 1rem;
	}

	.modal-section-custom {
		margin-bottom: 1rem;
	}
}