/* =========================================================
   JotaZamora — estilos
   ========================================================= */

:root {
	--bg: #05070d;
	--bg-2: #0a0f1a;
	--card: rgba(255, 255, 255, .035);
	--line: rgba(255, 255, 255, .08);
	--text: #eef2fb;
	--muted: #95a0b8;
	--blue: #2b7bff;
	--blue-2: #4f9bff;
	--cyan: #38d6ff;
	--grad: linear-gradient(135deg, #3d8bff 0%, #1f5fff 55%, #1747d6 100%);
	--glow: 0 0 0 1px rgba(79, 155, 255, .35), 0 12px 40px rgba(43, 123, 255, .35);
	--wa: #22c55e;
	--display: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
	--sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--radius: 20px;
	--header-h: 78px;
	--gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 16px/1.65 var(--sans);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-2); text-decoration: none; transition: color .2s; }
a:hover { color: #fff; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 820px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--blue); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

.hl {
	background: linear-gradient(90deg, var(--blue-2), var(--cyan));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.kicker {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 18px;
	font: 600 .78rem/1 var(--display);
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--blue-2);
}
.kicker::after { content: ""; width: 48px; height: 1px; background: linear-gradient(90deg, var(--blue-2), transparent); }
.kicker--center::before { content: ""; width: 48px; height: 1px; background: linear-gradient(270deg, var(--blue-2), transparent); }

/* ---------- Botones ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 13px 24px;
	border-radius: 12px;
	font: 600 .95rem/1 var(--display);
	letter-spacing: .01em;
	transition: transform .2s, box-shadow .2s, background .2s, border-color .2s, color .2s;
	white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--lg { padding: 17px 28px; font-size: 1rem; border-radius: 14px; }
.btn--sm { padding: 11px 18px; font-size: .88rem; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: var(--glow); }
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(79, 155, 255, .5), 0 18px 50px rgba(43, 123, 255, .5); }
.btn--primary:hover svg { transform: translateX(3px); }
.btn--primary svg { transition: transform .2s; }
.btn--ghost { border: 1px solid rgba(255, 255, 255, .18); color: var(--text); background: rgba(255, 255, 255, .03); }
.btn--ghost:hover { border-color: var(--blue-2); color: #fff; background: rgba(43, 123, 255, .1); }
.btn--wa { background: linear-gradient(135deg, #2fd36b, #16a34a); color: #fff; box-shadow: 0 12px 34px rgba(34, 197, 94, .3); }
.btn--wa:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 44px rgba(34, 197, 94, .45); }
.btn--wa svg { width: 22px; height: 22px; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--text); }
.logo:hover { color: var(--text); }
.logo__mark { display: inline-flex; gap: 5px; transform: skewX(-22deg); }
.logo__mark i { width: 9px; height: 26px; border-radius: 2px; background: var(--grad); box-shadow: 0 0 18px rgba(43, 123, 255, .6); }
.logo__mark i:nth-child(2) { background: linear-gradient(180deg, var(--cyan), var(--blue)); }
.logo__text { font: 800 1.3rem/1 var(--display); letter-spacing: .06em; }
.logo__mark--xl i { width: 34px; height: 100px; border-radius: 6px; }
.logo__mark--xl { gap: 18px; }
.custom-logo-link img, .logo__img { height: 40px; width: auto; }
.about__mark { width: 86%; max-width: 520px; filter: drop-shadow(0 0 40px rgba(43, 123, 255, .5)); position: relative; z-index: 1; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(5, 7, 13, .9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); opacity: 0; transition: opacity .3s; }
.site-header.is-scrolled { border-color: var(--line); }
.site-header.is-scrolled::before { opacity: 1; }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 30px; }
.nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__list a { display: block; padding: 10px 14px; font: 500 .95rem/1 var(--display); color: #c9d2e6; border-radius: 10px; }
.nav__list a:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.nav__list a.is-active { color: #fff; }
.nav-toggle { display: none; position: relative; width: 44px; height: 44px; margin-left: auto; border-radius: 12px; border: 1px solid var(--line); }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s, top .3s; }
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.nav-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- Portada ---------- */
.hero {
	position: relative;
	padding: calc(var(--header-h) + 40px) 0 40px;
	min-height: min(100svh, 920px);
	display: flex;
	align-items: center;
	overflow: hidden;
	isolation: isolate;
}
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
	mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}
