/* =========================================================================
   ChavSot Estudio Creativo · estilos del tema
   Paleta y tipografías del Manual de Identidad v1
   ========================================================================= */

@font-face { font-family: "Sora"; src: url("../fonts/sora.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
	--navy: #071F42;
	--navy-2: #0A2E63;
	--navy-3: #03122A;
	--blue: #005FF3;
	--blue-2: #2E7BF6;
	--blue-soft: #9FC2FF;
	--orange: #FC900C;
	--orange-2: #FFB357;
	--ice: #EEF3FB;
	--slate: #5B6478;
	--line: #DCE5F3;
	--white: #fff;
	--wa: #1FAF55;

	--f-head: "Sora", system-ui, sans-serif;
	--f-body: "Manrope", system-ui, sans-serif;

	--r-sm: 12px;
	--r: 20px;
	--r-lg: 28px;
	--shadow: 0 18px 50px -18px rgba(7, 31, 66, .28);
	--shadow-lg: 0 40px 90px -30px rgba(7, 31, 66, .45);
	--ease: cubic-bezier(.2, .8, .2, 1);
	--gutter: clamp(16px, 4vw, 40px);
	--header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-body); font-size: 17px; line-height: 1.65; color: var(--navy); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; color: inherit; }
p { margin: 0 0 1em; }
button { font: inherit; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 820px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.muted { color: var(--slate); }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--orange); color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--orange); color: var(--navy); }

