/* ═══════════════════════════════════════════════════════════════
   ARTIKLABS — Main Stylesheet
   ═══════════════════════════════════════════════════════════════ */

/* ─── Custom Properties ─── */
:root {
  --bg-1: #03030A;
  --bg-2: #07071280;
  --bg-3: #0C0C1E;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.15);

  --accent-purple: #8B5CF6;
  --accent-cyan: #06B6D4;
  --accent-gradient: linear-gradient(135deg, #8B5CF6 0%, #06B6D4 100%);
  --accent-gradient-animated: linear-gradient(135deg, #8B5CF6, #06B6D4, #8B5CF6);
  --glow-purple: rgba(139, 92, 246, 0.25);
  --glow-cyan: rgba(6, 182, 212, 0.25);

  --text-1: #FFFFFF;
  --text-2: #94A3B8;
  --text-3: #475569;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --nav-h: 72px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-1);
  background-color: var(--bg-1);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea { font: inherit; }
ul { list-style: none; }

/* ─── Container ─── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) { .container { padding: 0 3rem; } }

/* ─── Section Base ─── */
.section { padding: 5rem 0; }
@media (min-width: 768px) { .section { padding: 8rem 0; } }

/* ─── Section Header ─── */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-purple);
  margin-bottom: 1rem;
}
.label-dot, .badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-gradient);
  flex-shrink: 0;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-2);
  line-height: 1.7;
}

/* ─── Gradient Text ─── */
.gradient-text {
  background: var(--accent-gradient-animated);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientFlow 5s linear infinite;
}
@keyframes gradientFlow {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  padding: 0.625rem 1.375rem;
  transition: all 0.25s var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.25s;
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 0 0 0 var(--glow-purple);
}
.btn-primary::before { background: rgba(255,255,255,0.1); }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--glow-purple);
}

.btn-ghost {
  color: var(--text-1);
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(8px);
}
.btn-ghost::before { background: rgba(255,255,255,0.05); }
.btn-ghost:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: #03030A;
  font-weight: 700;
}
.btn-white::before { background: rgba(0,0,0,0.05); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255,255,255,0.2); }

.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-large { padding: 0.875rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; border-radius: var(--radius-lg); }

.btn-icon { width: 16px; height: 16px; flex-shrink: 0; }


/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.4s var(--ease-in-out), border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(3, 3, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}
.nav-container {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  gap: 2rem;
}
@media (min-width: 768px) { .nav-container { padding: 0 3rem; } }

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-mark {
  width: 28px;
  height: 28px;
  background: var(--accent-gradient);
  border-radius: 6px;
  position: relative;
}
.logo-mark::after {
  content: '';
  position: absolute;
  inset: 5px;
  background: var(--bg-1);
  border-radius: 3px;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* Nav Links */
.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
}
@media (min-width: 900px) { .nav-links { display: flex; } }

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-full);
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--text-1); background: var(--surface); }

/* Nav Actions */
.nav-actions {
  display: none;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
@media (min-width: 900px) { .nav-actions { display: flex; } }

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 3px;
}
.lang-btn {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-3);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
  transition: all 0.2s;
}
.lang-btn.active, .lang-btn:hover {
  background: var(--accent-purple);
  color: #fff;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 8px;
}
@media (min-width: 900px) { .hamburger { display: none; } }

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-1);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(3, 3, 10, 0.98);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}
.mobile-nav-links { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-2);
  padding: 0.5rem 1rem;
  transition: color 0.2s;
}
.mobile-nav-link:hover { color: var(--text-1); }
.mobile-lang-switcher {
  display: flex;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 4px;
}


/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: var(--nav-h) 1.5rem 4rem;
}

/* Background */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: orbFloat 10s ease-in-out infinite;
}
.orb-1 {
  width: min(700px, 100vw);
  height: min(700px, 100vw);
  background: radial-gradient(circle, rgba(139, 92, 246, 0.35) 0%, transparent 65%);
  top: -15%;
  left: -10%;
}
.orb-2 {
  width: min(600px, 90vw);
  height: min(600px, 90vw);
  background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, transparent 65%);
  bottom: -10%;
  right: -5%;
  animation-delay: -4s;
}
.orb-3 {
  width: min(400px, 70vw);
  height: min(400px, 70vw);
  background: radial-gradient(circle, rgba(79, 70, 229, 0.2) 0%, transparent 65%);
  top: 40%;
  left: 40%;
  transform: translate(-50%, -50%);
  animation-delay: -7s;
}
@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-40px) scale(1.04); }
}

/* Hero background image */
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.22;
  filter: saturate(0.7) brightness(0.9);
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(3,3,10,0.55) 0%,
      rgba(3,3,10,0.15) 35%,
      rgba(3,3,10,0.6)  75%,
      var(--bg-1)       100%),
    linear-gradient(135deg,
      rgba(139,92,246,0.12) 0%,
      rgba(6,182,212,0.06)  100%);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at center, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at center, black 0%, transparent 75%);
}

