:root {
	--negro: #272727;
	--magenta: #e5007e;
	--rojo: #cc1719;
	--celeste: #009ee2;
	--amarillo: #ffe600;
	--azul-marino: #004a92;
	--naranja: #ed7402;
	--verde: #09a800;
}

* {
	box-sizing: border-box;
}

body {
	font-family: 'Roboto', sans-serif;
	color: var(--negro);
	margin: 0;
}

/* ====== PAGE HERO (compartido entre plantillas de página) ====== */

.page-hero {
	padding: 140px 40px 80px;
	text-align: center;
	position: relative;
	overflow: hidden;
	margin-top: 70px;
}

.page-hero::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -10%;
	width: 120%;
	height: 200%;
	background:
		radial-gradient(circle at 30% 50%, rgba(229, 0, 126, 0.05) 0%, transparent 50%),
		radial-gradient(circle at 70% 60%, rgba(0, 158, 226, 0.04) 0%, transparent 50%);
	z-index: 0;
	pointer-events: none;
}

.page-hero h1 {
	font-family: 'Roboto', sans-serif;
	font-size: clamp(3rem, 6vw, 5rem);
	color: var(--magenta);
	position: relative;
	z-index: 1;
	opacity: 0;
	transform: translateY(30px);
}

/* Subtítulo opcional bajo el h1 */
.page-hero p {
	font-size: 18px;
	color: #666;
	max-width: 600px;
	margin: 16px auto 0;
	position: relative;
	z-index: 1;
	opacity: 0;
	transform: translateY(20px);
}

@media (max-width: 991px) {
	.page-hero {
		padding-left: 20px;
		padding-right: 20px;
	}
}

/* ====== REVEAL ANIMATION ====== */

.reveal {
	opacity: 0;
	transform: translateY(30px);
}

.gsap-stagger {
	opacity: 0;
	transform: translateY(30px);
}

/* ====== HERO ====== */
.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg,
			rgba(39, 39, 39, 0.1) 0%,
			rgba(39, 39, 39, 0.4) 60%,
			rgba(39, 39, 39, 0.7) 100%);
}

.carousel {
	height: calc(100dvh - 52px - 70px);
	margin-top: 70px;
}

.carousel-inner {
	max-height: 100%;
	min-height: 100%;
}

.carousel-item {
	max-height: 100%;
	min-height: 100%;
}

.carousel-item img {
	height: calc(100dvh - 52px);
	min-width: 100%;
	object-fit: cover;
	object-position: center center;
}

/* Títulos fijos sobre el carousel */
.contTitulos {
	position: absolute;
	inset: 0;
	z-index: 10;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: white;
	padding: 0 20px;
	pointer-events: none;
	/* deja pasar los clics a los controles del carousel */
}

.contTitulos h1 {
	font-family: 'Roboto', sans-serif;
	font-size: clamp(2.5rem, 6vw, 4.5rem);
	line-height: 1.1;
	margin-bottom: 16px;
	animation: fadeInUp 0.8s ease 0.3s both;
}

.contTitulos h2 {
	font-size: clamp(1rem, 2vw, 1.2rem);
	font-weight: 400;
	max-width: 600px;
	margin-bottom: 32px;
	animation: fadeInUp 0.8s ease 0.6s both;
}

.contTitulos a {
	pointer-events: all;
	/* el botón sí debe ser clicable */
	display: inline-block;
	background: var(--magenta);
	color: white;
	padding: 16px 40px;
	border-radius: 50px;
	font-weight: 700;
	font-size: 16px;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	transition: all 0.3s;
	animation: fadeInUp 0.8s ease 0.9s both;
}

.contTitulos a:hover {
	color: white;
	transform: translateY(-3px);
	box-shadow: 0 10px 30px rgba(229, 0, 126, 0.4);
}

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

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

/* ====== MARQUEE ====== */

.marquee-section {
	overflow: hidden;
	background: var(--negro);
	padding: 14px 0;
}

.marquee-track {
	display: inline-flex;
	gap: 48px;
	white-space: nowrap;
	animation: marquee 30s linear infinite;
}

