/* =============================================================================
   MAIN — Estilos principales de la landing
   Importa tokens.css antes de este archivo.
   Orden: Reset → Base → Background → Cursor → Navbar → Hero →
          Sections → Services → Process → Partners → Portfolio →
          Contact → Footer → Animations
   ============================================================================= */


/* =============================================================================
   RESET & BASE
   ============================================================================= */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Exo 2', sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  cursor: none;
}


/* =============================================================================
   BACKGROUND — Grid animado y orbs
   ============================================================================= */

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
  animation: gridShift 20s linear infinite;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.orb1 {
  width: 600px;
  height: 600px;
  background: rgba(0, 82, 204, 0.12);
  top: -200px;
  right: -100px;
  animation: orbFloat1 15s ease-in-out infinite;
}

.orb2 {
  width: 400px;
  height: 400px;
  background: rgba(0, 212, 255, 0.08);
  bottom: 20%;
  left: -100px;
  animation: orbFloat2 18s ease-in-out infinite;
}

.orb3 {
  width: 300px;
  height: 300px;
  background: rgba(26, 115, 232, 0.1);
  top: 50%;
  left: 50%;
  animation: orbFloat3 12s ease-in-out infinite;
}


/* =============================================================================
   CUSTOM CURSOR
   ============================================================================= */

.cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  background: var(--cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
  mix-blend-mode: screen;
}

.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(0, 212, 255, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.15s ease;
}


/* =============================================================================
   NAVBAR
   ============================================================================= */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(20px);
  background: rgba(10, 15, 30, 0.85);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

nav.scrolled {
  padding: 0.6rem 5%;
  background: rgba(10, 15, 30, 0.97);
  box-shadow: 0 4px 30px rgba(0, 212, 255, 0.08);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo img {
  height: 52px;
  width: auto;
  max-width: 220px;
  display: block;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.nav-logo:hover img {
  opacity: 0.85;
  filter: drop-shadow(0 0 8px var(--cyan));
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--cyan);
  transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--cyan); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--blue));
  color: white !important;
  padding: 0.5rem 1.4rem;
  border-radius: 4px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(0, 82, 204, 0.4);
}

.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  opacity: 0;
  transition: opacity 0.3s;
}

.nav-cta:hover {
  box-shadow: 0 0 35px rgba(0, 212, 255, 0.5);
  transform: translateY(-1px);
}

.nav-cta:hover::before { opacity: 1; }
.nav-cta span { position: relative; z-index: 1; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: none;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cyan);
  transition: all 0.3s ease;
}

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 15, 30, 0.98);
  backdrop-filter: blur(20px);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav-mobile a:hover { color: var(--cyan); }

.nav-mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 5%;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 2rem;
  cursor: none;
  transition: color 0.3s;
}

.nav-mobile-close:hover { color: var(--white); }


/* =============================================================================
   HERO
   ============================================================================= */

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 5% 80px;
  overflow: hidden;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 100px;
  font-size: 0.78rem;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 2rem;
  background: rgba(0, 212, 255, 0.05);
  animation: fadeSlideDown 0.8s ease both;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse 2s infinite;
}

.hero-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  animation: fadeSlideDown 0.8s ease 0.15s both;
}

.hero-title .line1 {
  display: block;
  color: var(--white);
}

.hero-title .line2 {
  display: block;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--cyan));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeSlideDown 0.8s ease 0.15s both, shimmer 4s linear infinite;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  animation: fadeSlideDown 0.8s ease 0.3s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeSlideDown 0.8s ease 0.45s both;
}

/* Botones */
.btn-primary {
  position: relative;
  padding: 0.9rem 2.4rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--blue) 100%);
  color: white;
  text-decoration: none;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 0 30px rgba(0, 82, 204, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(0, 212, 255, 0.4);
}

.btn-primary:hover::before { left: 100%; }

.btn-outline {
  padding: 0.9rem 2.4rem;
  border: 1px solid rgba(0, 212, 255, 0.4);
  color: var(--cyan);
  text-decoration: none;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all 0.3s ease;
  background: rgba(0, 212, 255, 0.03);
}

.btn-outline:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
  transform: translateY(-2px);
}

/* Stats */
.hero-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  margin-top: 4rem;
  flex-wrap: wrap;
  animation: fadeSlideDown 0.8s ease 0.6s both;
}

.stat-item { text-align: center; }

.stat-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 4px;
}

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeSlideDown 0.8s ease 1s both;
}

.scroll-hint span {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  font-family: 'Rajdhani', sans-serif;
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(0, 212, 255, 0.3);
  border-radius: 20px;
  position: relative;
}