/* Content */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  width: 100%;
  animation: heroReveal 0.8s var(--ease-out) both;
}
@keyframes heroReveal {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  padding: 0.375rem 0.875rem;
  margin-bottom: 2rem;
  animation: heroReveal 0.8s 0.1s var(--ease-out) both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 9vw, 6.5rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  animation: heroReveal 0.8s 0.2s var(--ease-out) both;
}
.hero-line { display: block; }

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.1875rem);
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
  animation: heroReveal 0.8s 0.35s var(--ease-out) both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 3.5rem;
  animation: heroReveal 0.8s 0.45s var(--ease-out) both;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  animation: heroReveal 0.8s 0.55s var(--ease-out) both;
}
.stat { text-align: center; }
.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}
.stat-label {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-3);
  margin-top: 2px;
}
.stat-sep {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
}
.scroll-track {
  width: 1.5px;
  height: 52px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}
.scroll-thumb {
  width: 100%;
  height: 50%;
  background: linear-gradient(to bottom, var(--accent-purple), var(--accent-cyan));
  border-radius: 2px;
  animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown {
  0%   { transform: translateY(-100%); opacity: 0; }
  30%  { opacity: 1; }
  70%  { opacity: 1; }
  100% { transform: translateY(200%); opacity: 0; }
}


/* ═══════════════════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════════════════ */
.services-section { background: var(--bg-3); }

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px var(--border-hover);
}
.service-card:hover::before { opacity: 1; }

.service-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent-purple);
  transition: background 0.3s, border-color 0.3s;
}
.service-card:hover .service-icon-wrap {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.3);
}
.service-icon-wrap svg { width: 20px; height: 20px; }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.625rem;
  letter-spacing: -0.01em;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-3);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.2rem 0.625rem;
}


/* ═══════════════════════════════════════════════════════════════
   WORK / PORTFOLIO
   ═══════════════════════════════════════════════════════════════ */
.work-section { background: var(--bg-1); }

.work-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.project-card {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--surface);
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
@media (min-width: 768px) {
  .project-card { grid-template-columns: 1fr 1fr; }
  .project-card.reverse { direction: rtl; }
  .project-card.reverse > * { direction: ltr; }
}
.project-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

/* Project Visual — imagen real a pantalla completa */
.project-visual {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background: #03030A;
}
@media (min-width: 768px) { .project-visual { min-height: 420px; } }

/* Gradiente de fallback mientras carga la imagen */
.project-visual-bg {
  position: absolute;
  inset: 0;
}
.project-navitrack .project-visual-bg {
  background:
    radial-gradient(ellipse 60% 60% at 70% 30%, rgba(0,212,255,0.18) 0%, transparent 60%),
    linear-gradient(135deg, #000814 0%, #001D3D 50%, #003566 100%);
}
.project-club .project-visual-bg {
  background:
    radial-gradient(ellipse 70% 50% at 30% 40%, rgba(77,187,255,0.18) 0%, transparent 60%),
    linear-gradient(160deg, #0F1E33 0%, #1A3A4A 40%, #2C5364 100%);
}

/* Imagen real del proyecto */
.project-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.7s var(--ease-out), opacity 0.4s;
  opacity: 0.88;
  display: block;
}
.project-card:hover .project-img { transform: scale(1.04); opacity: 1; }

/* Fade inferior para que el borde no sea duro */
.project-img-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(3,3,10,0.6) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* Chrome del navegador (barra superior) */
.project-img-chrome {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: rgba(8,8,18,0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  z-index: 2;
}
.browser-dots { display: flex; gap: 5px; }
.browser-dots span { width: 9px; height: 9px; border-radius: 50%; }
.browser-dots span:nth-child(1) { background: #FF5F57; }
.browser-dots span:nth-child(2) { background: #FEBC2E; }
.browser-dots span:nth-child(3) { background: #28C840; }
.browser-url {
  flex: 1;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.35);
  text-align: center;
  letter-spacing: 0.03em;
  font-family: var(--font-body);
}

/* Project Info */
.project-info {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.project-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.project-year {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0.06em;
}
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.project-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.375rem;
}
.project-tagline {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
}
.project-desc {
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-1);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.5rem 1.125rem;
  transition: all 0.25s;
  width: fit-content;
}
.project-link svg { width: 14px; height: 14px; transition: transform 0.25s; }
.project-link:hover {
  border-color: var(--accent-purple);
  color: var(--accent-purple);
  background: rgba(139, 92, 246, 0.08);
}
.project-link:hover svg { transform: translate(3px, -3px); }


/* Work mini grid — proyectos secundarios */
.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
@media (min-width: 580px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }

.project-mini-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--surface);
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.project-mini-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}
.mini-visual {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #03030A;
}
.mini-visual-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0C0C1E 0%, #1A1A2E 100%);
}
.mini-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0.88;
  transition: transform 0.7s var(--ease-out), opacity 0.4s;
}
.project-mini-card:hover .mini-img { transform: scale(1.05); opacity: 1; }
.mini-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 45%;
  background: linear-gradient(to top, rgba(3,3,10,0.65) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}
