/* 71427321893 */
/*Páguenos*/
/*318 798*/
/*Abundancia*/
/* Variables y estilos base */
:root {
	--color-primary: #1b1c23;
	--color-secondary-pink: #f578a3;
	--color-secondary-orange: #f59778;
	--color-light: #ffffff;
	--transition: all 1s ease;
	--border-radius: 10px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Montserrat', sans-serif;
	color: var(--color-light);
	background-color: var(--color-primary);
	line-height: 1.6;
	overflow-x: hidden;
	position: relative;

}

/* Preloader */
.preloader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--color-primary);
	z-index: 9999;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
	opacity: 0;
	visibility: hidden;
}

.loader {
	width: 500px;
	height: 500px;
	border: 30px solid rgba(255, 255, 255, 0.1);
	border-top: 30px solid var(--color-secondary-pink);
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

/* Estilos de tipografía */
h1,
h2,
h3 {
	font-family: 'Lora', serif;
	font-weight: 900;
	letter-spacing: -0.5px;
}

.logo {
	display: flex;
	align-items: center;
	gap: 12px;
}

.logo-img {
	height: 50px;
	width: auto;
	object-fit: contain;
}

.logo-text {
	font-size: 1.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: -1px;
	color: var(--color-light);
}

.tagline {
	font-size: clamp(2rem, 5vw, 4.5rem);
	font-weight: 700;
	line-height: 1.1;
	max-width: 800px;
	margin: 0 auto;
	text-align: center;
	position: relative;
	z-index: 2;
	text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
	transition: opacity 1s ease;
	opacity: 1;
}

.impact-text {
	font-size: clamp(1.5rem, 4vw, 3.5rem);
	color: #1b1c23;
	font-weight: 700;
	position: absolute;
	top: 50%;
	left: 100%;
	transform: translateY(-50%);
	white-space: nowrap;
	opacity: 0;
	z-index: 2;
	transition: all 3s ease;
}

.section-title {
	font-size: 3rem;
	font-family: Lora, sans-serif;
	margin-bottom: 2rem;
	position: relative;
	padding-bottom: 0.5rem;
	text-align: left;
	/* Force left alignment */
	margin-left: 0%;
}

.section-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 60px;
	height: 2px;
	background: linear-gradient(90deg, var(--color-secondary-pink), var(--color-secondary-orange));
}


/* Estructura principal */
.container {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

section {
	padding: 6rem 0;
}

/* Header */
header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	padding: 1.5rem 0;
	transition: var(--transition);
}

.scrolled {
	background-color: rgba(27, 28, 35, 0.95);
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.header-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* Menú hamburguesa */
.menu-toggle {
	cursor: pointer;
	width: 40px;
	height: 30px;
	position: relative;
	z-index: 1001;
}

.menu-toggle span {
	display: block;
	position: absolute;
	height: 3px;
	width: 100%;
	background: var(--color-light);
	border-radius: 2px;
	opacity: 1;
	left: 0;
	transform: rotate(0deg);
	transition: var(--transition);
}

.menu-toggle span:nth-child(1) {
	top: 0;
}

.menu-toggle span:nth-child(2) {
	top: 12px;
}

.menu-toggle span:nth-child(3) {
	top: 24px;
}

.menu-toggle.active span:nth-child(1) {
	transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
	opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
	transform: rotate(-45deg) translate(8px, -8px);
}

/* Menú desplegado */
.menu-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--color-primary);
	z-index: 999;
	display: flex;
	align-items: center;
	justify-content: center;
	transform: translateX(100%);
	transition: transform 0.5s ease;
}

.menu-overlay.active {
	transform: translateX(0);
}

.nav-links {
	list-style: none;
	text-align: left;
	padding: 0 20px;
}

.nav-links li {
	margin-bottom: .2rem;
}

.nav-links a {
	position: relative;
	display: inline-block;
	padding: 2px 0;
	font-size: clamp(2rem, 8vw, 5rem);
	font-weight: 700;
	text-decoration: none;
	color: var(--color-light);
	text-transform: lowercase;
	transition: var(--transition);
	font-family: 'Chillax', sans-serif;
}

