/* ── Variables ───────────────────────────────────────── */
:root {
  --bg-deep:      #150820;
  --bg-card:      rgba(255,255,255,0.03);
  --bg-glass:     rgba(21,8,32,0.92);
  --cyan:         #06C8E8;
  --cyan-dim:     rgba(6,200,232,0.15);
  --fire:         #F97316;
  --purple:       #D946EF;
  --text-primary: #F5F0FF;
  --text-sec:     rgba(210,190,235,0.65);
  --border:       rgba(255,255,255,0.07);
  --radius:       10px;
  --max-w:        1100px;
}

/* ── Reset ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  background-image:
    repeating-linear-gradient(rgba(217,70,239,0.025) 0px, rgba(217,70,239,0.025) 1px, transparent 1px, transparent 40px),
    repeating-linear-gradient(90deg, rgba(6,200,232,0.025) 0px, rgba(6,200,232,0.025) 1px, transparent 1px, transparent 40px);
}

/* ── Typography ──────────────────────────────────────── */
h1, h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
}
h3 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  color: var(--text-primary);
}

/* ── Layout helpers ──────────────────────────────────── */
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 100px 40px;
}
.section-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 8px;
}
.section-title.centered { text-align: center; }
.section-divider {
  width: 48px;
  height: 2px;
  background: var(--fire);
  margin: 20px 0 32px;
}
.section-divider.centered { margin-left: auto; margin-right: auto; }

/* ── Scroll reveal ───────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal][data-delay="1"] { transition-delay: 0.1s; }
[data-reveal][data-delay="2"] { transition-delay: 0.2s; }
[data-reveal][data-delay="3"] { transition-delay: 0.3s; }
[data-reveal][data-delay="4"] { transition-delay: 0.4s; }
[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* ── Navigation ──────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 68px;
  background: transparent;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
.navbar.scrolled {
  background: var(--bg-glass);
  border-bottom-color: var(--border);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-icon {
  height: 80px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  color: var(--text-primary);
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}
.nav-links a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  color: var(--text-sec);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--cyan); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}
.lang-btn {
  cursor: pointer;
  color: var(--text-sec);
  transition: color 0.2s;
  user-select: none;
}
.lang-btn.active,
.lang-btn:hover { color: var(--cyan); }
.lang-sep { color: var(--border); }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg-deep);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.nav-overlay.open { display: flex; }
.overlay-close {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
}
.overlay-links {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.overlay-links a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 0.2em;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s;
}
.overlay-links a:hover { color: var(--cyan); }
.overlay-lang {
  display: flex;
  gap: 12px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  color: var(--text-sec);
  cursor: pointer;
}
.overlay-lang span:hover { color: var(--cyan); }

/* ── Hero ────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
/* Dark radial lens behind text — particles still show at edges */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
    ellipse 55% 70% at 50% 50%,
    rgba(21,8,32,0.75) 0%,
    rgba(21,8,32,0.35) 55%,
    transparent 100%
  );
  pointer-events: none;
}
#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
}

.hero-eyebrow {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--cyan);
  text-shadow: 0 1px 12px rgba(0,0,0,0.9);
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.3s;
}
.hero-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(4rem, 10vw, 8rem);
  letter-spacing: 0.18em;
  color: var(--text-primary);
  line-height: 1;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.6s;
  text-shadow: 0 2px 40px rgba(0,0,0,0.95), 0 0 80px rgba(217,70,239,0.35), 0 0 140px rgba(6,200,232,0.12);
}
.hero-sub {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.3em;
  color: var(--fire);
  text-shadow: 0 1px 12px rgba(0,0,0,0.9);
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.9s;
}
.btn-discover {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 12px 28px;
  border: 1px solid var(--cyan);
  border-radius: 30px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: var(--cyan);
  text-decoration: none;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 1.1s;
  transition: background 0.2s, color 0.2s;
}
.btn-discover:hover {
  background: var(--cyan);
  color: var(--bg-deep);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* ── About / Qué es ──────────────────────────────────── */
.about-inner { max-width: 860px; }
.about-body {
  color: var(--text-sec);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 40px;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 8px;
}
.pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--text-sec);
  text-align: center;
  transition: border-color 0.25s, transform 0.25s;
  cursor: pointer;
}
.pillar:hover {
  border-color: var(--cyan-dim);
  transform: translateY(-3px);
  color: var(--text-primary);
}

/* ── Services ─────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 16px;
}
.service-card {
  position: relative;
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  opacity: 0;
  transition: opacity 0.25s;
}
.service-card:hover {
  border-color: var(--cyan-dim);
  transform: translateY(-4px);
  box-shadow: 0 0 28px rgba(6,200,232,0.08);
}
.service-card:hover::after { opacity: 1; }
.service-icon { margin-bottom: 20px; }
.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-sec);
  line-height: 1.75;
}

/* ── Founder ─────────────────────────────────────────── */
.founder { background: rgba(217,70,239,0.015); }
.founder-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.founder-text p {
  color: var(--text-sec);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 32px;
}
.founder-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.founder-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.stat-val {
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.stat-num {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  line-height: 1;
  color: var(--cyan);
}
.stat-plus {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--cyan);
}
.stat-icon {
  font-size: 2.4rem;
  line-height: 1;
}
.stat-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  color: var(--text-sec);
  margin-top: 4px;
  letter-spacing: 0.02em;
}
.founder-press { padding-top: 48px; }
.press-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--text-sec);
  margin-bottom: 20px;
}
.press-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.press-badge {
  padding: 8px 18px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 30px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  transition: border-color 0.2s, color 0.2s;
  cursor: default;
}
.press-badge:hover {
  border-color: var(--purple);
  color: var(--purple);
}

