/* Panda Agency - Servicios */
.panda-services,
.panda-services * { box-sizing: border-box; }

.panda-services {
	position: relative;
	isolation: isolate;
	width: 100%;
	min-height: 100vh;
	padding: clamp(90px, 10vw, 165px) 0 clamp(95px, 10vw, 160px);
	overflow: hidden;
	color: var(--panda-white);
	background:
		radial-gradient(circle at 8% 83%, rgba(0, 126, 255, 0.15), transparent 26%),
		radial-gradient(circle at 94% 12%, rgba(255, 0, 96, 0.16), transparent 27%),
		linear-gradient(135deg, #020914 0%, #020711 48%, #050711 100%);
	font-family: var(--panda-font-body);
}

.panda-services__container {
	position: relative;
	z-index: 4;
	width: min(1400px, calc(100% - 80px));
	margin: 0 auto;
}

.panda-services__grid {
	position: absolute;
	z-index: 0;
	inset: 0;
	pointer-events: none;
	opacity: 0.22;
	background-image:
		linear-gradient(rgba(43, 107, 164, 0.16) 1px, transparent 1px),
		linear-gradient(90deg, rgba(43, 107, 164, 0.16) 1px, transparent 1px);
	background-size: 80px 80px;
}

.panda-services__glow {
	position: absolute;
	z-index: 1;
	width: 520px;
	height: 520px;
	border-radius: 50%;
	pointer-events: none;
	filter: blur(85px);
}
.panda-services__glow--blue { left: -350px; bottom: -130px; background: rgba(0, 126, 255, 0.25); }
.panda-services__glow--pink { top: -330px; right: -260px; background: rgba(255, 0, 91, 0.23); }

.panda-services__hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(360px, 0.9fr) minmax(480px, 1.1fr);
	align-items: center;
	gap: clamp(55px, 7vw, 115px);
	margin-bottom: clamp(55px, 6vw, 90px);
}

.panda-services__heading { position: relative; z-index: 8; width: 100%; max-width: 620px; }
.panda-services__eyebrow {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: clamp(18px, 2vw, 28px);
	color: var(--panda-pink);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.26em;
}
.panda-services__eyebrow::before { content: ""; width: 38px; height: 2px; flex: 0 0 auto; background: var(--panda-pink); }

.panda-services__title {
	position: relative;
	margin: 0;
	display: flex;
	flex-direction: column;
	color: #f8f8f8;
	font-family: var(--panda-font-display);
	font-size: clamp(89px, 9.6vw, 154px);
	font-weight: 400;
	line-height: 0.84;
	letter-spacing: -0.025em;
	text-transform: uppercase;
}
.panda-services__title span { display: block; white-space: nowrap; }
.panda-services__title span:last-child { position: relative; z-index: 2; }
.panda-services__title span:last-child::after {
	content: "";
	position: absolute;
	z-index: -1;
	right: 3%;
	bottom: 6%;
	width: 60px;
	height: 95px;
	background: rgba(255, 0, 92, 0.34);
	filter: blur(28px);
	transform: rotate(-12deg);
	animation: pandaServicesTitleGlow 3.5s ease-in-out infinite;
}

.panda-services-mockup {
	position: relative;
	z-index: 5;
	width: 100%;
	min-height: 390px;
	opacity: 0.72;
	transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
}
.panda-services-mockup__browser {
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	max-width: 650px;
	height: 360px;
	overflow: hidden;
	border: 1px solid rgba(134, 154, 185, 0.22);
	border-radius: 12px;
	background: rgba(5, 9, 20, 0.54);
	box-shadow: 0 40px 100px rgba(0, 0, 0, 0.38);
}
.panda-services-mockup__topbar { height: 42px; display: flex; align-items: center; gap: 8px; padding: 0 18px; border-bottom: 1px solid rgba(134, 154, 185, 0.13); }
.panda-services-mockup__topbar span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.panda-services-mockup__sidebar { position: absolute; top: 42px; right: 0; bottom: 0; width: 34px; display: flex; flex-direction: column; align-items: center; gap: 24px; padding-top: 24px; border-left: 1px solid rgba(134, 154, 185, 0.12); }
.panda-services-mockup__sidebar span { width: 13px; height: 13px; border-radius: 3px; background: rgba(255, 0, 102, 0.22); }
.panda-services-mockup__content { padding: 24px 55px 25px 25px; }
.panda-services-mockup__nav { display: flex; justify-content: flex-end; gap: 25px; margin-bottom: 26px; }
.panda-services-mockup__nav span { width: 45px; height: 5px; background: rgba(255, 255, 255, 0.1); }
.panda-services-mockup__image { position: relative; height: 140px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); }
.panda-services-mockup__mountain { position: absolute; left: 13%; bottom: -55px; width: 150px; height: 150px; border: 1px solid rgba(255, 255, 255, 0.16); transform: rotate(45deg); }
.panda-services-mockup__mountain::after { content: ""; position: absolute; left: 77px; top: -68px; width: 135px; height: 135px; border: 1px solid rgba(255, 255, 255, 0.16); }
.panda-services-mockup__sun { position: absolute; top: 25px; right: 45px; width: 22px; height: 22px; border: 1px solid rgba(255, 0, 102, 0.55); border-radius: 50%; }
.panda-services-mockup__cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 24px; }
.panda-services-mockup__cards span { height: 62px; border: 1px solid rgba(255, 255, 255, 0.08); }