.nav-links a::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 100%;
	background: linear-gradient(90deg, var(--color-secondary-orange), var(--color-secondary-orange));
	transition: var(--transition);
	z-index: -1;
}

.nav-links a:hover {
	color: var(--color-primary);
}

.nav-links a:hover::after {
	width: 1600px;
}

/* Sección Hero */
.hero {
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.hero-content {
	position: relative;
	z-index: 2;
	width: 100%;
	padding: 0 20px;
}

.circle-animation {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0);
	width: 100px;
	height: 100px;
	border-radius: 50%;
	background: var(--color-secondary-pink);
	z-index: 1;
	transition: transform 6s ease;
}

/* Sección Core */
#services {
	padding: 8rem 0;
	position: relative;
}

.services-content {
	display: grid;
	grid-template-columns: 1fr 2px 2fr;
	gap: 6rem;
	align-items: start;
	min-height: 70vh;
}

.services-left {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	height: 100%;
}

.section-title {
	font-family: 'Lora', serif;
	font-size: clamp(3rem, 6vw, 5rem);
	font-weight: 900;
	color: var(--color-light);
	margin-bottom: 2rem;
	line-height: 1.1;
	letter-spacing: -2px;
}

.section-subtitle {
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(1.2rem, 2.5vw, 1.8rem);
	font-weight: 300;
	color: rgba(255, 255, 255, 0.7);
	line-height: 1.4;
	margin-bottom: 4rem;
}

.services-divider {
	width: 2px;
	background: linear-gradient(to bottom,
			transparent 0%,
			var(--color-light) 20%,
			var(--color-light) 80%,
			transparent 100%);
	align-self: stretch;
	opacity: 0.6;
}

.services-right {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.service-item {
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(1.8rem, 3.5vw, 3.2rem);
	font-weight: 500;
	color: var(--color-light);
	padding: 2rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	position: relative;
	cursor: pointer;
	transition: var(--transition);
	line-height: 1.2;
	letter-spacing: -1px;
}

.service-item:last-child {
	border-bottom: none;
}

.service-item::before {
	content: '';
	position: absolute;
	left: -2rem;
	top: 50%;
	transform: translateY(-50%);
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--color-secondary-orange), var(--color-secondary-pink));
	transition: var(--transition);
}

.service-item:hover {
	color: var(--color-secondary-orange);
	transform: translateX(1rem);
	padding-left: 1rem;
}

.service-item:hover::before {
	width: 3rem;
}

.service-emphasis {
	font-style: italic;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.8);
}

.service-bold {
	font-weight: 700;
	color: var(--color-light);
}

.bottom-accent {
	position: absolute;
	bottom: 2rem;
	right: 2rem;
	width: 60px;
	height: 60px;
	background: var(--color-secondary-pink);
	transform: rotate(45deg);
	opacity: 0.1;
}

/* Responsive Design */
@media (max-width: 1024px) {
	.services-content {
		grid-template-columns: 1fr;
		gap: 4rem;
		text-align: left;
	}

	.services-divider {
		display: none;
	}

	.services-right {
		margin-top: 2rem;
	}

	.service-item {
		font-size: clamp(1.5rem, 4vw, 2.5rem);
		padding: 1.5rem 0;
	}
}

@media (max-width: 768px) {
	.container {
		padding: 0 1rem;
	}

	#services {
		padding: 4rem 0;
	}

	.services-content {
		gap: 2rem;
	}

	.section-title {
		font-size: clamp(2.5rem, 8vw, 4rem);
		margin-bottom: 1rem;
	}

	.section-subtitle {
		font-size: clamp(1rem, 3vw, 1.4rem);
		margin-bottom: 2rem;
	}

	.service-item {
		font-size: clamp(1.3rem, 5vw, 2rem);
		padding: 1rem 0;
	}

	.bottom-accent {
		width: 40px;
		height: 40px;
		bottom: 1rem;
		right: 1rem;
	}
}

/* Custom cursor styles */
#custom-cursor {
	position: fixed;
	top: 0;
	left: 0;
	pointer-events: none;
	z-index: 9999;
	width: 50px;
	height: 50px;
	transform: translate(-50%, -50%);
	transition: all 0.2s ease;
}

