/*
 * TAG Europa · "Ecosistema digital" (portada y lenguaje espacial de las páginas de servicio).
 * Se carga después de europa.css. Clases x-*. Todo se queda quieto con "reducir movimiento".
 */
.x-page { background: #070605; color: #FFF8F3; font-size: 17px; line-height: 1.6; overflow-x: clip; }
.x-page *, .x-page *::before, .x-page *::after { box-sizing: border-box; }
.x-page h1, .x-page h2, .x-page h3, .x-page p { margin: 0; }
.x-page a { color: inherit; }
.x-wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding-left: max(24px, 4vw); padding-right: max(24px, 4vw); }
.x-stack { display: flex; flex-direction: column; gap: 20px; }
.x-stack--lg { gap: 44px; }
.x-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.x-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 64px; align-items: center; }
.x-two--top { align-items: start; }
.x-side { max-width: 24em; }
.x-kicker { font: 500 12px/1.2 var(--e-mono); letter-spacing: .16em; text-transform: uppercase; color: #ED6306; }
.x-mono { font-family: var(--e-mono); font-size: 12px; }
.x-up { letter-spacing: .1em; text-transform: uppercase; font-size: 11px; color: #D9CFC6; }
.x-or { color: #ED6306; }
.x-soft { color: #D9CFC6; }
.x-h1 { font-weight: 900; font-size: clamp(44px, 5.4vw, 82px); line-height: .96; letter-spacing: -.035em; text-wrap: balance; }
.x-h2 { font-weight: 900; font-size: clamp(38px, 4.8vw, 68px); line-height: .98; letter-spacing: -.035em; text-wrap: balance; }
.x-lead { font-size: 19px; color: #D9CFC6; max-width: 26em; }
.x-glow-text { color: #ED6306; text-shadow: 0 0 40px rgba(237, 99, 6, .45); }
.x-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 800; font-size: 15px; line-height: 1; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .25s, background .25s, color .25s, box-shadow .25s; }
.x-btn:hover { transform: translateY(-2px); }
.x-btn--or { background: #ED6306; color: #0B0A09 !important; }
.x-btn--or:hover { background: #FF7A1F; box-shadow: 0 0 30px 4px rgba(237, 99, 6, .45); }
.x-btn--line { border-color: rgba(255, 248, 243, .6); background: rgba(11, 10, 9, .4); }
.x-btn--line:hover { background: #FFF8F3; color: #0B0A09 !important; }
.x-page :focus-visible { outline: 3px solid #ED6306; outline-offset: 3px; }

/* Cielo */
.x-space { position: relative; overflow: hidden; isolation: isolate; }
.x-stars { position: absolute; inset: 0; pointer-events: none; z-index: -1; background-image: radial-gradient(1px 1px at 20px 30px, rgba(255,248,243,.7) 50%, transparent 51%), radial-gradient(1px 1px at 140px 90px, rgba(255,248,243,.45) 50%, transparent 51%), radial-gradient(1.5px 1.5px at 260px 160px, rgba(255,248,243,.6) 50%, transparent 51%), radial-gradient(1px 1px at 330px 40px, rgba(255,248,243,.35) 50%, transparent 51%), radial-gradient(1px 1px at 80px 210px, rgba(255,248,243,.5) 50%, transparent 51%); background-size: 360px 240px; animation: x-drift 40s linear infinite; }
.x-stars--2 { background-image: radial-gradient(1.5px 1.5px at 60px 70px, rgba(237,99,6,.8) 50%, transparent 51%), radial-gradient(1px 1px at 300px 200px, rgba(255,248,243,.8) 50%, transparent 51%), radial-gradient(2px 2px at 480px 120px, rgba(255,248,243,.55) 50%, transparent 51%); background-size: 560px 320px; animation: x-drift2 26s linear infinite, x-twinkle 4s ease-in-out infinite alternate; }
@keyframes x-drift { to { background-position: 0 240px; } }
@keyframes x-drift2 { to { background-position: 0 320px; } }
@keyframes x-twinkle { from { opacity: .5; } to { opacity: 1; } }
.x-nebula { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; z-index: -1; animation: x-breathe 9s ease-in-out infinite alternate; }
@keyframes x-breathe { from { opacity: .55; transform: scale(1); } to { opacity: 1; transform: scale(1.12); } }

/* Hero */
.x-hero { padding-top: clamp(120px, 14vh, 150px); padding-bottom: 56px; }
.x-hero__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px 48px; align-items: center; }
.x-hero__copy { display: flex; flex-direction: column; gap: 28px; position: relative; z-index: 2; }
.x-hero__visual { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.x-stage { position: relative; width: min(760px, 100%); aspect-ratio: 1; margin: -40px auto -30px; display: grid; place-items: center; }
.x-stage > * { grid-area: 1 / 1; }
.x-glow { width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 72% 40%, rgba(237,99,6,.55), rgba(237,99,6,0) 62%); filter: blur(30px); animation: x-breathe 6s ease-in-out infinite alternate; }
.x-planet { position: relative; width: 62%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #120d0a; box-shadow: inset -40px -12px 80px rgba(237,99,6,.7), inset 30px 10px 70px rgba(0,0,0,.95), 0 0 0 1px rgba(237,99,6,.4), 0 0 120px rgba(237,99,6,.4); }
.x-surface { position: absolute; inset: 0; border-radius: 50%; background-image: radial-gradient(ellipse 80px 52px at 120px 140px, rgba(237,99,6,.3), transparent 70%), radial-gradient(ellipse 140px 70px at 340px 280px, rgba(237,99,6,.24), transparent 70%), radial-gradient(ellipse 60px 92px at 540px 170px, rgba(237,99,6,.28), transparent 70%), radial-gradient(ellipse 100px 46px at 720px 330px, rgba(237,99,6,.22), transparent 70%), radial-gradient(ellipse 70px 40px at 880px 110px, rgba(237,99,6,.26), transparent 70%), repeating-linear-gradient(90deg, rgba(255,248,243,.08) 0 1px, transparent 1px 46px), repeating-linear-gradient(0deg, rgba(255,248,243,.05) 0 1px, transparent 1px 40px); background-size: 920px 100%; animation: x-spin 8s linear infinite; }
@keyframes x-spin { from { background-position: 0 0; } to { background-position: -920px 0; } }
.x-shade { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 36% 46%, rgba(0,0,0,0) 30%, rgba(0,0,0,.55) 62%, rgba(0,0,0,.92) 80%), linear-gradient(100deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,0) 45%, rgba(237,99,6,.2) 100%); }
.x-rim { width: 62%; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(from 20deg, rgba(237,99,6,0) 0deg, rgba(255,138,61,.95) 70deg, rgba(237,99,6,0) 150deg, rgba(237,99,6,0) 360deg); -webkit-mask: radial-gradient(circle, transparent 66%, #000 67.5%); mask: radial-gradient(circle, transparent 66%, #000 67.5%); }
.x-orbit { width: 98%; height: 34%; border: 1px dashed rgba(237,99,6,.5); border-radius: 50%; transform: rotate(-14deg); }
.x-orbit2 { width: 86%; height: 86%; border: 1px solid rgba(255,248,243,.08); border-radius: 50%; }
.x-moon-track { width: 98%; height: 34%; transform: rotate(-14deg); position: relative; }
.x-moon { position: absolute; top: 50%; left: 50%; width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: #ED6306; box-shadow: 0 0 18px #ED6306; offset-path: ellipse(50% 50% at 50% 50%); animation: x-orbit 8s linear infinite; }
@keyframes x-orbit { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.x-stage.is-paused .x-surface, .x-stage.is-paused .x-moon { animation-play-state: paused; }
.x-nodes { position: relative; width: 100%; height: 100%; }
.x-node { position: absolute; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; border: 1px solid #3A332D; background: rgba(22,19,16,.92); color: #D9CFC6 !important; font: 500 12px/1 var(--e-mono); white-space: nowrap; text-decoration: none; transition: background .35s, color .35s, border-color .35s, transform .35s, box-shadow .35s; }
.x-node i { width: 8px; height: 8px; border-radius: 50%; background: #3A332D; display: block; }
.x-node:hover { border-color: #ED6306; color: #FFF8F3 !important; }
.x-node.is-on { background: #ED6306; border-color: #ED6306; color: #0B0A09 !important; transform: translate(-50%, -50%) scale(1.1); box-shadow: 0 0 28px rgba(237,99,6,.6); }
.x-node.is-on i { background: #0B0A09; }
.x-cap { width: min(440px, 90vw); display: flex; flex-direction: column; gap: 14px; text-align: center; min-height: 132px; }
.x-cap__in { display: flex; flex-direction: column; align-items: center; gap: 8px; animation: x-fade .6s cubic-bezier(.2,.8,.2,1) both; }
@keyframes x-fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.x-cap__h { font-weight: 800; font-size: 24px; line-height: 1.2; letter-spacing: -.02em; }
.x-cap__go { font-weight: 700; font-size: 15px; text-decoration: none; color: #ED6306 !important; }
.x-cap__ctl { display: flex; align-items: center; gap: 12px; }
.x-cap__bar { flex: 1; height: 2px; background: #2B2622; border-radius: 2px; overflow: hidden; }
.x-cap__bar i { display: block; height: 100%; width: 0; background: #ED6306; box-shadow: 0 0 10px #ED6306; }
.x-cap__play { width: 34px; height: 34px; flex: none; border-radius: 50%; border: 1px solid #3A332D; background: transparent; color: #D9CFC6; cursor: pointer; font-size: 12px; display: grid; place-items: center; }
.x-cap__play:hover { border-color: #ED6306; color: #ED6306; }

/* Señal */
.x-signal { overflow: hidden; border-block: 1px solid #2B2622; background: #0B0A09; }
.x-signal__row { display: flex; gap: 56px; width: max-content; padding: 26px 0; animation: x-slide 36s linear infinite; }
.x-signal b { font-weight: 900; font-size: 44px; letter-spacing: -.02em; white-space: nowrap; display: flex; align-items: center; gap: 56px; color: transparent; -webkit-text-stroke: 1.5px rgba(255,248,243,.55); }
.x-signal b:nth-child(3n+1) { color: #ED6306; -webkit-text-stroke: 0; }
.x-signal b::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: #ED6306; box-shadow: 0 0 14px #ED6306; }
@keyframes x-slide { to { transform: translateX(-50%); } }

/* Secciones */
.x-sec { padding-block: 120px; }
.x-sec--flat { padding-top: 40px; }
.x-solar { position: relative; width: min(560px, 90vw); aspect-ratio: 1; margin: 0 auto; display: grid; place-items: center; }
.x-solar > * { grid-area: 1 / 1; }
.x-sun { width: 20%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FFB27A, #ED6306 45%, #7A2E02 100%); box-shadow: 0 0 60px rgba(237,99,6,.8), 0 0 140px rgba(237,99,6,.4); display: grid; place-items: center; color: #0B0A09; font-weight: 900; font-size: 18px; }
.x-ring { border: 1px solid rgba(255,248,243,.12); border-radius: 50%; position: relative; }
.x-ring span { position: absolute; top: -9px; left: 50%; margin-left: -9px; width: 18px; height: 18px; border-radius: 50%; background: #FFF8F3; box-shadow: 0 0 14px rgba(255,248,243,.6); }
.x-ring span.is-or { background: #ED6306; box-shadow: 0 0 16px #ED6306; }
.x-r1 { width: 38%; aspect-ratio: 1; animation: x-rot 9s linear infinite; }
.x-r2 { width: 58%; aspect-ratio: 1; animation: x-rot 14s linear infinite reverse; }
.x-r3 { width: 78%; aspect-ratio: 1; animation: x-rot 20s linear infinite; }
.x-r4 { width: 98%; aspect-ratio: 1; animation: x-rot 28s linear infinite reverse; border-style: dashed; border-color: rgba(237,99,6,.35); }
@keyframes x-rot { to { transform: rotate(360deg); } }
.x-steps4 { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.x-steps4 li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; padding: 20px 22px; border: 1px solid #2B2622; border-radius: 20px; background: rgba(22,19,16,.7); transition: border-color .35s, transform .35s; }
.x-steps4 li:hover { border-color: #ED6306; transform: translateX(6px); }
.x-steps4__go { display: inline-block; margin-top: 6px; font-weight: 700; font-size: 14px; color: #ED6306 !important; text-decoration: none; }
.x-steps4__go:hover { text-decoration: underline; text-underline-offset: 3px; }
.x-prose { font-size: 18px; color: #D9CFC6; max-width: 46em; }
.x-prose a { color: #FFF8F3 !important; text-decoration: underline; text-decoration-color: #ED6306; text-underline-offset: 4px; }
.x-prose a:hover { color: #ED6306 !important; }
.x-steps4__n { width: 52px; height: 52px; border-radius: 50%; border: 2px solid #ED6306; display: grid; place-items: center; font-weight: 900; color: #ED6306; box-shadow: 0 0 18px rgba(237,99,6,.35) inset; }
.x-traj { position: relative; }
.x-traj svg { display: block; width: 100%; height: auto; overflow: visible; }
.x-path { stroke-dasharray: 8 10; animation: x-dash 1.4s linear infinite; }
@keyframes x-dash { to { stroke-dashoffset: -36; } }
.x-comet { offset-path: path("M 40 220 C 300 40, 520 40, 700 150 S 1100 300, 1240 80"); animation: x-comet 6s cubic-bezier(.5,0,.5,1) infinite; position: absolute; top: 0; left: 0; width: 16px; height: 16px; margin: -8px; border-radius: 50%; background: #FFF8F3; box-shadow: 0 0 12px #FFF8F3, 0 0 30px #ED6306; }
@keyframes x-comet { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.x-way { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.x-way article { display: flex; flex-direction: column; gap: 12px; }
.x-way h3 { font-weight: 800; font-size: 26px; }
.x-sats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.x-sat { position: relative; overflow: hidden; border: 1px solid #2B2622; border-radius: 28px; padding: 34px 30px 30px; display: flex; flex-direction: column; gap: 14px; background: radial-gradient(120% 70% at 85% -10%, rgba(237,99,6,.35), rgba(237,99,6,0) 60%), #110E0C; transition: transform .4s cubic-bezier(.2,.8,.2,1), border-color .4s, box-shadow .4s; }
.x-sat:hover { transform: translateY(-8px); border-color: #ED6306; box-shadow: 0 30px 60px -30px rgba(237,99,6,.6); }
.x-sat::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; border: 1px dashed rgba(237,99,6,.45); animation: x-rot 30s linear infinite; }
.x-sat strong { font-weight: 900; font-size: 72px; line-height: 1; letter-spacing: -.04em; background: linear-gradient(180deg, #FFF8F3, #ED6306); -webkit-background-clip: text; background-clip: text; color: transparent; }
.x-sat h3 { font-weight: 700; font-size: 20px; line-height: 1.3; }
.x-faq details { border-top: 1px solid #2B2622; padding: 22px 0; }
.x-faq details:last-child { border-bottom: 1px solid #2B2622; }
.x-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-weight: 800; font-size: 20px; }
.x-faq summary::-webkit-details-marker { display: none; }
.x-faq summary::after { content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 2px solid currentColor; display: grid; place-items: center; font-weight: 500; transition: transform .3s, background .3s, color .3s, border-color .3s; }
.x-faq details[open] summary::after { transform: rotate(45deg); background: #ED6306; border-color: #ED6306; color: #0B0A09; }
.x-faq p { margin-top: 14px; color: #D9CFC6; }

/* Amanecer + formulario */
.x-dawn { position: relative; overflow: hidden; isolation: isolate; padding-block: 120px 220px; }
.x-horizon { position: absolute; left: 50%; bottom: -118vw; width: 160vw; height: 160vw; margin-left: -80vw; border-radius: 50%; z-index: -1; background: radial-gradient(circle at 50% 0%, #2a1408 0%, #0B0A09 18%); box-shadow: 0 -2px 0 rgba(255,166,102,.9), 0 -30px 80px rgba(237,99,6,.65), 0 -120px 220px rgba(237,99,6,.35); animation: x-rise 7s ease-in-out infinite alternate; }
@keyframes x-rise { from { transform: translateY(16px); } to { transform: translateY(-6px); } }
.x-contact { display: flex; flex-direction: column; gap: 6px; padding-top: 20px; border-top: 1px solid #3A332D; font: 500 14px/1.6 var(--e-mono); }
.x-contact a { text-decoration: none; }
.x-contact a:hover { color: #ED6306; }
.x-page .e-form { box-shadow: 0 40px 80px -30px rgba(237,99,6,.55); }

/* Agradecimiento */
.x-row { display: flex; flex-wrap: wrap; gap: 12px; }
.x-thanks { padding-top: clamp(140px, 18vh, 180px); min-height: 100vh; }
.x-thanks__steps { max-width: 760px; }

/* Páginas de servicio: mismo cielo detrás del hero */
.tag-eu .e-srvp .e-hero { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(60% 70% at 85% 30%, rgba(237,99,6,.18), rgba(7,6,5,0) 70%), #070605; }
.tag-eu .e-srvp .e-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: radial-gradient(1px 1px at 20px 30px, rgba(255,248,243,.7) 50%, transparent 51%), radial-gradient(1px 1px at 140px 90px, rgba(255,248,243,.45) 50%, transparent 51%), radial-gradient(1.5px 1.5px at 260px 160px, rgba(255,248,243,.6) 50%, transparent 51%), radial-gradient(1.5px 1.5px at 60px 200px, rgba(237,99,6,.8) 50%, transparent 51%); background-size: 360px 240px; animation: x-drift 40s linear infinite; }
.tag-eu .e-page { background: #070605; }

@media (max-width: 1100px) { .x-hero__grid { grid-template-columns: minmax(0, 1fr); } .x-stage { margin: 0 auto; } .x-sats, .x-way { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .x-hero__visual { width: 100%; } .x-nodes { width: 88%; height: 88%; } .x-node { font-size: 10px; padding: 6px 10px; } .x-signal b { font-size: 28px; } .x-traj { display: none; } .x-sec { padding-block: 88px; } }
@media (prefers-reduced-motion: reduce) {
	.x-surface, .x-moon, .x-signal__row, .x-stars, .x-nebula, .x-glow, .x-cap__in, .x-ring, .x-path, .x-comet, .x-sat::after, .x-horizon, .tag-eu .e-srvp .e-hero::before { animation: none !important; }
}