.marquee-item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: white;
	font-weight: 600;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.marquee-item span {
	color: var(--magenta);
}

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

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

/* ====== SECTION TITLES ====== */

.section-title {
	font-family: 'Roboto', sans-serif;
	font-size: clamp(2rem, 4vw, 3rem);
	color: var(--magenta);
	text-align: center;
	/* margin-bottom: 48px; */
	position: relative;
	display: inline-block;
	text-align: center;
	width: 100%;
	margin: 0px;
}

/* .section-title-wrap {
	text-align: center;
	margin-bottom: 20px;
} */

/* .section-title::before {
	content: '';
	position: absolute;
	bottom: -4px;
	left: -12px;
	right: -12px;
	top: -4px;
	border: 3px solid var(--magenta);
	border-radius: 40px;
	z-index: -1;
	opacity: 0.15;
} */

/* ====== SERVICIOS DESTACADOS ====== */

.featured-services {
	/* padding: 80px 40px; */
	background: #fafafa;
}

.featured-carousel {
	padding: 20px 0;
}

/* Slick: gap entre slides */
.featured-carousel .slick-list {
	margin: 0 -12px;
}

.featured-carousel .slick-slide {
	padding: 0 12px;
}

.featured-card {
	display: block;
	border-radius: 16px;
	overflow: hidden;
	position: relative;
	cursor: pointer;
	text-decoration: none;
	/* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); */
	transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* .featured-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
} */

.featured-card-img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
	transition: transform 0.6s;
}

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

.featured-card-body {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 20px;
	background: linear-gradient(transparent, rgba(39, 39, 39, 0.9));
	color: white;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.featured-card-body h3 {
	font-family: 'Roboto', sans-serif;
	font-size: 18px;
	margin: 0;
}

.featured-card-icon {
	width: 44px;
	height: 44px;
	background: var(--magenta);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: all 0.3s;
}

.featured-card:hover .featured-card-icon {
	background: var(--celeste);
	transform: rotate(-5deg) scale(1.1);
}

.carousel-nav {
	display: flex;
	justify-content: center;
	gap: 16px;
	margin-top: 24px;
}

.carousel-btn {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 2px solid var(--negro);
	background: white;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s;
}

.carousel-btn:hover {
	background: var(--magenta);
	border-color: var(--magenta);
	color: white;
}

.carousel-btn:hover svg {
	stroke: white;
}

/* ====== SERVICIOS GRID ====== */

.services-section {
	padding: 100px 40px;
}

.services-grid {
	/* max-width: 1200px;
	margin: 0 auto; */
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.service-card {
	background: white;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
	transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	position: relative;
}

.service-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.4s;
	z-index: 1;
}

.service-card:hover::before {
	transform: scaleX(1);
}

/* .service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,0.12); } */

.service-card:nth-child(1)::before {
	background: var(--magenta);
}

.service-card:nth-child(2)::before {
	background: var(--rojo);
}

.service-card:nth-child(3)::before {
	background: var(--celeste);
}

.service-card:nth-child(4)::before {
	background: var(--amarillo);
}

.service-card:nth-child(5)::before {
	background: var(--azul-marino);
}

.service-card:nth-child(6)::before {
	background: var(--naranja);
}

.service-card:nth-child(7)::before {
	background: var(--verde);
}

/* Image wrap with overlay */
.service-card-img-wrap {
	position: relative;
	height: 160px;
	overflow: hidden;
}

.service-card-img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s;
}

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

.service-card-img-wrap .overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(transparent, rgba(39, 39, 39, 0.7));
	display: flex;
	align-items: flex-end;
	padding: 12px 16px;
}