#cursor-image {
	width: 100%;
	height: 100%;
	display: block;
}

#custom-cursor.proyectos-cursor {
	width: 200px !important;
	height: 200px !important;
}

#custom-cursor.proyectos-cursor #cursor-image {
	border: 3px solid var(--color-light);
	border-radius: 50%;
	box-shadow: 0 5px 15px rgba(245, 120, 163, 0.4);
}

/* Animation on scroll */
.service-item {
	opacity: 0;
	transform: translateY(30px);
	animation: slideInUp 0.6s ease forwards;
}

.service-item:nth-child(1) {
	animation-delay: 0.1s;
}

.service-item:nth-child(2) {
	animation-delay: 0.2s;
}

.service-item:nth-child(3) {
	animation-delay: 0.3s;
}

.service-item:nth-child(4) {
	animation-delay: 0.4s;
}

.service-item:nth-child(5) {
	animation-delay: 0.5s;
}

.service-item:nth-child(6) {
	animation-delay: 0.6s;
}

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

/* Sección Detalles */
/* Sección Detalles - Enhanced Styles */
#details {
	padding: 6rem 0;
}

.container {
	width: 100%;
	max-width: 1600px;
	margin: 0 auto;
	padding: 0 15px;
}

.section-title {
	font-size: 3rem;
	font-family: Lora, sans-serif;
	margin-bottom: 2rem;
	position: relative;
	padding-bottom: 0.5rem;
}

.section-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 60px;
	height: 2px;
	background: linear-gradient(90deg, var(--color-secondary-pink), var(--color-secondary-orange));
}

/* Device warning for non-desktop */
.device-warning {
	display: none;
	background: #1b1c23;
	color: #fff;
	text-align: center;
	padding: 1px;
	border-radius: 1px;
	margin: .2rem auto;
	max-width: 2px;
	font-weight: 5;
}

/* Instructions for desktop */
.instructions {
	text-align: center;
	margin: 0 auto .2rem;
	color: rgba(255, 255, 255, 0.7);
	font-style: italic;
	max-width: 6px;
	padding: .1rem;
	border-radius: 1px;
	display: none;
}

/* Scroll container for desktop */
.desktop-scroll-container {
	overflow-x: auto;
	overflow-y: hidden;
	padding-bottom: 1.5rem;
	cursor: grab;
	scrollbar-width: thin;
	scrollbar-color: var(--color-light) rgba(255, 255, 255, 0.1);
	-ms-overflow-style: none;
	/* Hide scrollbar for IE and Edge */
}

.desktop-scroll-container::-webkit-scrollbar {
	height: 8px;
}

.desktop-scroll-container::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.1);
	border-radius: 10px;
}

.desktop-scroll-container::-webkit-scrollbar-thumb {
	background: var(--color-secondary-pink);
	border-radius: 10px;
}

.desktop-scroll-container:active {
	cursor: grabbing;
}

/* Default styles for all devices */
.details-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 3rem;
}

.detail-card {
	position: relative;
	padding: 2rem;
	background-color: rgba(255, 255, 255, 0.05);
	border-radius: var(--border-radius);
	overflow: hidden;
	transition: var(--transition);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	cursor: pointer;
}

.detail-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
	background-color: rgba(255, 255, 255, 0.08);
}

.detail-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 5px;
	height: 100%;
	background: linear-gradient(to bottom, var(--color-light), var(--color-light));
	border-radius: 10px 0 0 10px;
}

.detail-number {
	font-size: 4rem;
	font-weight: 700;
	font-family: Chillax, sans-serif;
	color: var(--color-light);
	margin-bottom: 1rem;

}

.service-title {
	font-size: 3rem;
	margin-bottom: 1rem;
	font-weight: 700;
	color: var(--color-light);
}

.detail-content {
	margin-top: 1rem;
	color: rgba(255, 255, 255, 0.8);
	font-size: 1.1rem;
	line-height: 1.7;
}

/* Desktop-specific styles */
@media (min-width: 1024px) {
	.desktop-scroll-container {
		display: block;
	}

	.details-grid {
		display: flex;
		flex-wrap: nowrap;
		width: max-content;
		gap: 3rem;
		padding: 0.5rem;
	}

	.detail-card {
		flex: 0 0 380px;
		min-width: 380px;
		scroll-snap-align: start;
	}

	.instructions {
		display: block;
	}
}