.hero__glow { position: absolute; z-index: -1; right: -10%; top: 0; width: 70vw; height: 70vw; max-width: 1000px; max-height: 1000px; background: radial-gradient(circle, rgba(43, 123, 255, .28), transparent 60%); filter: blur(20px); }
.hero__grid { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 40px; }
.hero__title {
	margin: 0;
	font-family: var(--display);
	font-weight: 800;
	font-size: clamp(2.4rem, 4.6vw, 4.1rem);
	line-height: 1.02;
	letter-spacing: -.025em;
	text-transform: uppercase;
}
.hero__lead { margin: 24px 0 0; max-width: 540px; font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero__visual { position: relative; aspect-ratio: 1 / 1.02; max-width: 600px; width: 100%; margin-left: auto; }
.hero__arcwrap { position: absolute; inset: 0; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 92%); mask-image: linear-gradient(180deg, #000 55%, transparent 92%); }
.hero__arc {
	position: absolute;
	left: 12%;
	right: 12%;
	top: 6%;
	bottom: 0;
	border-radius: 999px 999px 0 0;
	background: linear-gradient(180deg, rgba(43, 123, 255, .9), rgba(23, 71, 214, .35) 70%, transparent);
	box-shadow: 0 0 80px rgba(43, 123, 255, .45), inset 0 0 60px rgba(56, 214, 255, .35);
	-webkit-mask: radial-gradient(farthest-side at 50% 100%, transparent 58%, #000 59%);
	mask: radial-gradient(farthest-side at 50% 100%, transparent 58%, #000 59%);
	animation: arc 6s ease-in-out infinite alternate;
}
.hero__photo { position: absolute; left: 50%; bottom: 0; height: 100%; width: auto; max-width: none; transform: translateX(-50%); object-fit: contain; object-position: bottom; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .55)); animation: rise 1s .1s both cubic-bezier(.2, .8, .2, 1); -webkit-mask-image: linear-gradient(180deg, #000 85%, transparent); mask-image: linear-gradient(180deg, #000 85%, transparent); }

/* Composición de pantallas (si aún no hay foto) */
.devices { position: absolute; inset: 18% 0 8% 0; }
.device { position: absolute; overflow: hidden; background: #0d1322; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 40px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(79, 155, 255, .15); }
.device img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.device--laptop { left: 2%; right: 14%; top: 4%; aspect-ratio: 16 / 10.4; border-radius: 14px; animation: float 7s ease-in-out infinite; }
.device__bar { display: flex; gap: 6px; padding: 10px 12px; background: #121a2d; border-bottom: 1px solid var(--line); }
.device__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.device__bar i:first-child { background: #ff5f57; }
.device__bar i:nth-child(2) { background: #febc2e; }
.device__bar i:nth-child(3) { background: #28c840; }
.device--laptop img { height: calc(100% - 29px); }
.device--phone { right: 2%; bottom: 0; width: 30%; aspect-ratio: 9 / 18.5; border-radius: 26px; border-width: 5px; border-color: #1b2338; animation: float 7s -3.5s ease-in-out infinite; }

.float {
	position: absolute;
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	border-radius: 18px;
	background: rgba(255, 255, 255, .95);
	color: #1747d6;
	box-shadow: 0 14px 36px rgba(0, 0, 0, .45), 0 0 0 6px rgba(255, 255, 255, .06);
	animation: float 6s ease-in-out infinite;
}
.float svg { width: 34px; height: 34px; }
.float--wp { left: 0; top: 22%; color: #21759b; transform: rotate(-8deg); }
.float--yt { right: 2%; top: 10%; color: #ff0033; animation-delay: -2s; transform: rotate(7deg); }
.float--vmix { left: 6%; bottom: 14%; background: var(--grad); color: #fff; animation-delay: -4s; transform: rotate(6deg); }
.float--ig { right: 0; bottom: 30%; color: #e1306c; animation-delay: -1s; transform: rotate(-6deg); }
.float--live { white-space: nowrap; width: auto; height: auto; padding: 10px 16px; left: 30%; top: 4%; border-radius: 999px; gap: 8px; display: flex; font: 700 .85rem/1 var(--display); letter-spacing: .12em; background: #e11d48; color: #fff; animation-delay: -3s; }
.float--live i { width: 9px; height: 9px; border-radius: 50%; background: #fff; animation: blink 1.2s infinite; }

/* ---------- Cintas ---------- */
.ribbons { position: relative; height: 130px; margin: -20px 0 10px; overflow: hidden; }
.ribbon { position: absolute; left: -5%; right: -5%; top: 50%; overflow: hidden; padding: 13px 0; white-space: nowrap; }
.ribbon--a { background: var(--grad); transform: translateY(-50%) rotate(-3deg); z-index: 2; box-shadow: 0 10px 40px rgba(43, 123, 255, .35); }
.ribbon--b { background: #101726; border-block: 1px solid var(--line); transform: translateY(-50%) rotate(2.5deg); }
.ribbon__track { display: inline-flex; align-items: center; gap: 22px; animation: marquee 40s linear infinite; font: 700 1rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.ribbon--b .ribbon__track { animation-direction: reverse; color: #8fa4cc; }
.ribbon__track b { color: rgba(255, 255, 255, .6); font-weight: 400; }
.ribbon--b .ribbon__track b { color: var(--blue-2); }

/* ---------- Secciones ---------- */
.section { padding: clamp(70px, 9vw, 120px) 0; position: relative; }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 50px; }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; text-align: left; max-width: none; margin-bottom: 40px; }
.section__title { font-weight: 800; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.02em; text-transform: uppercase; }
.section__lead { margin: 16px auto 0; color: var(--muted); font-size: 1.08rem; max-width: 600px; }
.section__lead--left { margin-left: 0; }

/* Servicios */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service {
	position: relative;
	padding: 30px 28px;
	border-radius: var(--radius);
	background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
	border: 1px solid var(--line);
	overflow: hidden;
	transition: transform .3s, border-color .3s, background .3s;
}
.service::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(43, 123, 255, .18), transparent 40%); opacity: 0; transition: opacity .3s; }
.service:hover { transform: translateY(-4px); border-color: rgba(79, 155, 255, .4); }
.service:hover::before { opacity: 1; }
.service__icon { position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 22px; border-radius: 16px; background: rgba(43, 123, 255, .12); border: 1px solid rgba(79, 155, 255, .3); color: var(--blue-2); }
.service__icon svg { width: 28px; height: 28px; }
.service h3 { position: relative; font-size: 1.22rem; font-weight: 700; margin-bottom: 8px; }
.service p { position: relative; margin: 0; color: var(--muted); font-size: .97rem; }

/* Sobre mí */
.about { background: linear-gradient(180deg, transparent, rgba(43, 123, 255, .05), transparent); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.about__frame { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3.4; background: radial-gradient(circle at 50% 100%, rgba(43, 123, 255, .45), transparent 65%), #0b1222; border: 1px solid var(--line); box-shadow: 0 40px 90px rgba(0, 0, 0, .55); }
.about__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 7, 13, .5), transparent 40%); pointer-events: none; }
.about__frame img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.about__placeholder { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 20px; }
.about__placeholder small { color: var(--muted); font-size: .85rem; position: relative; z-index: 1; }
.about__kicker { margin: 0 0 4px; font: 700 clamp(1.4rem, 2.6vw, 2rem)/1.1 var(--display); text-transform: uppercase; color: var(--text); }
.about__text p { color: #c3cbdc; font-size: 1.05rem; }
.about__text .section__title { margin-bottom: 22px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; list-style: none; margin: 30px 0 0; padding: 0; }
.stats li { padding: 18px 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.stats strong { display: block; font: 800 1.8rem/1 var(--display); background: linear-gradient(90deg, #fff, var(--blue-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { display: block; margin-top: 6px; font-size: .85rem; color: var(--muted); line-height: 1.35; }

/* Proyectos (carrusel) */
.projects { overflow: hidden; }
.carousel { cursor: grab; }
.carousel.is-dragging { cursor: grabbing; }
.carousel.is-dragging .project { pointer-events: none; }
.carousel__track {
	display: flex;
	gap: 22px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding: 10px max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter))) 30px;
	scroll-padding-inline: max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter)));
	scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel.is-dragging .carousel__track { scroll-snap-type: none; scroll-behavior: auto; }
.project {
	padding: 0;
	font: inherit;
	text-align: left;
	cursor: pointer;
	flex: 0 0 min(420px, 82vw);
	scroll-snap-align: start;
	border-radius: var(--radius);
	background: #0b1120;
	border: 1px solid var(--line);
	overflow: hidden;
	color: var(--text);
	transition: transform .35s, border-color .35s, box-shadow .35s;
	user-select: none;
}
.project:hover { color: var(--text); transform: translateY(-6px); border-color: rgba(79, 155, 255, .45); box-shadow: 0 30px 60px rgba(0, 0, 0, .5), 0 0 40px rgba(43, 123, 255, .15); }
.project__shot { position: relative; overflow: hidden; background: #0d1322; }
.project__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #121a2d; border-bottom: 1px solid var(--line); }
.project__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .2); flex: none; }
.project__bar span { margin-left: 8px; font-size: .72rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.project__shot img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.project:hover .project__shot img { transform: scale(1.05); }
.chip { position: absolute; left: 12px; top: 44px; padding: 6px 12px; border-radius: 999px; background: rgba(5, 7, 13, .8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .15); font: 600 .75rem/1 var(--display); letter-spacing: .04em; }
.project__body { position: relative; padding: 20px 56px 22px 22px; }
.project__body h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.project__body p { margin: 0; font-size: .92rem; color: var(--muted); line-height: 1.5; }
.project__go { position: absolute; right: 18px; top: 20px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); color: var(--muted); transition: background .3s, color .3s, border-color .3s; }
.project__go svg { width: 16px; height: 16px; }
.project:hover .project__go { background: var(--blue); border-color: var(--blue); color: #fff; }
.carousel__nav { display: flex; gap: 10px; flex: none; }
.carousel__btn { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .03); transition: background .2s, border-color .2s, opacity .2s; }
.carousel__btn svg { width: 22px; height: 22px; }
.carousel__btn:hover { background: var(--blue); border-color: var(--blue); }
.carousel__btn:disabled { opacity: .35; pointer-events: none; }

.project__zoom { position: absolute; inset: 29px 0 0; display: flex; align-items: center; justify-content: center; gap: 10px; background: rgba(5, 7, 13, .55); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); font: 600 .95rem/1 var(--display); opacity: 0; transition: opacity .3s; }
.project__zoom svg { width: 20px; height: 20px; }
.project:hover .project__zoom, .project:focus-visible .project__zoom { opacity: 1; }

/* Vista en grande */
.lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(3, 5, 10, .85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: fade .25s; }
.lightbox__dialog { position: relative; width: min(1100px, 100%); height: min(92vh, 1000px); display: flex; flex-direction: column; border-radius: 22px; background: #0b1120; border: 1px solid rgba(79, 155, 255, .3); box-shadow: 0 40px 120px rgba(0, 0, 0, .7); overflow: hidden; animation: pop .35s cubic-bezier(.2, .8, .2, 1); }
.lightbox__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.lightbox__head h3 { font-size: 1.15rem; font-weight: 700; }
.lightbox__tag { display: block; margin-bottom: 4px; font: 600 .72rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-2); }
.lightbox__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.lightbox__close { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); font-size: 1.1rem; transition: background .2s; }
.lightbox__close:hover { background: rgba(255, 255, 255, .08); }
.lightbox__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; background: #0d1322; }
.lightbox__body img { width: 100%; height: auto; }
.lightbox__body .project__bar { position: sticky; top: 0; z-index: 1; }
.lightbox__nav { position: absolute; top: 50%; translate: 0 -50%; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: rgba(5, 7, 13, .8); border: 1px solid rgba(255, 255, 255, .2); transition: background .2s; }
.lightbox__nav:hover { background: var(--blue); }
.lightbox__nav svg { width: 22px; height: 22px; }
.lightbox__nav--prev { left: 14px; }
.lightbox__nav--next { right: 14px; }
.lb-open { overflow: hidden; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.97); } }

/* Zonas que atiendo */
.zones { background: radial-gradient(ellipse at 50% 0%, rgba(43, 123, 255, .08), transparent 60%); }
.zones__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.zone { padding: 24px 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: border-color .3s, transform .3s; }
.zone:hover { border-color: rgba(79, 155, 255, .4); transform: translateY(-3px); }
.zone__pin { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 16px; border-radius: 12px; background: rgba(43, 123, 255, .12); color: var(--blue-2); }
.zone__pin svg { width: 22px; height: 22px; }
.zone h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 6px; }
.zone p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.5; }
.zone:last-child { background: linear-gradient(180deg, rgba(43, 123, 255, .14), rgba(43, 123, 255, .04)); border-color: rgba(79, 155, 255, .3); }

/* Preguntas frecuentes */
.faq__list { display: grid; gap: 12px; }
.faq__item { border-radius: 16px; background: var(--card); border: 1px solid var(--line); transition: border-color .3s; }
.faq__item[open] { border-color: rgba(79, 155, 255, .35); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { font-size: 1.05rem; font-weight: 600; }
.faq__icon { position: relative; width: 22px; height: 22px; flex: none; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 4px; right: 4px; top: 10px; height: 2px; border-radius: 2px; background: var(--blue-2); transition: transform .3s; }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__item p { margin: 0; padding: 0 22px 22px; color: #c3cbdc; }

.hero__h1 { font-size: .78rem; line-height: 1.7; max-width: 560px; }
.hero__h1::after { display: none; }

/* Páginas de zona o servicio */
.landing-hero { position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + 60px) 0 60px; text-align: center; }
.landing-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 50% 30%, #000, transparent 70%); }
.landing-hero .hero__glow { right: auto; left: 50%; translate: -50% -30%; width: 900px; height: 900px; }
.landing-hero__inner { max-width: 900px; }
.landing-hero__title { font-weight: 800; font-size: clamp(2.1rem, 5vw, 3.8rem); line-height: 1.05; letter-spacing: -.02em; text-transform: uppercase; }
.landing-hero .hero__lead { margin: 22px auto 0; max-width: 680px; }
.landing-hero .hero__actions { justify-content: center; }
.crumbs { display: flex; justify-content: center; gap: 8px; margin-bottom: 22px; font-size: .85rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: #fff; }
.landing-body { padding-top: 20px; }
.landing-entry { font-size: 1.08rem; }
.landing-entry > h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; margin: 2em 0 .6em; }
.landing-entry > h2:first-child { margin-top: 0; }
.landing-entry > h3 { font-size: 1.2rem; font-weight: 700; margin: 1.6em 0 .4em; }
.landing-entry ul { list-style: none; padding: 0; margin: 1em 0 1.4em; display: grid; gap: 10px; }
.landing-entry ul li { position: relative; padding: 14px 18px 14px 50px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.landing-entry ul li::before { content: ""; position: absolute; left: 18px; top: 18px; width: 18px; height: 18px; border-radius: 50%; background: var(--grad); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.3 14.3-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.3 14.3-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4z'/%3E%3C/svg%3E") center / contain no-repeat; }
.landing-entry ul li strong { color: var(--text); }
.landing-entry ol { padding-left: 0; margin: 1em 0 1.4em; list-style: none; counter-reset: paso; display: grid; gap: 10px; }
.landing-entry ol li { counter-increment: paso; position: relative; padding: 14px 18px 14px 58px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.landing-entry ol li::before { content: counter(paso); position: absolute; left: 16px; top: 12px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; background: var(--grad); color: #fff; font: 700 .9rem/1 var(--display); }
.landing-entry .wp-block-details { margin: 10px 0; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.landing-entry .wp-block-details[open] { border-color: rgba(79, 155, 255, .35); }
.landing-entry .wp-block-details summary { padding: 18px 20px; cursor: pointer; font: 600 1.02rem/1.4 var(--display); color: var(--text); }
.landing-entry .wp-block-details > p { margin: 0; padding: 0 20px 20px; }
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project--static { display: block; }
.landing-more { padding-top: 0; }
.landing-more__title { font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; text-align: center; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; margin: 0; padding: 0; }
.chips a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: #c9d2e6; font: 500 .92rem/1 var(--display); transition: border-color .2s, color .2s; }
.chips a:hover { border-color: var(--blue-2); color: #fff; }
.chips svg { width: 16px; height: 16px; color: var(--blue-2); }
.zone h3 a { color: var(--text); }
.zone h3 a:hover { color: var(--blue-2); }
.zone h3 a::after { content: " →"; color: var(--blue-2); }

/* Contacto */
.cta {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: clamp(24px, 4vw, 50px);
	padding: clamp(30px, 5vw, 56px);
	border-radius: 28px;
	background: radial-gradient(600px circle at 0% 0%, rgba(43, 123, 255, .25), transparent 60%), linear-gradient(180deg, #0d1424, #0a0f1b);
	border: 1px solid rgba(79, 155, 255, .25);
	overflow: hidden;
}
.cta::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(34, 197, 94, .15), transparent 70%); }
.cta__icon { display: grid; place-items: center; width: 110px; height: 110px; border-radius: 30px; background: rgba(34, 197, 94, .1); border: 1px solid rgba(34, 197, 94, .35); color: var(--wa); }
.cta__icon svg { width: 60px; height: 60px; }
.cta h2 { font-weight: 800; font-size: clamp(1.7rem, 3.2vw, 2.6rem); letter-spacing: -.02em; text-transform: uppercase; }
.cta p { margin: 12px 0 0; color: var(--muted); font-size: 1.05rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.cta__points { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0 0 0 clamp(20px, 3vw, 40px); border-left: 1px solid var(--line); display: grid; gap: 14px; }
.cta__points li { display: flex; align-items: center; gap: 10px; font-weight: 500; white-space: nowrap; }
.cta__points svg { width: 20px; height: 20px; color: var(--blue-2); flex: none; }

/* Pie */
.site-footer { border-top: 1px solid var(--line); padding: 60px 0 26px; background: #04060b; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-about { margin: 18px 0 20px; max-width: 320px; font-size: .92rem; color: var(--muted); line-height: 1.6; }
.footer-title { margin: 6px 0 16px; font: 700 .8rem/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--blue-2); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col a, .footer-col span { color: #c3cbdc; font-size: .93rem; }
.footer-col a:hover { color: #fff; }
.footer-contact a, .footer-contact span { display: inline-flex; align-items: center; gap: 9px; }
.footer-contact svg { width: 17px; height: 17px; color: var(--blue-2); flex: none; }
.footer-top { color: var(--muted); }
.footer-top:hover { color: #fff; }
.socials { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); color: #c9d2e6; transition: background .2s, border-color .2s, color .2s, transform .2s; }
.socials a:hover { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-2px); }
.socials svg { width: 19px; height: 19px; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, #2fd36b, #16a34a); color: #fff; box-shadow: 0 14px 34px rgba(34, 197, 94, .45); transition: transform .2s; }
.wa-float:hover { color: #fff; transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }

/* Páginas interiores */
.page-hero { padding: calc(var(--header-h) + 70px) 0 50px; text-align: center; background: radial-gradient(ellipse at 50% 0%, rgba(43, 123, 255, .2), transparent 60%); }
.page-hero__title { font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.8rem); text-transform: uppercase; letter-spacing: -.02em; }
.page-body { padding-bottom: 100px; }
.entry { color: #c3cbdc; font-size: 1.08rem; }
.entry h2, .entry h3 { color: var(--text); margin: 1.6em 0 .6em; }
.entry img { border-radius: var(--radius); height: auto; }
.entry-card { padding: 24px 0; border-bottom: 1px solid var(--line); }

/* ---------- Animaciones ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.hero .reveal:nth-child(2) { transition-delay: .08s; }
.hero .reveal:nth-child(3) { transition-delay: .16s; }
.hero .reveal:nth-child(4) { transition-delay: .24s; }
.services .reveal:nth-child(3n+2) { transition-delay: .08s; }
.services .reveal:nth-child(3n) { transition-delay: .16s; }

@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes arc { from { filter: brightness(1); } to { filter: brightness(1.25); } }
@keyframes rise { from { opacity: 0; transform: translate(-50%, 40px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes blink { 50% { opacity: .2; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.works { grid-template-columns: repeat(2, 1fr); }
	.zones__list { grid-template-columns: repeat(3, 1fr); }
	.services { grid-template-columns: repeat(2, 1fr); }
	.cta { grid-template-columns: auto 1fr; }
	.cta__points { grid-column: 1 / -1; border-left: 0; padding: 20px 0 0; border-top: 1px solid var(--line); grid-template-columns: repeat(3, auto); justify-content: start; gap: 24px; }
}

@media (max-width: 960px) {
	:root { --header-h: 68px; }
	.nav-toggle { display: block; }
	.nav {
		position: fixed;
		inset: var(--header-h) 0 0 0;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 22px;
		padding: 16px var(--gutter) 40px;
		background: var(--bg);
		overflow-y: auto;
		border-top: 1px solid var(--line);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-10px);
		transition: opacity .3s, transform .3s, visibility .3s;
	}
	.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
	.nav-open .site-header::before { opacity: 1; background: var(--bg); }
	.nav-open { overflow: hidden; }
	.nav__list { flex-direction: column; }
	.nav__list a { font-size: 1.15rem; padding: 14px 6px; border-bottom: 1px solid var(--line); border-radius: 0; }
	.nav__cta { width: 100%; padding: 15px; }

	.hero { min-height: 0; padding-top: calc(var(--header-h) + 30px); }
	.hero__grid { grid-template-columns: 1fr; gap: 20px; }
	.hero__text { text-align: center; }
	.hero__text .kicker::after { display: none; }
	.hero__lead { margin-inline: auto; }
	.hero__actions { justify-content: center; }
	.hero__visual { margin: 10px auto 0; max-width: 480px; }

	.about__grid { grid-template-columns: 1fr; }
	.section__head--row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
	.admin-bar .nav { top: calc(var(--header-h) + 46px); }
}

/* Bajo 600 px la barra de WordPress deja de ser fija y se va al bajar. */
@media (max-width: 600px) {
	.admin-bar .site-header.is-scrolled { top: 0; }
	.admin-bar .site-header.is-scrolled .nav { top: var(--header-h); }
}

@media (max-width: 640px) {
	body { font-size: 15px; }
	.logo__text { font-size: 1.1rem; }
	.custom-logo-link img, .logo__img { height: 32px; }
	.logo__mark i { width: 7px; height: 22px; }
	.hero__title { font-size: clamp(2.1rem, 10vw, 2.8rem); }
	.hero__actions .btn { width: 100%; }
	.float { width: 48px; height: 48px; border-radius: 14px; }
	.float svg { width: 26px; height: 26px; }
	.float--live { width: auto; height: auto; padding: 8px 13px; border-radius: 999px; font-size: .72rem; gap: 7px; }
	.float--live i { width: 7px; height: 7px; }
	.hero__text .kicker { letter-spacing: .14em; font-size: .68rem; line-height: 1.5; justify-content: center; }
	.ribbons { height: 100px; }
	.ribbon { padding: 10px 0; }
	.ribbon__track { font-size: .82rem; gap: 16px; }
	.services { grid-template-columns: 1fr; gap: 12px; }
	.zones__list { grid-template-columns: 1fr 1fr; }
	.works { grid-template-columns: 1fr; }
	.landing-hero { padding-top: calc(var(--header-h) + 36px); }
	.landing-hero .hero__actions .btn { width: 100%; }
	.zone { padding: 18px 16px; }
	.zone:last-child { grid-column: 1 / -1; }
	.faq__item summary { padding: 16px 18px; }
	.faq__item p { padding: 0 18px 18px; }
	.service { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; padding: 18px; }
	.service__icon { grid-row: span 2; width: 48px; height: 48px; margin: 0; border-radius: 14px; }
	.service__icon svg { width: 24px; height: 24px; }
	.service h3 { font-size: 1.05rem; margin-bottom: 4px; }
	.service p { font-size: .9rem; }
	.stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
	.stats li { padding: 14px 10px; }
	.stats strong { font-size: 1.4rem; }
	.stats span { font-size: .75rem; }
	.carousel__nav { display: none; }
	.lightbox { padding: 0; }
	.lightbox__dialog { height: 100%; border-radius: 0; border: 0; }
	.lightbox__head { padding: 12px 14px; }
	.lightbox__head h3 { font-size: 1rem; }
	.lightbox__nav { top: auto; bottom: 16px; translate: none; }
	.cta { grid-template-columns: 1fr; text-align: center; }
	.cta__icon { margin: 0 auto; width: 84px; height: 84px; border-radius: 24px; }
	.cta__icon svg { width: 46px; height: 46px; }
	.cta__actions { justify-content: center; }
	.cta__actions .btn { width: 100%; }
	.cta__points { grid-template-columns: 1fr; justify-items: center; gap: 12px; }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
	.footer-col--brand { grid-column: 1 / -1; }
	.site-footer__bottom { flex-direction: column; align-items: flex-start; padding-bottom: 60px; }
	.wa-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
}
