/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

html {
  scroll-behavior: smooth;
}

::selection {
  background: var(--yellow);
  color: var(--dark);
}

/* Scrollbar */
::-webkit-scrollbar         { width: 4px; }
::-webkit-scrollbar-track   { background: var(--dark); }
::-webkit-scrollbar-thumb   { background: var(--yellow); border-radius: 2px; }

body {
	font-family: 'Space Grotesk', sans-serif;
}

/* ─── 2. TOKENS / VARIABLES ────────────────────────────────── */
:root {
  --purple:       #5B3E9F;
  --purple-dark:  #3B2570;
  --purple-light: #7B5ABF;
  --yellow:       #F5C800;
  --yellow-dark:  #D4A800;
  --red:          #C8273A;
  --red-dark:     #A01F2E;
  --dark:         #180F38;
  --dark2:        #0F0824;
  --white:        #F8F5FF;
  --gray:         #8B8599;
  --gray-light:   #EEE9F8;
}

/* ─── 4. ANIMACIONES ────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}
@keyframes pulse-ring {
  0%   { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}
@keyframes slideRight {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes counterUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes arnulfoIn {
  from { opacity: 0; transform: translateX(60px) scale(0.95); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes gridMove {
  from { transform: translateY(0); }
  to   { transform: translateY(40px); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
@keyframes ripple {
  0%   { transform: scale(0);  opacity: 0.6; }
  100% { transform: scale(4);  opacity: 0; }
}
@keyframes scanline {
  from { transform: translateY(-100%); }
  to   { transform: translateY(100vh); }
}

/* ─── 5. UTILIDADES DE ANIMACIÓN ────────────────────────────── */
.animate-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }

/* ─── 6. UTILIDADES DE FONDO ────────────────────────────────── */
.bg-grid-dark {
  background-image:
    linear-gradient(rgba(91,62,159,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91,62,159,0.07) 1px, transparent 1px);
  background-size: 48px 48px;
}
.bg-grid-light {
  background-image:
    linear-gradient(rgba(91,62,159,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91,62,159,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.bg-dots {
  background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 28px 28px;
}

.hero__h1-yellow {
    color: var(--yellow);
    display: block;
}
.hero__h1-solid {
     
}
.hero__h1-outline {
    -webkit-text-stroke: 3px var(--white);
    color: transparent; 
}
.cta-btn--primary a {
    background: var(--yellow) !important;
    color: var(--dark) !important;
    box-shadow: 0 4px 16px rgba(245, 200, 0, 0.2);
}
.cta-btn--primary a svg{
	fill: #180f38;
}

.cta-btn--primary:hover a{
  background: var(--yellow-dark) !important;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 40px rgba(245,200,0,0.45), 0 0 0 1px var(--yellow);
}

.cta-btn a{
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    padding: 20px 34px;
    border-radius: 100px;
    font-family: 'Barlow Condensed', sans-serif !important;
    font-weight: 800 !important;
    font-size: 17px !important;
    letter-spacing: 2px;
    transition: all 0.25s;
}

.hero__tag-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--yellow);
    display: block;
    animation: pulse-ring 1.8s ease-out infinite;
    margin-top: 4px;
    margin-right: 13px;
}

.hero__tag-text {
  color: var(--yellow);
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  background: rgba(245, 200, 0, 0.10);
  border: 1px solid rgba(245, 200, 0, 0.25);
  border-radius: 100px;
  padding: 7px 18px;
  margin-bottom: 12px;
  transition: all 0.6s ease 0.1s;
}

.hero__grid-bg {
    inset: 0;
    z-index: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 56px 56px;
}
.hero__orb {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.hero__orb--purple {
    top: 14%;
    left: 17%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(91, 62, 159, 0.25) 0%, transparent 70%);
}

.cta-btn--ghost a{
    background: transparent !important;
    color: var(--white);
    border: 1.5px solid rgba(250, 250, 249, 0.2);
}

.cta-btn--ghost:hover a{
    background: rgba(250, 250, 249, 0.08) !important;
    border-color: rgba(250, 250, 249, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}
.hero__social-proof{
	transition: 0.8s 0.7s;
    display: flex;
    align-content: center;
    align-items: center;
}
.hero__avatars {
    display: flex;
}
.hero__avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--dark);
}
.hero__avatar + .hero__avatar {
    margin-left: -8px;
}
.hero__social-text {
    color: rgba(250, 250, 249, 0.45) !important;
    font-size: 13px;
	    margin-left: 20px;
}

.hero__watermark{
    position: absolute;
    bottom: 5%;
    left: 0;
    right: 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: clamp(48px, 9vw, 110px);
    color: rgba(255, 255, 255, 0.025);
    letter-spacing: 6px;
    user-select: none;
    z-index: -1;
    white-space: nowrap;
}

/* Indicador de scroll */
.hero__scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: clamp(20px, 6vw, 80px);
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--yellow), transparent);
}
.hero__scroll-label {
  color: rgba(250,250,249,0.35);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero__orb--yellow {
    bottom: 10%;
    left: 30%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(245, 200, 0, 0.09) 0%, transparent 70%);
}
.hero__orb {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.hero__accent-line {
    position: absolute;
    top: 45%;
    left: 0;
    width: 22%;
    height: 5px;
    background: var(--yellow);
    z-index: 0;
    transform-origin: left;
    animation: slideRight 1s ease 0.8s both;
}

.hero__accent-line--thin {
    top: calc(45% + 10px);
    width: 12%;
    height: 2px;
    background: rgba(245, 200, 0, 0.33);
    animation: none;
	z-index: 0;
}

.header-logo-text span {
    color: var(--yellow);
}

.marquee-wrapper {
  overflow: hidden;
  padding: 14px 0;
  white-space: nowrap;
  color: rgb(24, 15, 56);
}
.marquee-track {
  display: inline-flex;
  gap: 48px;
  animation: 25s linear 0s infinite normal none running marquee;
}
.marquee-item {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.marquee-separator {
  margin-left: 12px;
	color: rgb(91, 62, 159);
}

.nosotros__link a{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--purple) !important;
    font-weight: 600 !important;
    font-size: 16px;
    text-decoration: none;
    border-bottom: 2px solid var(--purple);
    padding-bottom: 4px;
}

.pilar-card__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
	padding: 0;
}
.pilar-card__list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.35s;
}
.pilar-card__list-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
    transition: background 0.35s;
}
.stats {
    background: linear-gradient(135deg, #493281 0%, #251358 100%);
    padding: clamp(45px, 8vw, 45px) clamp(20px, 6vw, 80px);
}

body.is-scrolled header .stickermenu{
	background: rgba(14, 9, 24, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(245, 200, 0, 0.12);
}

/* ── 20. Timeline (Nosotros) ── */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 11px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--purple), var(--yellow), var(--red));
}
.timeline__item { position: relative; margin-bottom: 40px; }
.timeline__dot {
  position: absolute;
  left: -28px; top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--yellow);
  border: 3px solid var(--dark);
}
.timeline__year {
  font-family: "Barlow Condensed", Sans-serif;
  font-weight: 900;
  font-size: 28px;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 4px;
}
.timeline__title {
  font-weight: 700;
  font-size: 16px;
  color: var(--dark);
  margin-bottom: 6px;
}
.timeline__desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--gray);
}