/* Botón de scroll */
.scroll-down {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	color: var(--color-light);
	font-size: 2rem;
	animation: bounce 2s infinite;
	cursor: pointer;
	opacity: 0.7;
	transition: var(--transition);
}

.scroll-down:hover {
	opacity: 1;
	color: var(--color-secondary-pink);
}

@keyframes bounce {

	0%,
	20%,
	50%,
	80%,
	100% {
		transform: translateY(0) translateX(-50%);
	}

	40% {
		transform: translateY(-20px) translateX(-50%);
	}

	60% {
		transform: translateY(-10px) translateX(-50%);
	}
}


/* Portafolio Section */

#portfolio {
	padding: 6rem 0;
	background-color: var(--color-primary);
}

.portfolio-container {
	display: flex;
	flex-direction: column;
	gap: 4rem;
	width: 100%;
	margin: 0 auto;
}

.portfolio-row {
	display: flex;
	justify-content: center;
	gap: 2rem;
	flex-wrap: wrap;
}

.portfolio-item-wrapper {
	position: relative;
	width: 100%;
	max-width: 400px;
	margin-bottom: 1rem;
}

.item-subtitle {
	display: block;
	color: var(--color-light);
	font-size: 1.5rem;
	font-family: 'Montserrat', serif;
	font-weight: 700;
	margin-bottom: 1rem;
	padding-left: 1rem;
	position: relative;
	letter-spacing: -0.5px;
}

.item-subtitle::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 4px;
	height: 20px;
	background: linear-gradient(to bottom, var(--color-light), var(--color-light));
	border-radius: 2px;
}

.portfolio-item {
	position: relative;
	overflow: hidden;
	border-radius: var(--border-radius);
	transition: var(--transition);
	box-shadow: 0 1px 1px #ffffff;

}

.portfolio-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.portfolio-item img {
	width: 100%;
	height: 300px;
	object-fit: cover;
	display: block;
	transition: var(--transition);
}

.portfolio-item video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: var(--transition);
}

@media (min-width: 769px) {
	.portfolio-item:hover img {
		opacity: 0;
	}

	.portfolio-item:hover video {
		opacity: 1;
	}
}

@media (max-width: 768px) {
	.portfolio-row {
		flex-direction: column;
		align-items: center;
	}

	.portfolio-item-wrapper {
		max-width: 100%;
	}

	.portfolio-container {
		gap: 2rem;
	}
}

/*Form*/
#contacto {
	/*  Crucial: Inherit the background color from the body  */
	background-color: inherit;
	padding: 20px;
}

.contact-container {
	display: flex;
	border: 5px solid #1b1c23;
	border-radius: 20px;
	/* Rounded corners */
	overflow: hidden;
	/*  Important for brutalist look - avoids content overflowing rounded corners */
	margin: 20px auto;
	max-width: 1500px;
	/* Adjust as needed */
}

.contact-info {
	width: 50%;
	/* Adjust as needed */
	padding: 30px;
	background-color: #f59778;
	/* Orange background */
	color: white;
}

.contact-info h3 {
	font-size: 5em;
	font-family: Chillax, sans-serif;
	line-height: 60px;
	margin-bottom: 15px;
	text-transform: uppercase;
	padding-bottom: 1em;
}

.contact-info ul {
	list-style: none;
	padding: 0;
	justify-content: flex-end;
	height: 100%;
}

.contact-info li {
	margin-bottom: 10px;
	justify-content: flex-end;
	height: 100%;
}

.contact-info a {
	color: white;
	text-decoration: none;
	border-bottom: 1px solid white;
	/*  Optional: Underline for links */
	justify-content: flex-end;
	height: 100%;
}

/* Form Styling (Brutalist tweaks) */
.form-container {
	width: 50%;
	/* Adjust as needed */
	padding: 30px;
	background-color: inherit;
	/*Keep it the same as background*/
}

.form-container h4 {
	font-size: 2em;
	margin-bottom: 20px;
	color: white;
	text-transform: uppercase;
}