.scroll-mouse::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 6px;
  background: var(--cyan);
  border-radius: 2px;
  animation: scrollBounce 2s infinite;
}

/* Partículas */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--cyan);
  border-radius: 50%;
  opacity: 0.6;
  animation: particleFloat linear infinite;
}


/* =============================================================================
   SECTIONS — Base compartida
   ============================================================================= */

section { position: relative; z-index: 1; }

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
  padding: 4px 14px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 100px;
  background: rgba(0, 212, 255, 0.05);
}

.section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-title em {
  font-style: normal;
  color: var(--cyan);
}

.section-desc {
  max-width: 560px;
  margin: 0 auto;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.8;
}


/* =============================================================================
   SERVICIOS
   ============================================================================= */

#servicios {
  padding: 120px 5%;
  background: linear-gradient(180deg, var(--navy) 0%, var(--deep) 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: none;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 212, 255, 0.08);
}

.service-card:hover::before { opacity: 1; }
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.5rem;
  position: relative;
}

.service-icon svg { width: 100%; height: 100%; }

.service-tag {
  display: inline-block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0, 82, 204, 0.15);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.service-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.service-desc {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
  font-weight: 300;
}

.service-list {
  list-style: none;
  margin-top: 1.2rem;
}

.service-list li {
  color: var(--muted);
  font-size: 0.85rem;
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-list li::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--cyan);
  border-radius: 50%;
  flex-shrink: 0;
}


/* =============================================================================
   PROCESO
   ============================================================================= */

#proceso {
  padding: 120px 5%;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 56px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), var(--cyan), var(--border), transparent);
}

.process-step {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.process-step.visible {
  opacity: 1;
  transform: translateY(0);
}

.step-num {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.5rem;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cyan);
  background: var(--navy);
  position: relative;
  transition: all 0.4s ease;
}

.process-step:hover .step-num {
  border-color: var(--cyan);
  background: rgba(0, 212, 255, 0.08);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.step-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.step-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 300;
}


/* =============================================================================
   PARTNERS
   ============================================================================= */

#partners {
  padding: 80px 5%;
  background: var(--deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.partners-label {
  text-align: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.partners-track-wrapper {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
}

.partners-track {
  display: flex;
  gap: 4rem;
  width: max-content;
  animation: slide 20s linear infinite;
}

.partner-item {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.08em;
  transition: color 0.3s;
  opacity: 0.5;
}

.partner-item:hover {
  color: var(--cyan);
  opacity: 1;
}

/* Logo de imagen para partners */
.partner-logo {
  height: 32px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  opacity: 0.55;
  filter: grayscale(1) brightness(1.4);
  transition: opacity 0.3s, filter 0.3s;
}

.partner-item:hover .partner-logo {
  opacity: 1;
  filter: grayscale(0) brightness(1);
}

.partner-dot {
  width: 6px;
  height: 6px;
  background: var(--border);
  border-radius: 50%;
}


/* =============================================================================
   PORTFOLIO
   ============================================================================= */

#portfolio {
  padding: 120px 5%;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
  background: var(--card-bg);
  transition: all 0.4s ease;
  cursor: none;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.portfolio-thumb {
  height: 200px;
  background: linear-gradient(135deg, #0d1628 0%, #1a2540 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.portfolio-thumb svg {
  width: 60px;
  height: 60px;
  opacity: 0.4;
}

.portfolio-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(0, 82, 204, 0.1));
}

.portfolio-visual {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: rgba(0, 212, 255, 0.5);
  letter-spacing: 0.2em;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 30, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay { opacity: 1; }

.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  text-decoration: none;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all 0.3s;
}

.portfolio-link:hover { background: rgba(0, 212, 255, 0.1); }

.portfolio-info { padding: 1.5rem; }

.portfolio-cat {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.portfolio-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.portfolio-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 300;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 1rem;
}

.tag {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid rgba(0, 212, 255, 0.15);
  color: var(--muted);
  background: rgba(0, 212, 255, 0.03);
}


/* =============================================================================
   CONTACTO
   ============================================================================= */

#contacto {
  padding: 120px 5%;
  background: var(--deep);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.contact-info h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.contact-info h3 em {
  font-style: normal;
  color: var(--cyan);
}

.contact-info p {
  color: var(--muted);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 2rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card-bg);
  transition: all 0.3s ease;
}

.contact-item:hover {
  border-color: rgba(0, 212, 255, 0.3);
  background: rgba(0, 212, 255, 0.03);
}