/* ---------- Botones ---------- */
.btn { --bg: var(--blue); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .85em 1.5em; border-radius: 999px; border: 2px solid transparent; background: var(--bg); color: var(--fg); font-family: var(--f-head); font-weight: 700; font-size: 15px; letter-spacing: -.005em; line-height: 1.2; cursor: pointer; transition: transform .35s var(--ease), translate .3s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s, border-color .25s; position: relative; overflow: hidden; isolation: isolate; white-space: nowrap; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); z-index: -1; }
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px var(--glow, rgba(0, 95, 243, .6)); }
.btn-sm { padding: .6em 1.15em; font-size: 14px; }
.btn-lg { padding: 1em 1.8em; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { --bg: var(--blue); }
.btn-accent { --bg: var(--orange); --fg: var(--navy); --glow: rgba(252, 144, 12, .65); }
.btn-dark { --bg: var(--navy); --fg: #fff; --glow: rgba(7, 31, 66, .6); }
.btn-wa { --bg: var(--wa); --fg: #fff; --glow: rgba(31, 175, 85, .55); }
.btn-ghost { --bg: rgba(255,255,255,.06); --fg: #fff; border-color: rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: #fff; --glow: rgba(255,255,255,.2); }
.btn-ghost-dark { --bg: transparent; --fg: var(--navy); border-color: var(--line); }
.btn-ghost-dark:hover { border-color: var(--navy); --glow: rgba(7,31,66,.15); }
.btn-outline-light { --bg: transparent; --fg: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { border-color: #fff; }
.btn .icon-arrow { transition: transform .35s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(4px); }

/* ---------- Barra de progreso ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--blue), var(--orange)); }

/* ---------- Encabezado ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .35s, box-shadow .35s, backdrop-filter .35s; }
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); transition: height .35s var(--ease); }
.site-header.is-scrolled { background: rgba(7, 31, 66, .82); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 10px 30px -12px rgba(0,0,0,.4); }
.site-header.is-scrolled .header-inner { height: 68px; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header { transition: transform .45s var(--ease), background .35s, box-shadow .35s; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand-logo { height: 46px; width: auto; transition: height .35s var(--ease); }
.is-scrolled .brand-logo { height: 40px; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.nav-menu { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-menu a { position: relative; display: block; padding: 8px 12px; color: rgba(255,255,255,.82); font-weight: 600; font-size: 15px; transition: color .2s; }
.nav-menu a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--orange); border-radius: 2px; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav-menu a:hover, .nav-menu a.is-active, .nav-menu .current-menu-item > a { color: #fff; }
.nav-menu a:hover::after, .nav-menu a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-extra { display: flex; align-items: center; gap: 14px; }
.nav-portal { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.82); font-weight: 600; font-size: 14px; }
.nav-portal:hover { color: var(--orange-2); }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 14px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-menu { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

/* ---------- Fondos animados compartidos ---------- */
.hero-bg, .contact-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: blob 18s ease-in-out infinite alternate; }
.blob-1 { width: 520px; height: 520px; background: var(--blue); top: -160px; right: -80px; }
.blob-2 { width: 380px; height: 380px; background: var(--orange); bottom: -140px; left: -120px; opacity: .32; animation-delay: -6s; }
.blob-3 { width: 300px; height: 300px; background: #5D9BFF; top: 40%; left: 38%; opacity: .22; animation-delay: -12s; }
@keyframes blob { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px,-30px) scale(1.12); } 100% { transform: translate(-30px,30px) scale(.94); } }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); }

/* ---------- Portada ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; background: radial-gradient(1200px 600px at 80% -10%, #0D3A80 0%, transparent 60%), var(--navy); color: #fff; padding: calc(var(--header-h) + 40px) 0 90px; overflow: hidden; isolation: isolate; }
.hero-mark { position: absolute; width: 720px; right: -220px; bottom: -260px; opacity: .05; transform: rotate(-8deg); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(30px, 5vw, 70px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.88); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 26px; backdrop-filter: blur(6px); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(252,144,12,.7); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(252,144,12,.6); } 80%, 100% { box-shadow: 0 0 0 12px rgba(252,144,12,0); } }
.hero-title { font-size: clamp(42px, 6.4vw, 84px); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; margin-bottom: 26px; }
.hero-title .split { display: block; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 70ms + 100ms); }
.is-loaded .split .w > span { transform: none; }
.rotator { display: inline-flex; align-items: baseline; color: var(--orange); position: relative; }
.rotator-word { display: inline-block; background: linear-gradient(100deg, var(--orange) 10%, var(--orange-2) 60%, var(--orange) 90%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; transition: transform .5s var(--ease), opacity .5s, filter .5s; }
.rotator-word.out { transform: translateY(-40%); opacity: 0; filter: blur(6px); }
.rotator-word.in { transform: translateY(40%); opacity: 0; filter: blur(6px); transition: none; }
.rotator-dot { color: var(--blue-2); -webkit-text-fill-color: var(--blue-2); }
.hero-text { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255,255,255,.78); max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 46px; }
.hero-stats { display: flex; gap: clamp(20px, 4vw, 48px); margin: 0; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); max-width: 560px; }
.stat dt { font-family: var(--f-head); font-weight: 800; font-size: clamp(28px, 3vw, 38px); line-height: 1; letter-spacing: -.03em; }
.stat .suf { color: var(--orange); }
.stat dd { margin: 6px 0 0; color: rgba(255,255,255,.62); font-size: 14px; font-weight: 600; }
.hero-art { position: relative; }
.hero-art::before { content: ""; position: absolute; inset: 12% 8%; background: radial-gradient(circle, rgba(0,95,243,.55), transparent 65%); filter: blur(30px); z-index: -1; animation: glow 6s ease-in-out infinite alternate; }
@keyframes glow { to { transform: scale(1.15); opacity: .7; } }
.hero-svg { width: 100%; overflow: visible; }
.hero-layer { transition: translate .6s var(--ease); }
.hero-photo { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.35); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--orange); animation: cue 1.8s infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Cintas ---------- */
.ribbons { position: relative; height: 150px; margin-top: -40px; z-index: 3; overflow: hidden; }
.ribbon { position: absolute; left: -5%; width: 110%; padding: 16px 0; overflow: hidden; }
.ribbon-a { top: 34px; background: var(--orange); transform: rotate(-2.5deg); z-index: 2; box-shadow: 0 20px 40px -20px rgba(252,144,12,.6); }
.ribbon-b { top: 50px; background: var(--blue); transform: rotate(2deg); }
.ribbon-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 40s linear infinite; }
.ribbon-b .ribbon-track { animation-direction: reverse; animation-duration: 34s; }
.ribbon span { font-family: var(--f-head); font-weight: 800; font-size: 20px; letter-spacing: -.01em; white-space: nowrap; }
.ribbon-a span, .ribbon-a i { color: var(--navy); }
.ribbon-b span { color: #fff; }
.ribbon-b i { color: var(--orange); }
.ribbon i { font-style: normal; font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { position: relative; padding: clamp(80px, 10vw, 130px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; max-width: none; flex-wrap: wrap; }
.section-head-row > div:first-child { max-width: 680px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-head); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--orange); border-radius: 2px; }
.kicker-light { color: var(--orange-2); }
.section-title { font-size: clamp(32px, 4.6vw, 56px); font-weight: 800; letter-spacing: -.035em; }
.section-title.light { color: #fff; }
.section-intro { font-size: 19px; color: var(--slate); max-width: 620px; }

/* ---------- Servicios ---------- */
.services { background: linear-gradient(180deg, #fff 0%, var(--ice) 100%); padding-top: clamp(50px, 7vw, 90px); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card { --mx: 50%; --my: 50%; position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; transform-style: preserve-3d; }
.service-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(500px circle at var(--mx) var(--my), rgba(0,95,243,.10), transparent 40%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.service-card:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::after { opacity: 1; }
.service-visual { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.service-visual .art, .service-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-card:hover .service-visual .art, .service-card:hover .service-visual img { transform: scale(1.06); }
.tone-navy { background: radial-gradient(circle at 80% 10%, #0D3A80, var(--navy) 70%); }
.tone-blue { background: radial-gradient(circle at 20% 0%, #3F8BFF, var(--blue) 65%); }
.tone-ice { background: radial-gradient(circle at 80% 0%, #fff, var(--ice) 70%); }
.service-num { position: absolute; top: 14px; left: 14px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--navy); font-family: var(--f-head); font-weight: 800; font-size: 12px; letter-spacing: .04em; }
.service-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.service-body h3 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 10px; }
.service-body p { font-size: 15px; color: var(--slate); line-height: 1.6; }
.service-tag { margin-top: auto; margin-bottom: 0 !important; padding-top: 14px; border-top: 1px dashed var(--line); color: var(--navy) !important; font-weight: 700; font-style: italic; font-size: 14px !important; position: relative; padding-left: 22px; }
.service-tag::before { content: ""; position: absolute; left: 0; top: 19px; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(252,144,12,.18); }

/* ---------- Animaciones de ilustraciones ---------- */
.art-t { font-family: var(--f-head); }
.art-m { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.art * { transform-box: fill-box; }
.a-float { animation: float 6s ease-in-out infinite; }
.a-float2 { animation: float 7s ease-in-out -2s infinite; }
.a-float3 { animation: float 5.5s ease-in-out -3.5s infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.a-pulse { transform-origin: center; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.35); } }
.a-beat { transform-origin: center; animation: beat 1.4s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.25); } 30% { transform: scale(1); } 45% { transform: scale(1.15); } }
.a-blink { animation: blink 1.1s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.a-spin { transform-origin: center; animation: spin 14s linear infinite; }
.a-spin-slow { transform-origin: center; animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(.88); } }
.a-rot { transform-origin: center; animation: rot 9s var(--ease) infinite; }
@keyframes rot { 0%, 20% { transform: rotate(0); } 50%, 70% { transform: rotate(45deg); } 100% { transform: rotate(90deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
.a-ring { transform-origin: center; animation: ring 3s ease-out infinite; }
.a-d2 { animation-delay: -1.5s; }
@keyframes ring { 0% { transform: scale(.7); opacity: .6; } 100% { transform: scale(1.08); opacity: 0; } }
.a-dart { animation: dart 4s var(--ease) infinite; }
@keyframes dart { 0% { transform: translate(-60px, -60px); opacity: 0; } 15% { opacity: 1; } 35%, 85% { transform: translate(0, 0); opacity: 1; } 100% { transform: translate(0, 0); opacity: 0; } }
.a-cursor { animation: cursor 4s var(--ease) infinite; }
@keyframes cursor { 0% { transform: translate(60px, 40px); } 40%, 70% { transform: translate(0, 0); } 100% { transform: translate(60px, 40px); } }
.a-click { transform-origin: center; animation: click 4s ease-out infinite; opacity: 0; }
@keyframes click { 0%, 40% { transform: scale(.2); opacity: 0; } 45% { opacity: .6; } 70% { transform: scale(1.6); opacity: 0; } 100% { opacity: 0; } }
.a-press { transform-origin: center; animation: press 4s ease infinite; }
@keyframes press { 0%, 40%, 50%, 100% { transform: scale(1); } 45% { transform: scale(.95); } }
.a-stack { animation: stack 4s var(--ease) infinite; animation-delay: calc(var(--i) * .15s); }
@keyframes stack { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
.a-grow { transform-origin: bottom; transform: scaleY(.15); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 90ms); }
.is-inview .a-grow, .is-loaded .hero .a-grow { transform: scaleY(1); }
.a-draw { stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 2.2s var(--ease) .3s; }
.is-inview .a-draw, .is-loaded .hero .a-draw { stroke-dashoffset: 0; }
.a-fade { opacity: 0; transition: opacity 1.5s ease 1.2s; }
.is-loaded .hero .a-fade { opacity: 1; }
.a-ring-fill { transition: stroke-dashoffset 2s var(--ease) .8s; stroke-dashoffset: 251; }
.is-loaded .hero .a-ring-fill { stroke-dashoffset: 70; }
.a-film { animation: film 12s linear infinite; }
@keyframes film { to { transform: translateX(-336px); } }
.a-pen { animation: pen 6s var(--ease) infinite; }
@keyframes pen { 0%, 100% { transform: translate(262px, 212px); } 50% { transform: translate(232px, 236px); } }
.a-type { transform-origin: left; animation: type 5s var(--ease) infinite; }
@keyframes type { 0% { transform: scaleX(0); } 30%, 85% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.a-fan .fan-card { transform-origin: 345px 300px; transform-box: view-box; transform: rotate(0); transition: transform 1s var(--ease); }
.is-inview .a-fan .fan-card { transform: rotate(var(--r)); }
.service-card:hover .a-fan .fan-card { transform: rotate(calc(var(--r) * 1.5)); }
.a-bubbles circle { animation: bubble 5s ease-in infinite; }
.a-bubbles circle:nth-child(2) { animation-delay: -1.6s; }
.a-bubbles circle:nth-child(3) { animation-delay: -3.2s; }
@keyframes bubble { 0% { transform: translateY(30px); opacity: 0; } 30% { opacity: .7; } 100% { transform: translateY(-120px); opacity: 0; } }

/* ---------- Nosotros ---------- */
.why { background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.why-glow { position: absolute; width: 900px; height: 900px; left: -300px; top: -300px; background: radial-gradient(circle, rgba(0,95,243,.35), transparent 60%); z-index: -1; }
.why-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.why-text { font-size: 18px; color: rgba(255,255,255,.74); max-width: 620px; }
.pillars { display: grid; gap: 16px; }
.pillar { display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; border-radius: var(--r); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: transform .4s var(--ease), background .3s, border-color .3s; }
.pillar:hover { transform: translateX(8px); background: rgba(255,255,255,.08); border-color: rgba(252,144,12,.5); }
.pillar h3 { font-size: 19px; margin-bottom: 4px; }
.pillar p { margin: 0; color: rgba(255,255,255,.65); font-size: 15px; }
.pillar-icon { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; }
.pillar-icon svg { width: 26px; height: 26px; }
.pi-orange { background: var(--orange); color: var(--navy); }
.pi-blue { background: var(--blue); color: #fff; }
.pi-white { background: #fff; color: var(--navy); }
.manifesto { margin: clamp(60px, 8vw, 100px) 0 0; padding: clamp(30px, 5vw, 56px); border-radius: var(--r-lg); background: linear-gradient(120deg, rgba(0,95,243,.25), rgba(252,144,12,.12)); border: 1px solid rgba(255,255,255,.12); position: relative; overflow: hidden; }
.manifesto::before { content: "“"; position: absolute; right: 30px; top: -40px; font-family: var(--f-head); font-size: 260px; line-height: 1; color: rgba(255,255,255,.06); }
.manifesto p { font-family: var(--f-head); font-weight: 700; font-size: clamp(22px, 3vw, 36px); line-height: 1.3; letter-spacing: -.02em; margin: 0 0 18px; max-width: 980px; }
.manifesto footer { color: var(--orange-2); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; }

/* ---------- Proceso ---------- */
.process { background: #fff; }
.steps-wrap { position: relative; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; }
.steps-line { position: absolute; left: 36px; right: 36px; top: 35px; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.steps-line span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--orange)); transform-origin: left; transform: scaleX(var(--line-p, 0)); transition: transform .2s linear; }
.step { position: relative; }
.step-num { position: relative; z-index: 1; width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; background: var(--navy); color: #fff; font-family: var(--f-head); font-weight: 800; font-size: 28px; margin-bottom: 24px; box-shadow: 0 0 0 8px #fff; transition: background .4s, transform .4s var(--ease); }
.step:hover .step-num { background: var(--orange); color: var(--navy); transform: rotate(-6deg) scale(1.05); }
.step:nth-child(2) .step-num { background: var(--navy-2); }
.step:nth-child(3) .step-num { background: var(--blue); }
.step:nth-child(4) .step-num { background: var(--orange); color: var(--navy); }
.step h3 { font-size: 21px; }
.step p { color: var(--slate); font-size: 16px; }

/* ---------- Portafolio ---------- */
.portfolio { background: var(--ice); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-weight: 700; font-size: 14px; cursor: pointer; transition: all .25s; }
.filter:hover { border-color: var(--navy); }
.filter.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-card { display: block; color: var(--navy); border-radius: var(--r-lg); background: #fff; overflow: hidden; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .4s; }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-card.is-hidden { display: none; }
.project-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy); }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.project-card:hover .project-media img { transform: scale(1.07); }
.project-placeholder { position: absolute; inset: 0; background: linear-gradient(135deg, var(--navy), var(--blue)); }
.project-go { position: absolute; right: 16px; top: 16px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: var(--navy); transform: scale(0) rotate(-45deg); transition: transform .5s var(--ease); }
.project-card:hover .project-go { transform: none; }
.project-info { padding: 20px 24px 24px; }
.project-cat { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.project-info h3 { font-size: 21px; margin-bottom: 4px; }
.project-info p { margin: 0; color: var(--slate); font-size: 15px; }
.admin-hint { padding: 16px 20px; border: 2px dashed var(--orange); border-radius: var(--r); background: #FFF6EA; color: var(--navy); font-size: 15px; margin: 0 0 20px; }
.portal-band { margin-top: clamp(50px, 7vw, 80px); display: grid; grid-template-columns: auto 1fr auto; gap: clamp(24px, 4vw, 48px); align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); background: radial-gradient(600px 300px at 0% 0%, #2E7BF6, transparent 60%), linear-gradient(120deg, var(--blue), var(--navy) 85%); color: #fff; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.portal-band__copy h3 { font-size: clamp(22px, 2.6vw, 32px); margin-bottom: 8px; }
.portal-band__copy p { margin: 0; color: rgba(255,255,255,.78); max-width: 560px; }
.portal-band__copy .kicker { margin-bottom: 10px; }
.portal-band__art { position: relative; width: 150px; height: 150px; }
.pb-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); animation: ring 3s ease-out infinite; }
.pb-ring.r2 { animation-delay: -1.5s; }
.pb-lock { position: absolute; inset: 35px; border-radius: 26px; background: var(--orange); color: var(--navy); display: grid; place-items: center; box-shadow: 0 20px 40px -10px rgba(0,0,0,.4); }
.pb-lock .icon { width: 40px; height: 40px; }
.pb-file { position: absolute; width: 42px; height: 42px; border-radius: 12px; background: #fff; color: var(--blue); display: grid; place-items: center; box-shadow: 0 10px 20px -6px rgba(0,0,0,.35); animation: float 5s ease-in-out infinite; }
.pb-file.f1 { top: 0; right: 0; }
.pb-file.f2 { bottom: 4px; left: -4px; animation-delay: -2.5s; color: var(--orange); }

/* ---------- Contacto ---------- */
.contact { background: var(--navy); color: #fff; isolation: isolate; padding-top: 0; }
.contact-bg .blob-1 { top: 30%; }
.cta-card { position: relative; z-index: 2; margin: calc(-1 * clamp(90px, 10vw, 120px)) 0 clamp(60px, 8vw, 100px); display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: clamp(28px, 4vw, 48px) clamp(28px, 5vw, 60px); border-radius: var(--r-lg); background: linear-gradient(110deg, var(--orange) 0%, var(--orange-2) 100%); color: var(--navy); box-shadow: 0 40px 80px -30px rgba(252,144,12,.55); }
.portfolio { padding-bottom: clamp(160px, 18vw, 220px); }
.cta-title { font-size: clamp(24px, 3vw, 38px); font-weight: 800; letter-spacing: -.03em; max-width: 720px; margin-bottom: 8px; }
.cta-card p { margin: 0; font-weight: 600; opacity: .85; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: start; padding-bottom: 20px; }
.contact-list { list-style: none; padding: 0; margin: 30px 0; display: grid; gap: 12px; }
.contact-list a, .contact-list li > div { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: var(--r); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: #fff; font-weight: 700; font-size: 17px; transition: transform .35s var(--ease), border-color .3s, background .3s; }
.contact-list a:hover { transform: translateX(6px); border-color: var(--orange); background: rgba(255,255,255,.08); }
.contact-list small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.ci { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--blue); }
.ci .icon { width: 22px; height: 22px; }
.ci-wa { background: var(--wa); }
.socials { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; transition: transform .35s var(--ease), background .3s, color .3s; }
.socials a:hover { transform: translateY(-4px); background: var(--orange); color: var(--navy); }
.socials-lg a { width: 50px; height: 50px; border-radius: 15px; }
.socials .icon { width: 20px; height: 20px; }
.contact-form { padding: clamp(26px, 4vw, 44px); border-radius: var(--r-lg); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(10px); }
.quick-contact h3 { font-size: 26px; }
.quick-contact > p { color: rgba(255,255,255,.7); }
.quick-actions { display: grid; gap: 12px; margin: 26px 0; }
.quick-list { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid rgba(255,255,255,.12); display: grid; gap: 10px; color: rgba(255,255,255,.8); font-weight: 600; }
.quick-list li { display: flex; gap: 10px; align-items: center; }
.quick-list .icon { color: var(--orange); }
/* Formularios de plugins (CF7, WPForms…) dentro del bloque de contacto */
.contact-form input:not([type=submit]):not([type=checkbox]):not([type=radio]), .contact-form textarea, .contact-form select { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.07); color: #fff; font: inherit; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,.5); }
.contact-form input[type=submit], .contact-form button[type=submit] { padding: 14px 28px; border-radius: 999px; border: 0; background: var(--orange); color: var(--navy); font-family: var(--f-head); font-weight: 800; cursor: pointer; }
.contact-form label { color: rgba(255,255,255,.8); font-weight: 600; font-size: 14px; }

/* ---------- Pie ---------- */
.site-footer { background: var(--navy-3); color: rgba(255,255,255,.7); padding: 80px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr .8fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-brand .brand-logo { height: 52px; margin-bottom: 18px; }
.footer-brand p { max-width: 360px; }
.footer-title { color: #fff; font-size: 15px; letter-spacing: .02em; margin-bottom: 16px; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a, .footer-contact a { color: rgba(255,255,255,.7); transition: color .2s; }
.footer-links a:hover, .footer-contact a:hover { color: var(--orange-2); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--orange); margin-top: 4px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 24px var(--gutter); border-top: 1px solid rgba(255,255,255,.08); font-size: 14px; }
.to-top { color: rgba(255,255,255,.7); display: inline-flex; gap: 6px; align-items: center; }
.to-top .icon { transform: rotate(-45deg); }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 18px; border-radius: 30px; background: var(--wa); color: #fff; box-shadow: 0 16px 34px -10px rgba(31,175,85,.7); font-family: var(--f-head); font-weight: 700; transform: translateY(120px); transition: transform .6s var(--ease); }
.wa-float.is-visible { transform: none; }
.wa-float .icon { width: 28px; height: 28px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(31,175,85,.6); animation: wa 2.4s infinite; }
@keyframes wa { 0% { box-shadow: 0 0 0 0 rgba(31,175,85,.5); } 80%, 100% { box-shadow: 0 0 0 18px rgba(31,175,85,0); } }

/* ---------- Páginas interiores y portal ---------- */
.page-hero { position: relative; background: var(--navy); color: #fff; padding: calc(var(--header-h) + 70px) 0 80px; overflow: hidden; isolation: isolate; }
.page-hero .container { position: relative; }
.page-title { font-size: clamp(36px, 5vw, 64px); font-weight: 800; letter-spacing: -.035em; max-width: 900px; }
.page-lead { font-size: 19px; color: rgba(255,255,255,.75); max-width: 640px; margin: 0; }
.back-link { display: inline-block; color: var(--orange-2); font-weight: 700; margin-bottom: 18px; }
.portal { background: var(--ice); min-height: 50vh; }
.login-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; max-width: 1040px; margin: 0 auto; }
.login-card { background: #fff; border-radius: var(--r-lg); padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-lg); margin-top: -140px; position: relative; z-index: 2; }
.login-card h2 { font-size: 28px; }
.login-icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--orange); color: var(--navy); margin-bottom: 20px; }
.login-icon .icon { width: 28px; height: 28px; }
.login-card form p { margin: 0 0 16px; }
.login-card label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.login-card input[type=text], .login-card input[type=password] { width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; font: inherit; color: var(--navy); background: var(--ice); transition: border-color .2s, background .2s, box-shadow .2s; }
.login-card input[type=text]:focus, .login-card input[type=password]:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(0,95,243,.12); }
.login-card .login-remember label { display: flex; gap: 8px; align-items: center; font-weight: 600; }
.login-card input[type=submit] { width: 100%; padding: 15px; border: 0; border-radius: 999px; background: var(--blue); color: #fff; font-family: var(--f-head); font-weight: 800; font-size: 16px; cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s; }
.login-card input[type=submit]:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0,95,243,.7); }
.login-lost { font-size: 14px; font-weight: 600; }
.notice { padding: 12px 16px; border-radius: 12px; font-size: 14px; font-weight: 600; }
.notice-error { background: #FDECEC; color: #A3222A; }
.login-perks { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.login-perks li { display: flex; gap: 16px; }
.login-perks li > span { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--navy); color: #fff; display: grid; place-items: center; }
.login-perks strong { display: block; font-family: var(--f-head); font-size: 18px; margin-bottom: 2px; }
.login-perks div { color: var(--slate); }
.portal-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 26px; font-family: var(--f-head); font-weight: 700; }
.deliverables { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.deliverable { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); color: var(--navy); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.deliverable:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.deliverable h3 { font-size: 21px; margin: 16px 0 8px; }
.deliverable p { color: var(--slate); font-size: 15px; }
.deliverable-meta { margin-top: auto; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--slate); font-weight: 600; }
.deliverable-meta span { display: inline-flex; gap: 6px; align-items: center; }
.deliverable-go { position: absolute; top: 24px; right: 24px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--ice); color: var(--navy); transition: background .3s, transform .4s var(--ease); }
.deliverable:hover .deliverable-go { background: var(--orange); transform: rotate(-45deg); }
.status { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-proceso { background: #E5EEFF; color: var(--blue); }
.status-revision { background: #FFF1DF; color: #B86500; }
.status-entregado { background: #E2F6EA; color: #13803F; }
.page-hero .status-proceso { background: rgba(0,95,243,.25); color: #BBD3FF; }
.page-hero .status-revision { background: rgba(252,144,12,.2); color: var(--orange-2); }
.page-hero .status-entregado { background: rgba(31,175,85,.2); color: #7BE3A3; }
.entregable-meta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; color: rgba(255,255,255,.7); font-weight: 600; font-size: 15px; }
.empty-state { text-align: center; max-width: 520px; margin: 0 auto; padding: 50px 30px; background: #fff; border-radius: var(--r-lg); border: 1px dashed var(--line); }
.empty-state .login-icon { margin: 0 auto 18px; }
.entregable-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.entregable-cover { border-radius: var(--r-lg); overflow: hidden; margin-bottom: 30px; box-shadow: var(--shadow); }
.entregable-files { position: sticky; top: 100px; background: #fff; border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow); }
.entregable-files h2 { font-size: 22px; }
.file-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.file-list li { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 16px; background: var(--ice); }
.file-ext { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--f-head); font-weight: 800; font-size: 11px; }
.file-ext-link { background: var(--blue); }
.file-name { flex: 1; min-width: 0; font-weight: 700; font-size: 15px; overflow-wrap: anywhere; }
.file-name small { display: block; font-weight: 600; color: var(--slate); font-size: 12px; }
.file-dl { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: var(--navy); transition: transform .3s var(--ease); }
.file-dl:hover { transform: scale(1.1); }
.prose { font-size: 18px; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 30px; margin-top: 1.6em; }
.prose h3 { font-size: 23px; margin-top: 1.4em; }
.prose img { border-radius: var(--r); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
/* Documentos legales */
.legal { background: linear-gradient(180deg, #fff 0%, var(--ice) 100%); }
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; max-width: 1120px; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow: auto; padding: 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.legal-toc__title { font-family: var(--f-head); font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); margin-bottom: 10px; }
.legal-toc ol { margin: 0; padding-left: 22px; display: grid; gap: 4px; font-size: 14px; }
.legal-toc li::marker { color: var(--orange); font-weight: 800; }
.legal-toc a { color: var(--navy); display: block; padding: 3px 0; transition: color .2s; }
.legal-toc a:hover { color: var(--blue); }
.legal-doc { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 5vw, 56px); box-shadow: var(--shadow); font-size: 17px; line-height: 1.7; }
.legal-doc h2 { font-size: clamp(22px, 2.6vw, 27px); scroll-margin-top: calc(var(--header-h) + 24px); padding-top: 1.4em; border-top: 1px solid var(--line); }
.legal-doc h2:first-of-type { border-top: 0; padding-top: 0; }
.legal-doc h3 { font-size: 19px; color: var(--blue); }
.legal-doc ul, .legal-doc ol { padding-left: 1.3em; }
.legal-doc li + li { margin-top: .35em; }
.legal-doc li::marker { color: var(--orange); font-weight: 700; }
.legal-doc a { color: var(--blue); overflow-wrap: anywhere; }
.legal-meta { display: inline-block; padding: 14px 20px; border-radius: 16px; background: var(--ice); font-size: 15px; color: var(--slate); }
.legal-meta strong { color: var(--navy); letter-spacing: .06em; }
.legal-firma { margin-top: 2.4em !important; padding-top: 1.4em; border-top: 3px solid var(--orange); font-family: var(--f-head); color: var(--slate); }
.legal-firma strong { color: var(--navy); font-size: 1.15em; }
.legal-more { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.legal-card { position: relative; display: block; padding: 22px 60px 22px 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); color: var(--navy); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.legal-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.legal-card span { display: block; font-size: 13px; color: var(--slate); margin-bottom: 4px; }
.legal-card strong { font-family: var(--f-head); font-size: 17px; overflow-wrap: anywhere; }
.legal-card .icon { position: absolute; right: 22px; top: 50%; width: 22px; height: 22px; transform: translateY(-50%); color: var(--orange); }
.legal-card--dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.legal-card--dark span { color: rgba(255,255,255,.7); }
.legal-card--dark strong { font-size: 15px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-legal a { color: rgba(255,255,255,.7); transition: color .2s; }
.footer-legal a:hover { color: #fff; }
@media (max-width: 900px) {
	.legal-layout { grid-template-columns: 1fr; gap: 24px; }
	.legal-toc { position: static; max-height: none; }
	.legal-toc ol { grid-template-columns: 1fr 1fr; column-gap: 28px; }
	.legal-more { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.legal-toc ol { grid-template-columns: 1fr; }
	.legal-doc { font-size: 16px; }
}
.project-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 8px 14px; border-radius: 10px; background: #fff; border: 1px solid var(--line); color: var(--navy); font-weight: 700; }
.pagination .current { background: var(--navy); color: #fff; }

/* ---------- Animaciones de aparición ---------- */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal-zoom { opacity: 0; transform: scale(.92) translateY(20px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-inview, .js .reveal-zoom.is-inview { opacity: 1; transform: none; }
.js .service-card.reveal.is-inview { transition: opacity .9s var(--ease) var(--d, 0s), transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }

/* ---------- Responsivo ---------- */
@media (max-width: 1180px) {
	.services-grid { grid-template-columns: repeat(2, 1fr); }
	.service-card { flex-direction: row; }
	.service-visual { flex: 0 0 44%; aspect-ratio: auto; min-height: 260px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.nav-menu a { padding: 8px 9px; }
	.main-nav { gap: 16px; }
}
@media (max-width: 1024px) {
	.nav-toggle { display: inline-flex; }
	.main-nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: stretch; gap: 30px; padding: 100px var(--gutter) 40px; background: var(--navy); opacity: 0; visibility: hidden; transform: translateY(-20px); transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s; }
	.nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
	.nav-open { overflow: hidden; }
	.nav-open .site-header { background: var(--navy); }
	.nav-menu { flex-direction: column; gap: 4px; }
	.nav-menu a { font-family: var(--f-head); font-size: 30px; font-weight: 800; color: #fff; padding: 10px 0; letter-spacing: -.02em; }
	.nav-menu a::after { left: 0; right: auto; width: 40px; }
	.nav-menu li { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
	.nav-open .nav-menu li { opacity: 1; transform: none; }
	.nav-open .nav-menu li:nth-child(2) { transition-delay: .05s; } .nav-open .nav-menu li:nth-child(3) { transition-delay: .1s; } .nav-open .nav-menu li:nth-child(4) { transition-delay: .15s; } .nav-open .nav-menu li:nth-child(5) { transition-delay: .2s; } .nav-open .nav-menu li:nth-child(6) { transition-delay: .25s; }
	.nav-extra { flex-direction: column; align-items: stretch; gap: 14px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); }
	.nav-extra .btn { padding: 16px; font-size: 16px; }
	.nav-portal { font-size: 16px; }
	.hero-inner { grid-template-columns: 1fr; text-align: left; }
	.hero-art { max-width: 560px; width: 100%; margin: 0 auto; }
	.hero { min-height: auto; }
	.why-inner, .contact-grid, .login-wrap, .entregable-layout { grid-template-columns: 1fr; }
	.steps { grid-template-columns: repeat(2, 1fr); gap: 40px 26px; }
	.steps-line { display: none; }
	.projects-grid, .deliverables { grid-template-columns: repeat(2, 1fr); }
	.portal-band { grid-template-columns: 1fr; text-align: left; }
	.portal-band__art { width: 120px; height: 120px; }
	.pb-lock { inset: 28px; }
	.cta-card { flex-direction: column; align-items: flex-start; }
	.login-card { margin-top: -110px; }
	.entregable-files { position: static; }
}
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
@media (max-width: 760px) {
	body { font-size: 16px; }
	:root { --header-h: 72px; }
	.brand-logo { height: 38px; }
	.services-grid { grid-template-columns: 1fr; }
	.service-card { flex-direction: column; }
	.service-visual { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
	.projects-grid, .deliverables { grid-template-columns: 1fr; }
	.hero { padding-bottom: 70px; }
	.hero-actions .btn { flex: 1 1 auto; }
	.hero-stats { gap: 18px; justify-content: space-between; }
	.stat dd { font-size: 12.5px; }
	.ribbons { height: 120px; }
	.ribbon span { font-size: 16px; }
	.steps { grid-template-columns: 1fr; }
	.step { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; }
	.step-num { width: 60px; height: 60px; font-size: 24px; border-radius: 18px; grid-row: span 2; margin: 0; }
	.footer-grid { grid-template-columns: 1fr; gap: 32px; }
	.cta-card .btn { width: 100%; }
	.wa-float__label { display: none; }
	.wa-float { width: 60px; padding: 0; justify-content: center; }
	.section-intro { font-size: 17px; }
	.manifesto::before { font-size: 160px; top: -20px; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.js .reveal, .js .reveal-zoom, .split .w > span { opacity: 1 !important; transform: none !important; }
	.a-draw { stroke-dashoffset: 0 !important; }
	.a-grow { transform: none !important; }
}

/* ---------- Servicio principal ---------- */
.featured { background: radial-gradient(900px 500px at 85% 20%, #0D3A80 0%, transparent 60%), var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.featured-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.featured-text { font-size: 18px; color: rgba(255,255,255,.78); max-width: 580px; }
.featured-points { list-style: none; padding: 0; margin: 26px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.featured-points li { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; color: #fff; min-width: 0; }
.featured-points .icon { flex: none; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--orange); color: var(--navy); margin-top: 1px; }
.featured-tag { font-family: var(--f-head); font-weight: 700; font-style: italic; color: var(--orange-2); margin-bottom: 26px; }
.featured-visual { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; background: radial-gradient(circle at 30% 20%, #0D3A80, #03122A 75%); border: 1px solid rgba(255,255,255,.12); box-shadow: var(--shadow-lg); }
.featured-visual .art, .featured-visual img { width: 100%; height: 100%; object-fit: cover; }
.featured-visual .art { transform-box: view-box; }
.featured-visual.is-inview .a-draw, .featured .is-inview .a-draw { stroke-dashoffset: 0; }
.featured-badge { position: absolute; top: 16px; left: 16px; z-index: 2; padding: 6px 14px; border-radius: 999px; background: var(--orange); color: var(--navy); font-family: var(--f-head); font-weight: 800; font-size: 13px; }
@media (max-width: 1024px) { .featured-inner { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .featured-points { grid-template-columns: 1fr; } .featured .btn { width: 100%; } }
.featured-points { grid-template-columns: 1fr; gap: 14px; }
.featured-points li { font-weight: 500; color: rgba(255,255,255,.75); font-size: 16px; line-height: 1.5; }
.featured-points li strong { display: block; color: #fff; font-family: var(--f-head); font-weight: 700; font-size: 16.5px; margin-bottom: 2px; }
.featured-inner { align-items: start; }
.featured-visual { position: sticky; top: 100px; }
@media (max-width: 1024px) { .featured-visual { position: relative; top: 0; } }
.a-steam path { animation: steam 2.4s ease-in-out infinite; }
.a-steam path:nth-child(2) { animation-delay: -.8s; }
.a-steam path:nth-child(3) { animation-delay: -1.6s; }
@keyframes steam { 0% { transform: translateY(6px); opacity: 0; } 40% { opacity: .7; } 100% { transform: translateY(-14px); opacity: 0; } }