.mini-chrome {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background: rgba(8,8,18,0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  z-index: 2;
}
.mini-info { padding: 1.375rem 1.5rem; }
.mini-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.625rem;
}
.mini-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}
.mini-tagline {
  font-size: 0.8125rem;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════════════ */
.about-section { background: var(--bg-3); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: start;
}
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; } }

.about-left .section-title { text-align: left; }
.about-lead {
  font-size: 1.125rem;
  color: var(--text-1);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-weight: 400;
}
.about-body { font-size: 0.9375rem; color: var(--text-2); line-height: 1.75; }

/* About photo */
.about-photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  min-height: 320px;
}
@media (min-width: 900px) { .about-photo { min-height: 480px; } }

.about-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
}
.about-img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease-out);
}
.about-photo:hover .about-img { transform: scale(1.04); }
.about-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139,92,246,0.15) 0%, rgba(6,182,212,0.08) 60%, transparent 100%);
  border-radius: inherit;
  pointer-events: none;
}

/* Values row (full-width, 3 cols below the about grid) */
.about-values {
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid var(--border);
}
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px)  { .values-grid { grid-template-columns: repeat(3, 1fr); } }

.value-card {
  display: flex;
  gap: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.375rem;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.value-card:hover { border-color: var(--border-hover); transform: translateX(4px); }
.value-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-purple);
}
.value-icon-wrap svg { width: 18px; height: 18px; }
.value-content h4 {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.value-content p { font-size: 0.875rem; color: var(--text-2); line-height: 1.6; }


/* ═══════════════════════════════════════════════════════════════
   PROCESS
   ═══════════════════════════════════════════════════════════════ */
.process-section { background: var(--bg-1); }

.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  position: relative;
}
@media (min-width: 640px) { .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .process-steps { grid-template-columns: repeat(4, 1fr); }
}

.process-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.process-step::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  right: 0; height: 2px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.process-step:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.process-step:hover::after { transform: scaleX(1); }

.step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 1.25rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.5;
  transition: opacity 0.3s;
}
.process-step:hover .step-number { opacity: 1; }
.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.625rem;
}
.process-step p { font-size: 0.875rem; color: var(--text-2); line-height: 1.65; }


/* ═══════════════════════════════════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════════════════════════════════ */
.cta-banner {
  position: relative;
  padding: 7rem 1.5rem;
  text-align: center;
  overflow: hidden;
  background: var(--bg-3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-bg { position: absolute; inset: 0; pointer-events: none; }
/* CTA background photo */
.cta-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.18;
  filter: saturate(0.5) brightness(0.7);
}
.cta-bg-dark {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(139,92,246,0.25) 0%, rgba(6,182,212,0.12) 100%);
}
.orb-cta-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, transparent 60%);
  top: -200px; left: -100px;
  animation: orbFloat 8s ease-in-out infinite;
}
.orb-cta-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 60%);
  bottom: -150px; right: -80px;
  animation: orbFloat 10s 3s ease-in-out infinite;
}
.cta-content { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.1;
}
.cta-subtitle {
  font-size: 1.125rem;
  color: var(--text-2);
  margin-bottom: 2.5rem;
}


/* ═══════════════════════════════════════════════════════════════
   CONTACT — centrado, solo email
   ═══════════════════════════════════════════════════════════════ */
.contact-section { background: var(--bg-1); }

.contact-centered {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.contact-centered .section-title { margin-bottom: 1rem; }
.contact-subtitle {
  font-size: 1.0625rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}
.contact-email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  font-weight: 600;
  color: var(--text-1);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.875rem 2rem;
  transition: all 0.3s var(--ease-out);
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}
.contact-email-link svg {
  width: 22px; height: 22px;
  color: var(--accent-purple);
  flex-shrink: 0;
  transition: color 0.3s;
}
.contact-email-link:hover {
  border-color: var(--accent-purple);
  background: rgba(139, 92, 246, 0.08);
  color: var(--accent-purple);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px var(--glow-purple);
}
.contact-email-link:hover svg { color: var(--accent-purple); }
.contact-location {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-3);
}
.contact-location svg { width: 16px; height: 16px; color: var(--text-3); }


/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--bg-3);
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}
.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 640px) {
  .footer-grid { flex-direction: row; align-items: flex-start; justify-content: space-between; }
}
.footer-logo { margin-bottom: 0.75rem; }
.footer-tagline { font-size: 0.875rem; color: var(--text-3); max-width: 240px; }
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
@media (min-width: 640px) { .footer-nav { text-align: right; } }
.footer-nav a {
  font-size: 0.875rem;
  color: var(--text-2);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--text-1); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-3);
}
.footer-langs { display: flex; gap: 4px; }


/* ═══════════════════════════════════════════════════════════════
   REVEAL ANIMATIONS (Intersection Observer)
   ═══════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }


/* ═══════════════════════════════════════════════════════════════
   UTILITY
   ═══════════════════════════════════════════════════════════════ */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--accent-purple);
  outline-offset: 3px;
  border-radius: 4px;
}