.contact-item-icon {
  width: 36px;
  height: 36px;
  background: rgba(0, 82, 204, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-text {
  font-size: 0.9rem;
  color: var(--white);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
}

.contact-item-sub {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 2px;
}

/* Formulario */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.8rem 1rem;
  color: var(--white);
  font-family: 'Exo 2', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.3s ease;
  cursor: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(139, 160, 192, 0.4);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(0, 212, 255, 0.4);
  background: rgba(0, 212, 255, 0.04);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.06);
}

.form-group select option { background: var(--deep); }

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  background: linear-gradient(135deg, var(--accent), var(--blue));
  border: none;
  color: white;
  padding: 1rem;
  border-radius: 6px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 0 30px rgba(0, 82, 204, 0.4);
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(0, 212, 255, 0.3);
}

.form-submit::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.form-submit:hover::before {
  width: 400px;
  height: 400px;
}

.form-submit span { position: relative; z-index: 1; }


/* =============================================================================
   FOOTER
   ============================================================================= */

footer {
  padding: 60px 5% 30px;
  border-top: 1px solid var(--border);
  background: var(--navy);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.7;
  font-weight: 300;
  margin-top: 1rem;
  max-width: 260px;
}

.footer-col h4 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.2rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col ul li a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s;
}

.footer-col ul li a:hover { color: var(--cyan); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-copy a {
  color: var(--cyan);
  text-decoration: none;
}

.social-links { display: flex; gap: 12px; }

.social-link {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 212, 255, 0.08);
}

.social-link svg { width: 16px; height: 16px; }


/* =============================================================================
   ANIMATIONS & REVEAL
   ============================================================================= */

@keyframes gridShift {
  0%   { background-position: 0 0, 0 0; }
  100% { background-position: 60px 60px, 60px 60px; }
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(-60px, 80px) scale(1.1); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(80px, -60px) scale(1.15); }
}

@keyframes orbFloat3 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%       { transform: translate(-50%, -50%) scale(1.2); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.5); }
}

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  80%       { transform: translateX(-50%) translateY(12px); opacity: 0; }
}

@keyframes particleFloat {
  0%   { transform: translateY(100vh) translateX(0); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.3; }
  100% { transform: translateY(-10vh) translateX(30px); opacity: 0; }
}

@keyframes slide {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }


/* =============================================================================
   PROBLEMAS
   ============================================================================= */

#problemas {
  padding: 120px 5%;
  background: linear-gradient(180deg, var(--deep) 0%, var(--navy) 100%);
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.problem-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: border-color 0.3s, background 0.3s;
}

.problem-card:hover {
  border-color: rgba(0, 212, 255, 0.3);
  background: rgba(0, 212, 255, 0.04);
}

.problem-icon {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  display: block;
}

.problem-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.problem-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 300;
}

.problems-solution {
  max-width: 1200px;
  margin: 3rem auto 0;
  text-align: center;
  padding: 2rem;
  border: 1px solid rgba(26, 115, 232, 0.3);
  border-radius: 12px;
  background: rgba(26, 115, 232, 0.05);
}

.problems-solution p {
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
  font-weight: 300;
}


/* =============================================================================
   STACK TECNOLÓGICO
   ============================================================================= */

#stack {
  padding: 80px 5%;
  background: var(--deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stack-inner { text-align: center; }

.stack-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 2rem;
  display: block;
}

.stack-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  align-items: center;
}

.stack-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.stack-item:hover { opacity: 1; }

.stack-item-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 1.4rem; /* fallback for any remaining emoji */
  transition: border-color 0.3s, box-shadow 0.3s;
}

.stack-item:hover .stack-item-icon {
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.1);
}

.stack-item-icon svg {
  width: 30px;
  height: 30px;
}

.stack-item-name {
  font-size: 0.7rem;
  color: var(--muted);
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.08em;
  font-weight: 600;
}


/* =============================================================================
   INDUSTRIAS
   ============================================================================= */

#industrias {
  padding: 120px 5%;
  background: linear-gradient(180deg, var(--navy) 0%, var(--deep) 100%);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.industry-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  transition: border-color 0.3s, transform 0.3s;
}

.industry-card:hover {
  border-color: rgba(0, 212, 255, 0.35);
  transform: translateY(-3px);
}

.industry-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.industry-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.industry-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 300;
}


/* =============================================================================
   FAQ
   ============================================================================= */

#faq {
  padding: 120px 5%;
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--white);
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 1.25rem 0;
  cursor: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  text-align: left;
  transition: color 0.2s;
}