.panda-services-mockup__message {
	position: absolute;
	z-index: 9;
	left: -45px;
	bottom: 44px;
	min-width: 168px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 14px 14px 14px 18px;
	border: 1px solid rgba(124, 149, 183, 0.24);
	border-radius: 10px;
	background: rgba(4, 9, 19, 0.9);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
	animation: pandaServicesMessageFloat 4.5s ease-in-out infinite;
}
.panda-services-mockup__message span { display: block; font-size: 9px; font-weight: 700; }
.panda-services-mockup__message strong { display: block; margin-top: 2px; color: var(--panda-pink); font-size: 11px; }
.panda-services-mockup__icon { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(117, 145, 179, 0.22); border-radius: 8px; color: var(--panda-pink); font-size: 24px; }

.panda-services-mascot {
	position: absolute;
	z-index: 12;
	right: -44px;
	bottom: -87px;
	width: clamp(185px, 18vw, 285px);
	pointer-events: none;
	transform-origin: center bottom;
	animation: pandaServicesMascotEntrance 1s 0.4s var(--panda-ease) both, pandaServicesMascotFloating 4.8s 1.5s ease-in-out infinite;
}
.panda-services-mascot img { display: block; width: 100%; filter: drop-shadow(0 28px 30px rgba(0, 0, 0, 0.42)); }

.panda-services__list {
	position: relative;
	z-index: 6;
	display: grid;
	grid-template-columns: repeat(var(--panda-services-columns, 3), minmax(0, 1fr));
	border-top: 1px solid rgba(135, 154, 181, 0.26);
}
.panda-service-card {
	position: relative;
	min-height: 145px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 25px;
	padding: 30px 30px;
	overflow: hidden;
	border-bottom: 1px solid rgba(135, 154, 181, 0.26);
	color: var(--panda-white);
	text-decoration: none;
	transition: background-color 0.4s ease;
}
.panda-services--cols-3 .panda-service-card:not(:nth-child(3n)),
.panda-services--cols-2 .panda-service-card:not(:nth-child(2n)) { border-right: 1px solid rgba(135, 154, 181, 0.26); }
.panda-services--cols-1 .panda-service-card { border-right: 0; }
.panda-service-card::before { content: ""; position: absolute; inset: 0; opacity: 0; background: linear-gradient(90deg, rgba(0, 174, 239, 0.11), rgba(255, 12, 104, 0.06)); transform: translateX(-35%); transition: opacity 0.4s ease, transform 0.5s var(--panda-ease); }
.panda-service-card:hover::before { opacity: 1; transform: translateX(0); }
.panda-service-card__content, .panda-service-card__arrow { position: relative; z-index: 2; }
.panda-service-card__category { display: block; margin-bottom: 10px; color: var(--panda-cyan); font-size: 10px; font-weight: 800; letter-spacing: 0.16em; }
.panda-service-card h3 { margin: 0; font-size: clamp(23px, 2.1vw, 37px); font-weight: 700; line-height: 1.05; letter-spacing: -0.045em; }
.panda-service-card__arrow { color: var(--panda-pink); font-size: 48px; transition: transform 0.4s var(--panda-ease); }
.panda-service-card:hover .panda-service-card__arrow { transform: translate(8px, -8px); }