/* ── Group ───────────────────────────────────────────── */
.group-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 16px;
}
.company-card {
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.25s;
}
.company-card:hover { border-color: var(--cyan-dim); }
.company-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.company-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  color: var(--text-primary);
}
.company-domain {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: var(--cyan);
  letter-spacing: 0.05em;
}
.company-desc {
  font-size: 0.9rem;
  color: var(--text-sec);
  line-height: 1.7;
  flex: 1;
}
.badge {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  padding: 3px 12px;
  border-radius: 20px;
}
.badge-live  { background: rgba(0,255,100,0.1);  color: #44FF88; border: 1px solid rgba(0,255,100,0.25); }
.badge-soon  { background: rgba(255,180,0,0.1);  color: #FFB030; border: 1px solid rgba(255,180,0,0.25); }
.company-link {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--cyan);
  text-decoration: none;
  transition: opacity 0.2s;
  align-self: flex-start;
}
.company-link:hover { opacity: 0.75; }
.company-link.muted { color: var(--text-sec); cursor: default; }

/* ── Contact ─────────────────────────────────────────── */
.contact-inner { max-width: 640px; text-align: center; }
.contact-intro {
  color: var(--text-sec);
  margin-bottom: 40px;
  font-size: 1rem;
  line-height: 1.7;
}
.contact-form { text-align: left; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  position: relative;
  margin-bottom: 20px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 18px 16px 8px;
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--cyan); }
.form-group label {
  position: absolute;
  top: 14px;
  left: 16px;
  font-size: 0.85rem;
  color: var(--text-sec);
  pointer-events: none;
  transition: top 0.2s, font-size 0.2s, color 0.2s;
}
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: 5px;
  font-size: 0.7rem;
  color: var(--cyan);
}
.field-error {
  display: block;
  font-size: 0.75rem;
  color: #FF6060;
  margin-top: 4px;
  min-height: 16px;
}
.btn-submit {
  width: 100%;
  padding: 16px;
  background: transparent;
  border: 1px solid var(--cyan);
  border-radius: 6px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: var(--cyan);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  margin-top: 8px;
}
.btn-submit:hover:not(:disabled) {
  background: var(--cyan);
  color: var(--bg-deep);
}
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.form-error {
  text-align: center;
  color: #FF6060;
  font-size: 0.85rem;
  margin-top: 12px;
  min-height: 20px;
}
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 60px 20px;
  text-align: center;
}
.form-success p {
  color: var(--cyan);
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 400;
}

/* ── Footer ──────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 40px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-brand {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  color: var(--text-primary);
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--text-sec);
}
.footer-link {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--text-sec);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--cyan); }

/* ── Responsive — 768px ─────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .navbar { padding: 0 20px; height: 60px; }
  .nav-logo-img { height: 44px; }

  .hero { height: 60vh; min-height: 400px; }
  .hero-logo { font-size: 3rem; }
  .hero-tagline { font-size: 1rem; }

  .section-inner { padding: 64px 20px; }

  .pillars { grid-template-columns: repeat(2, 1fr); }

  .services-grid { grid-template-columns: 1fr; }

  .founder-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .founder-press { padding-top: 0; }
  .founder-stats { gap: 24px; }

  .group-grid { grid-template-columns: 1fr; }

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

  .footer-inner { flex-direction: column; text-align: center; }
}

/* ── Press Photos ────────────────────────────────────── */
.press-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 4px;
}
.press-photo-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16/9;
  cursor: default;
}
.press-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: grayscale(40%) contrast(1.05) brightness(0.85);
  transition: filter 0.4s ease, transform 0.4s ease;
}
.press-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(217,70,239,0.25) 0%,
    rgba(6,200,232,0.12) 60%,
    rgba(21,8,32,0.6) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 12px 14px;
  transition: opacity 0.4s ease;
}
.press-photo-source {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.85);
}
.press-photo-card:hover img {
  filter: grayscale(0%) contrast(1.05) brightness(1);
  transform: scale(1.03);
}
.press-photo-card:hover .press-photo-overlay {
  background: linear-gradient(
    160deg,
    rgba(217,70,239,0.08) 0%,
    rgba(6,200,232,0.05) 60%,
    rgba(21,8,32,0.35) 100%
  );
}
.press-photo-card:hover {
  border-color: rgba(217,70,239,0.35);
  box-shadow: 0 0 20px rgba(217,70,239,0.12);
}

/* ── Responsive — 480px ─────────────────────────────── */
@media (max-width: 480px) {
  .pillars { grid-template-columns: 1fr 1fr; }
  .founder-stats { flex-direction: column; gap: 20px; }
}