.faq-question:hover { color: var(--cyan); }

.faq-arrow {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(0, 212, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: transform 0.3s, background 0.3s;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
  background: rgba(0, 212, 255, 0.1);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-answer { max-height: 300px; }

.faq-answer p {
  color: var(--muted);
  line-height: 1.7;
  padding-bottom: 1.25rem;
  font-size: 0.9375rem;
  font-weight: 300;
}


/* =============================================================================
   WHATSAPP FLOAT
   ============================================================================= */

.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #25d366;
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  text-decoration: none;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.wa-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

.wa-float svg { flex-shrink: 0; }


/* =============================================================================
   PROCESO — CTA block (reemplaza inline styles)
   ============================================================================= */

.process-cta {
  text-align: center;
  margin-top: 3rem;
}

.process-cta-text {
  color: var(--muted);
  margin-bottom: 1.5rem;
}


/* =============================================================================
   PORTFOLIO — card theme classes (reemplazan inline background styles)
   ============================================================================= */

.portfolio-thumb--disney {
  background: linear-gradient(135deg, #0d1628 0%, #1a2440 40%, #0a1220 100%);
}

.portfolio-thumb--estetica {
  background: linear-gradient(135deg, #1a0a2e 0%, #2d1b4e 50%, #0d1628 100%);
}

.portfolio-thumb--artemma {
  background: linear-gradient(135deg, #1a0f0a 0%, #2e1a0e 50%, #0d1628 100%);
}

/* ── Disney brand visual ─────────────────────────────────────────────────── */

.portfolio-visual--brand {
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.brand-castle {
  width: 100px;
  height: 80px;
  flex-shrink: 0;
}

.brand-logotype {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  line-height: 1.1;
}

.brand-logotype-main {
  font-family: Rajdhani, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 210, 70, 0.95);
  text-transform: uppercase;
}

.brand-logotype-sub {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.28em;
  color: rgba(255, 210, 70, 0.65);
  text-transform: uppercase;
}

/* ── Portfolio visual column layout ─────────────────────────────────────── */

.portfolio-visual--col {
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

/* ── SVG icon inside visual (replaces inline opacity) ───────────────────── */

.portfolio-svg-icon {
  opacity: 0.85;
}

/* ── Visual label (replaces inline font/color styles on <span>) ─────────── */

.portfolio-visual-label {
  font-family: Rajdhani, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.85;
}

.portfolio-visual-label--gold {
  color: #c9a96e;
}

.portfolio-visual-label--terracotta {
  color: #d4845a;
}

/* =============================================================================
   FOOTER — logo inline-flex (reemplaza style="display:inline-flex")
   ============================================================================= */

.footer-logo {
  display: inline-flex;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 36px;
  width: auto;
  display: block;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.footer-logo:hover img {
  opacity: 1;
}

/* =============================================================================
   PROCESO — CTA block (reemplaza inline styles)
   ============================================================================= */

.process-cta {
  text-align: center;
  margin-top: 3rem;
}

.process-cta-text {
  color: var(--muted, rgba(255,255,255,0.5));
  margin-bottom: 1.5rem;
}


/* =============================================================================
   CONTACT — email link (reemplaza inline style="color:inherit;text-decoration:none")
   ============================================================================= */

.contact-email-link {
  color: inherit;
  text-decoration: none;
}

.contact-email-link:hover {
  text-decoration: underline;
  opacity: 0.85;
}


/* =============================================================================
   PORTFOLIO — Con Magui logo placeholder
   (activar cuando se tenga la imagen real)
   ============================================================================= */

.brand-logo-img {
  max-width: 200px;
  max-height: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  /* Sin filter: el logo tiene colores propios */
}


/* =============================================================================
   PROBLEMS — SVG icons (reemplazan .problem-icon emoji)
   ============================================================================= */

.problem-svg {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: block;
  margin-bottom: 0.75rem;
}

/* =============================================================================
   INDUSTRIES — SVG icons (reemplazan .industry-icon emoji)
   ============================================================================= */

.industry-svg {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: block;
  margin-bottom: 0.5rem;
}

/* =============================================================================
   CON MAGUI — refined identity container
   ============================================================================= */

.disney-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.disney-mark {
  width: 100px;
  height: 75px;
  flex-shrink: 0;
}

.disney-wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  line-height: 1.1;
}

.disney-wordmark-line1 {
  font-family: Rajdhani, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 210, 70, 0.95);
  text-transform: uppercase;
}

.disney-wordmark-line2 {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  color: rgba(255, 210, 70, 0.6);
  text-transform: uppercase;
}