.service-card-img-wrap .overlay h3 {
	font-family: 'Roboto', sans-serif;
	color: white;
	font-size: 18px;
	margin: 0;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.service-card-content {
	padding: 20px;
}

.service-card-content ul {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
}

.service-card-content li {
	font-size: 13px;
	color: #555;
	padding: 4px 0;
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.service-card-content li a {
	text-decoration: none;
	color: var(--negro);
}

.service-card-content li a:hover {
	text-decoration: underline;
}

.service-card-content li::before {
	content: '→';
	color: var(--magenta);
	font-weight: 700;
	flex-shrink: 0;
}

.service-btn {
	display: inline-block;
	background: var(--magenta);
	color: white;
	padding: 8px 20px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	transition: all 0.3s;
}

.service-btn:hover {
	background: #c70069;
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(229, 0, 126, 0.3);
}

.service-card-more {
	background: var(--magenta);
	border-radius: 16px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.4s;
	min-height: 300px;
	text-decoration: none;
}

.service-card-more:hover {
	background: #c70069;
	transform: translateY(-6px);
	box-shadow: 0 12px 32px rgba(229, 0, 126, 0.3);
}

.service-card-more h3 {
	font-family: 'Roboto', sans-serif;
	color: white;
	font-size: 24px;
	text-align: center;
	margin-bottom: 16px;
}

.service-card-more .arrow-circle {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	border: 3px solid white;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s;
}

.service-card-more:hover .arrow-circle {
	background: white;
}

.service-card-more:hover .arrow-circle svg {
	stroke: var(--magenta);
}

/* ====== CONTACTO ====== */

.contact-section {
	background: #fafafa;
	position: relative;
	overflow: hidden;
}

/* .contact-container {
	max-width: 700px;
	margin: 0 auto;
	position: relative;
	z-index: 2;
} */

/* .contact-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.form-group {
	display: flex;
	align-items: center;
	gap: 16px;
}

.form-group label {
	min-width: 90px;
	font-weight: 600;
	font-size: 14px;
	text-align: right;
	color: var(--negro);
} */

/* .form-group input,
.form-group textarea {
	flex: 1;
	padding: 12px 20px;
	border: none;
	border-radius: 25px;
	background: #f8c8df;
	font-family: 'Archivo', sans-serif;
	font-size: 14px;
	color: var(--negro);
	outline: none;
	transition: all 0.3s;
}

.form-group textarea {
	border-radius: 16px;
	min-height: 100px;
	resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
	background: #f5a3c7;
	box-shadow: 0 0 0 3px rgba(229, 0, 126, 0.15);
}

.form-submit {
	align-self: flex-end;
	background: var(--magenta);
	color: white;
	border: none;
	padding: 12px 36px;
	border-radius: 25px;
	font-family: 'Archivo', sans-serif;
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	transition: all 0.3s;
}

.form-submit:hover {
	background: #c70069;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(229, 0, 126, 0.35);
} */

.contact-info {
	display: flex;
	justify-content: center;
	gap: 48px;
	flex-wrap: wrap;
}

.contact-info-item {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--negro);
	transition: color 0.3s;
}

.contact-info-item:hover {
	color: var(--magenta);
}

.contact-info-icon {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.contact-info-item .label {
	font-weight: 700;
	font-size: 14px;
}

.contact-info-item .value {
	font-size: 13px;
	color: #666;
}

/* ====== CF7 — FORMULARIO CONTACTO ====== */

.contact-form {
	max-width: 500px;
	margin: 0 auto;
}

/* Estructura general del form */
.contact-section .wpcf7-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* CF7 envuelve cada campo en <p>; lo convertimos en flex row */
.contact-section .wpcf7-form>p {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0;
}

/* Label = texto fijo a la izquierda + span del input a la derecha */
.contact-section .wpcf7-form label {
	display: contents;
	/* el label no crea caja propia; sus hijos van directo al <p> flex */
}

/* Texto del label: nodo de texto anterior al wpcf7-form-control-wrap.
   Al usar display:contents en label, el texto flota como flex item.
   Le damos anchura mínima con un pseudo hack via la etiqueta <b> si la usamos,
   o bien seteamos min-width en el wpcf7-form-control-wrap y dejamos que el texto sea natural. */
.contact-section .wpcf7-form .wpcf7-form-control-wrap {
	flex: 1;
}

/* Inputs y textarea */
.contact-section .wpcf7-form-control:not([type='submit']):not([type='hidden']) {
	width: 100%;
	padding: 12px 20px;
	border: none;
	border-radius: 25px;
	background: #f8c8df;
	font-family: 'Archivo', sans-serif;
	font-size: 14px;
	color: var(--negro);
	outline: none;
	transition: background 0.3s, box-shadow 0.3s;
	display: block;
}

.contact-section textarea.wpcf7-form-control {
	border-radius: 16px;
	min-height: 100px;
	resize: vertical;
}

.contact-section .wpcf7-form-control:focus:not([type='submit']):not([type='hidden']) {
	background: #f5a3c7;
	box-shadow: 0 0 0 3px rgba(229, 0, 126, 0.15);
}

/* Botón submit */
.contact-section .wpcf7-form>p:last-child {
	justify-content: flex-end;
}

.contact-section .wpcf7-submit {
	background: var(--magenta);
	color: white;
	border: none;
	padding: 12px 36px;
	border-radius: 25px;
	font-family: 'Archivo', sans-serif;
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	transition: all 0.3s;
}

.contact-section .wpcf7-submit:hover {
	background: #c70069;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(229, 0, 126, 0.35);
}

/* Mensajes de validación */
.contact-section .wpcf7-not-valid-tip {
	color: var(--rojo);
	font-size: 12px;
	margin-top: 4px;
	display: block;
}

.contact-section .wpcf7-response-output {
	margin: 8px 0 0;
	padding: 10px 20px;
	border-radius: 12px;
	font-size: 13px;
	border: none !important;
}

/* ====== RESPONSIVE ====== */

@media (max-width: 1024px) {
	.services-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {

	/* .featured-services,
	.services-section,
	.contact-section {
		padding-left: 20px;
		padding-right: 20px;
	} */

	.contact-info {
		flex-direction: column;
		gap: 10px;
	}

	.contact-info-item{
		flex-direction: column;
	}

	.label{
		text-align: center;
	}

	.contact-info-icon{
		width: 100%;
	}

	.form-group {
		flex-direction: column;
		align-items: flex-start;
	}

	.form-group label {
		text-align: left;
		min-width: auto;
	}
}

@media (max-width: 576px) {
	.services-grid {
		grid-template-columns: 1fr;
	}

	#navbar {
		padding: 10px 20px;
	}

	#navbar.scrolled {
		padding: 8px 20px;
	}
}

/* ====== FOOTER ====== */

.site-footer {
	font-family: 'Archivo', sans-serif;
}

/* Main */
.footer-main {
	background: var(--negro);
}

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

.footer-heading {
	font-family: 'Archivo', sans-serif;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: white;
	margin: 0px;
}

#menu-menu-footer {
	gap: 10px;
}