.panda-services-orbit { position: absolute; z-index: 2; left: -310px; bottom: -305px; width: 650px; height: 650px; pointer-events: none; }
.panda-services-orbit__ring { position: absolute; top: 50%; left: 50%; border: 1px solid rgba(0, 166, 255, 0.34); border-radius: 50%; transform-origin: center; animation: pandaServicesOrbitRotation 18s linear infinite; }
.panda-services-orbit__ring--1 { width: 190px; height: 190px; margin: -95px 0 0 -95px; animation-duration: 12s; }
.panda-services-orbit__ring--2 { width: 310px; height: 310px; margin: -155px 0 0 -155px; animation-duration: 17s; animation-direction: reverse; }
.panda-services-orbit__ring--3 { width: 440px; height: 440px; margin: -220px 0 0 -220px; animation-duration: 23s; }
.panda-services-orbit__ring--4 { width: 580px; height: 580px; margin: -290px 0 0 -290px; animation-duration: 31s; animation-direction: reverse; }
.panda-services-orbit__planet { position: absolute; top: 50%; right: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--panda-cyan); box-shadow: 0 0 20px rgba(0, 170, 255, 0.75); transform: translateY(-50%); }
.panda-services-orbit__planet--pink { background: var(--panda-pink); box-shadow: 0 0 20px rgba(255, 20, 100, 0.75); }

.panda-services.panda-animate-ready .panda-reveal-service { opacity: 0; transform: translateY(45px); transition: opacity 0.85s var(--panda-ease), transform 0.85s var(--panda-ease); }
.panda-services.panda-animate-ready .panda-reveal-service.is-visible { opacity: 1; transform: translateY(0); }
.panda-services.panda-animate-ready .panda-service-card:nth-child(2) { transition-delay: 0.08s; }
.panda-services.panda-animate-ready .panda-service-card:nth-child(3) { transition-delay: 0.16s; }

@keyframes pandaServicesMessageFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pandaServicesTitleGlow { 0%, 100% { opacity: 0.45; transform: rotate(-12deg) scale(1); } 50% { opacity: 0.85; transform: rotate(-12deg) scale(1.12); } }
@keyframes pandaServicesMascotEntrance { from { opacity: 0; transform: translateY(60px) scale(0.82); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes pandaServicesMascotFloating { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes pandaServicesOrbitRotation { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

@media (max-width: 1050px) {
	.panda-services__hero { grid-template-columns: 1fr; gap: 52px; }
	.panda-services__heading { max-width: 680px; }
	.panda-services__title { font-size: clamp(94px, 16.8vw, 150px); }
	.panda-services-mockup { width: min(720px, 100%); min-height: 410px; margin: 0 auto; }
	.panda-services-mockup__message { left: 4%; }
	.panda-services-mascot { right: -20px; bottom: -70px; width: clamp(190px, 29vw, 270px); }
	.panda-services-orbit { left: -375px; }
}

@media (max-width: 900px) {
	.panda-services__list { grid-template-columns: 1fr; }
	.panda-services--cols-3 .panda-service-card,
	.panda-services--cols-2 .panda-service-card { border-right: 0; }
}

@media (max-width: 768px) {
	.panda-services { padding: 85px 0 90px; }
	.panda-services__container { width: calc(100% - 40px); }
	.panda-services__title { font-size: clamp(76px, 21vw, 116px); line-height: 0.88; }
	.panda-services-mockup { min-height: 350px; }
	.panda-services-mockup__browser { height: 285px; }
	.panda-services-mockup__message { left: 4px; bottom: 30px; }
	.panda-services-mascot { right: -26px; bottom: -55px; width: clamp(160px, 39vw, 225px); }
	.panda-service-card { min-height: 126px; padding: 24px 10px; }
}

@media (max-width: 480px) {
	.panda-services__title { font-size: clamp(68px, 20vw, 98px); }
	.panda-services-mockup { min-height: 300px; }
	.panda-services-mockup__browser { height: 235px; }
	.panda-services-mockup__content { padding: 18px 45px 18px 18px; }
	.panda-services-mockup__image { height: 100px; }
	.panda-services-mascot { right: -34px; bottom: -40px; width: 165px; }
}

@media (prefers-reduced-motion: reduce) {
	.panda-services *, .panda-services *::before, .panda-services *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