.form-group {
	margin-bottom: 20px;
}

label {
	display: block;
	margin-bottom: 5px;
	font-weight: bold;
	color: white;
	text-transform: uppercase;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
	width: 100%;
	padding: 12px;
	border: none;
	/* Remove standard borders */
	border-radius: 5px;
	font-size: 16px;
	font-family: inherit;
	box-sizing: border-box;
	background-color: #fff;
	/* White background */
	color: #1b1c23;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus {
	outline: 2px solid #1b1c23;
}

.pink-button {
	background-color: #f59778;
	color: white;
	padding: 15px 30px;
	border: none;
	border-radius: 0;
	font-size: 18px;
	cursor: pointer;
	font-family: inherit;
	text-transform: uppercase;
	transition: background-color 0.3s ease;
}

.pink-button:hover {
	background-color: #1b1c23;
	border: 1px solid;
	border-color: #ffffff;
}

/*  Optional: Add some subtle shadow for depth */
.form-container {
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.contact-container {
		flex-direction: column;
	}

	.contact-info,
	.form-container {
		width: 100%;
	}

	.contact-info {
		padding: 20px;
	}

	.form-container {
		padding: 20px;
	}
}


/* Footer */
.main-footer {
	background-color: #1b1c23;
	color: white;
	padding: 60px 15px 30px 15px;
	width: 100%;
	margin-top: 0;
}

.footer-container {
	max-width: 1900px;
	margin: 0 auto;
	padding: 0 20px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 40px;
}

.footer-section {
	display: flex;
	flex-direction: column;
}

.footer-section h3 {
	font-size: 50px;
	margin-bottom: 20px;
	color: #ffffff;
	font-weight: 500;
	font-family: 'Chillax', sans-serif;
}

.footer-section ul {
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 20px;
}

.footer-section ul li {
	margin-bottom: 12px;
}

.footer-section a {
	color: #e0e0e0;
	text-decoration: none;
	font-size: 50px;
	transition: color 0.3s ease;
	font-family: 'Montserrat', sans-serif;
}

.footer-section a:hover {
	color: var(--color-secondary-orange);
}

.footer-logo-section {
	display: flex;
	flex-direction: column;
}

.footer-logo-section .logo {
	margin-bottom: 15px;
}

.footer-contact-info {
	display: flex;
	align-items: flex-start;
	margin-bottom: 12px;
	font-size: 30px;
	font-family: 'Chillax', sans-serif;
}

.footer-contact-info span {
	color: #e0e0e0;
	flex: 1;
}

.footer-bottom {
	border-top: 1px solid #333;
	margin-top: 40px;
	padding-top: 20px;
	text-align: center;
	color: inherit;
	text-decoration: none;
	font-size: 20px;
	font-family: 'Montserrat', sans-serif;
}

/* Responsive */
@media (max-width: 768px) {
	.nav-links a {
		font-size: 2.5rem;
	}

	.hero {
		padding: 0 1rem;
	}

	.section-title {
		font-size: 2.5rem;
	}

	.detail-card {
		padding: 1.25rem;
	}

	.footer-container {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.main-footer {
		padding: 40px 0 20px 0;
	}
}


@media (max-width: 480px) {
	.logo-text {
		font-size: 1.5rem;
	}

	.logo-img {
		height: 40px;
	}

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

	.main-footer {
		padding: 30px 0 15px 0;
	}

	.footer-container {
		padding: 0 15px;
		gap: 25px;
	}

	.footer-section h3 {
		font-size: 20px;
		margin-bottom: 15px;
	}

	.footer-section a {
		font-size: 15px;
	}

	.footer-section ul li {
		margin-bottom: 8px;
	}

	.footer-logo-section p {
		font-size: 13px;
		line-height: 1.4;
	}

	.footer-contact-info {
		font-size: 13px;
		margin-bottom: 10px;
		flex-direction: column;
		align-items: flex-start;
	}

	.footer-contact-info strong {
		width: auto;
		margin-right: 0;
		margin-bottom: 3px;
	}

	.footer-bottom {
		margin-top: 30px;
		padding-top: 15px;
		font-size: 12px;
		line-height: 1.4;
	}
}