#menu-menu-footer li {
	width: fit-content;
}

#menu-menu-footer li a {
	color: #fff;
}

/* Nav menu */
/* .footer-menu {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
} */

/* #footer-menu li a {
	color: rgba(255, 255, 255, 0.65);
	text-decoration: none;
	font-size: 14px;
	font-weight: 400;
	transition: color 0.3s;
}

.footer-menu li a:hover {
	color: var(--magenta);
}
 */
/* Social icons */
.footer-social {
	display: flex;
	gap: 12px;
	margin-bottom: 8px;
}

.footer-social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: rgba(255, 255, 255, 0.65);
	transition: all 0.3s;
}

.footer-social a svg {
	width: 18px;
	height: 18px;
}

.footer-social a:hover {
	background: var(--magenta);
	border-color: var(--magenta);
	color: white;
	transform: translateY(-2px);
}

/* Contact list */
.footer-contact {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: flex-end;
}

@media(max-width: 991px) {
	.footer-contact {
		align-items: flex-start;
	}
}

.footer-contact li a {
	display: flex;
	align-items: center;
	gap: 10px;
	color: rgba(255, 255, 255, 0.65);
	text-decoration: none;
	font-size: 14px;
	transition: color 0.3s;
}

.footer-contact li a:hover {
	color: var(--magenta);
}

.footer-contact li a svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

/* Bottom bar */
.footer-bottom {
	background: #1a1a1a;
	padding: 16px 0;
}

.footer-copyright {
	color: rgba(255, 255, 255, 0.4);
	font-size: 13px;
	margin: 0;
	text-align: center;
}