/* ═══════════════════════════════════════════
   ORCANET — styles.css
   Light Glass Premium System
═══════════════════════════════════════════ */

/* ── REDUCED MOTION ─────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── CUSTOM PROPERTIES ─────────────────────── */
:root {
  --blue-electric:  #4A9EF5;
  --blue-deep:      #2D5FC4;
  --blue-navy:      #1a2d5a;
  --lavender:       #A78BFA;
  --white:          #FFFFFF;
  --bg-base:        #F5F5F7;
  --bg-alt:         rgba(74,158,245,0.04);
  --glass-bg:       rgba(255,255,255,0.60);
  --glass-border:   rgba(255,255,255,0.85);
  --glass-blur:     blur(24px) saturate(180%);
  --glass-shadow:   0 8px 32px rgba(45,95,196,0.10), inset 0 1px 0 rgba(255,255,255,0.90);
  --text-title:     #1a1a2e;
  --text-body:      #3a3a4a;
  --text-muted:     #6e6e8a;
  --font-display:   'Plus Jakarta Sans', sans-serif;
  --font-body:      'Plus Jakarta Sans', sans-serif;
  --section-py:     clamp(72px,9vw,128px);
  --container-max:  1200px;
  --container-px:   clamp(20px,5vw,60px);
  --ease-out:       cubic-bezier(0.16,1,0.3,1);
  --ease-elastic:    cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth:     cubic-bezier(0.16, 0.8,  0.3,  1);
  --duration-fast:   0.2s;
  --duration-normal: 0.4s;
  --duration-slow:   0.65s;
  --stagger-step:    0.08s;
}

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

/* ── UTILITIES ──────────────────────────────── */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-px); }

.text-gradient {
  background: linear-gradient(135deg, var(--blue-electric), var(--lavender));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── GLASS CARD ─────────────────────────────── */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-bottom-color: rgba(255,255,255,0.50);
  box-shadow: var(--glass-shadow);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}
.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.9) 40%, rgba(255,255,255,0.9) 60%, transparent);
  pointer-events: none;
}


/* ── BUTTONS ────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 12px;
  font-family: var(--font-body); font-weight: 500; font-size: 0.9375rem;
  letter-spacing: -0.01em; transition: all 0.3s var(--ease-out); white-space: nowrap;
  touch-action: manipulation;
}
.btn--lg { padding: 15px 30px; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }

.btn--primary {
  background: var(--blue-deep); color: var(--white);
  box-shadow: 0 4px 16px rgba(45,95,196,0.28);
}
.btn--primary:hover { background: #3570e0; box-shadow: 0 8px 28px rgba(45,95,196,0.38); transform: translateY(-1px); }

.btn--ghost {
  background: transparent; color: var(--blue-deep);
  border: 1.5px solid var(--blue-electric);
}
.btn--ghost:hover { background: rgba(74,158,245,0.06); transform: translateY(-1px); }

.btn:active:not(:disabled) {
  transform: scale(0.96);
  transition-duration: 0.08s;
}

/* Focus visible — accesibilidad teclado */
.btn:focus-visible,
.nav__link:focus-visible,
.footer__link:focus-visible,
.footer__social-link:focus-visible,
.contact__alt-link:focus-visible {
  outline: 2px solid var(--blue-electric);
  outline-offset: 3px;
  border-radius: 8px;
}
.form-input:focus-visible {
  outline: none; /* ya tiene box-shadow de focus */
}


/* ── SECTION COMMON ─────────────────────────── */
.section { padding: var(--section-py) 0; }

/* Offset para el navbar fijo al navegar por anclas */
#servicios, #proyectos, #diferenciadores, #pricing, #nosotros, #contacto {
  scroll-margin-top: 72px;
}

.section__header { text-align: center; max-width: 640px; margin: 0 auto clamp(48px,6vw,80px); }

.section__eyebrow {
  font-family: var(--font-body); font-size: 0.8125rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-electric); margin-bottom: 12px;
}
.section__title {
  font-family: var(--font-display); font-size: clamp(2rem,4vw,3rem);
  font-weight: 800; color: var(--text-title); line-height: 1.1;
  letter-spacing: -0.02em; margin-bottom: 16px;
}
.section__sub { font-size: 1.0625rem; color: var(--text-muted); line-height: 1.65; }

/* (animaciones se integran por sección — ver main.js) */

/* ══════════════════════════════════════════════
   NAV
══════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0;
  transition: background 0.4s var(--ease-out), backdrop-filter 0.4s var(--ease-out),
              box-shadow 0.4s var(--ease-out), padding 0.4s var(--ease-out),
              border-color 0.4s var(--ease-out);
}
.nav.scrolled {
  background: rgba(245,245,247,0.96);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border-bottom: 1px solid rgba(255,255,255,0.7);
  box-shadow: 0 4px 24px rgba(45,95,196,0.08);
  padding: 10px 0;
}
.nav__inner {
  max-width: var(--container-max); margin: 0 auto;
  padding: 0 var(--container-px);
  display: flex; align-items: center; gap: 32px;
}
.nav__logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav__logo-icon { width: 36px; height: 36px; }
.nav__logo-text { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }
.nav__logo-orca { color: var(--text-title); }
.nav__logo-net {
  background: linear-gradient(135deg, var(--blue-electric), var(--lavender));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__link {
  font-size: 0.9375rem; font-weight: 400; color: var(--text-body);
  padding: 8px 14px; border-radius: 10px; transition: all 0.2s ease;
  position: relative; overflow: hidden;
}
.nav__link:hover { color: var(--text-title); background: rgba(74,158,245,0.06); }
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 14px; right: 14px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-electric), var(--lavender));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease-out);
  border-radius: 2px;
}
.nav__link:hover::after,
.nav__link.active::after { transform: scaleX(1); }
.nav__cta { margin-left: 8px; padding: 10px 20px; }

.nav__lang-toggle {
  margin-left: 6px;
  width: 40px; height: 32px; border-radius: 8px;
  border: 1px solid rgba(74,158,245,0.18);
  background: rgba(255,255,255,0.65); backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.nav__lang-toggle:hover {
  border-color: rgba(74,158,245,0.40);
  background: rgba(255,255,255,0.95);
  transform: scale(1.06);
}

.nav__hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-left: auto; }
.nav__hamburger span { display: block; width: 22px; height: 2px; background: var(--text-title); border-radius: 2px; transition: all 0.3s ease; }


/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex;
  align-items: center; padding: 120px 0 80px; overflow: hidden;
  background: var(--bg-base);
}


/* Hero: 2 columnas — izq contenido, der visual */
.hero__inner {
  display: grid;
  grid-template-columns: 54fr 46fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}
.hero__content { position: relative; z-index: 1; }

/* Columna visual derecha */
.hero__visual {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
/* ── HERO WORK CARDS ─────────────────────── */
.hero__work-cards {
  position: relative;
  width: 100%; max-width: 460px;
  height: 420px;
}
.hero__work-card {
  position: absolute;
  width: 300px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.92);
  box-shadow: 0 8px 32px rgba(45,95,196,0.12), inset 0 1px 0 rgba(255,255,255,0.90);
  border-radius: 20px;
  padding: 22px;
  transition: scale 0.3s var(--ease-out), opacity 0.3s ease, box-shadow 0.3s ease;
}

/* Stacking: card--4 (ultra fondo) → card--3 (fondo) → card--2 (medio) → card--1 (frente) */
.hero__work-card--4 {
  top: -56px; left: -56px; z-index: 0; opacity: 0.35;
  animation: wcFloat4 6.5s ease-in-out infinite;
  animation-delay: -3s;
}
.hero__work-card--3 {
  top: 0; left: 0; z-index: 1; opacity: 0.55;
  animation: wcFloat3 6s ease-in-out infinite;
}
.hero__work-card--2 {
  top: 60px; left: 60px; z-index: 2; opacity: 0.78;
  animation: wcFloat2 5.5s ease-in-out infinite;
  animation-delay: -2.2s;
}
.hero__work-card--1 {
  top: 124px; left: 124px; z-index: 3;
  animation: wcFloat1 5s ease-in-out infinite;
  animation-delay: -1s;
}

/* Hover: la card destacada sube y el resto se atenúa */
.hero__work-card:hover {
  scale: 1.06;
  opacity: 1 !important;
  z-index: 10;
  box-shadow: 0 24px 56px rgba(45,95,196,0.22), inset 0 1px 0 rgba(255,255,255,0.95);
}
.hero__work-cards:has(.hero__work-card:hover) .hero__work-card:not(:hover) {
  opacity: 0.25;
}

@keyframes wcFloat1 {
  0%, 100% { transform: rotate(-0.5deg) translateY(0px); }
  50%       { transform: rotate(-0.5deg) translateY(-10px); }
}
@keyframes wcFloat2 {
  0%, 100% { transform: rotate(1.5deg) translateY(0px); }
  50%       { transform: rotate(1.5deg) translateY(-8px); }
}
@keyframes wcFloat3 {
  0%, 100% { transform: rotate(-2.5deg) translateY(0px); }
  50%       { transform: rotate(-2.5deg) translateY(-12px); }
}
@keyframes wcFloat4 {
  0%, 100% { transform: rotate(4deg) translateY(0px); }
  50%       { transform: rotate(4deg) translateY(-14px); }
}

.hero__work-card-tag {
  display: block;
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--blue-electric);
  margin-bottom: 10px;
}
.hero__work-card-preview {
  height: 76px;
  background: rgba(74,158,245,0.04);
  border-radius: 8px; padding: 12px;
  margin-bottom: 14px; overflow: hidden;
}
.hero__work-card-meta { display: flex; align-items: baseline; gap: 6px; }
.hero__work-card-score {
  font-family: var(--font-display); font-size: 1.5rem;
  font-weight: 700; color: var(--text-title); letter-spacing: -0.02em;
}
.hero__work-card-label { font-size: 0.8125rem; color: var(--text-muted); }

/* Hero card con screenshot real */
.hero__work-card--linked {
  display: block; text-decoration: none; color: inherit;
  cursor: pointer;
}
.hero__work-card--linked:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: 0 20px 48px rgba(45,95,196,0.18);
}
.hero__work-card-preview--screenshot {
  padding: 0; overflow: hidden; border-radius: 8px;
  height: 90px;
}
.hero__work-card-screenshot {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block; border-radius: 8px;
}
/* Flecha "Ver proyecto" en la meta */
.hero__work-card--linked .hero__work-card-score {
  font-size: 1.125rem; color: var(--blue-electric);
}

.hero__eyebrow {
  font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--blue-electric); margin-bottom: 24px;
}
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.25rem,4.2vw,3.75rem);
  font-weight: 800; color: var(--text-title);
  line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 20px;
}
.hero__sub {
  font-size: clamp(0.9375rem,1.6vw,1.0625rem); color: var(--text-muted);
  line-height: 1.65; margin-bottom: 28px;
}
.hero__actions {
  display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px;
}
.hero__stats {
  display: flex; align-items: center;
}
.hero__stat { text-align: left; padding: 0 28px; }
.hero__stat:first-child { padding-left: 0; }
.hero__stat-num { display: block; font-family: var(--font-display); font-size: 1.625rem; font-weight: 700; color: var(--text-title); letter-spacing: -0.02em; }
.hero__stat-label { display: block; font-size: 0.8125rem; color: var(--text-muted); margin-top: 2px; }
.hero__stat-divider { width: 1px; height: 36px; background: rgba(74,158,245,0.2); flex-shrink: 0; }

/* ══════════════════════════════════════════════
   SERVICES — BENTO GRID
══════════════════════════════════════════════ */
/* Services section tinted para que las cards blancas contrasten */
.services {
  background: linear-gradient(180deg,
    rgba(74,158,245,0.04) 0%,
    rgba(74,158,245,0.02) 100%),
    var(--bg-base);
}

/* Bento: layout exacto del mockup
   [Featured (col1-2, row1-2)] [Portafolios (col3,row1)]
                                [Airbnb     (col3,row2)]
   [Apps Web] [Bases de datos]  [Integraciones] (row3)    */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* ── SERVICE CARD — flat limpio (estilo mockup) ── */
.service-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  padding: 28px;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(45,95,196,0.10);
  border-color: rgba(74,158,245,0.20);
}
.service-card:focus-visible {
  outline: 2px solid var(--blue-electric);
  outline-offset: 4px;
}

.bento__card--featured {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  display: flex; gap: 28px; align-items: flex-start; padding: 36px;
  background: linear-gradient(145deg, #f8fbff 0%, #eef5ff 100%);
  border-color: rgba(74,158,245,0.18);
}
.bento__card--featured .service-card__body { flex: 1; }

.service-card__icon {
  width: 48px; height: 48px; margin-bottom: 18px;
  padding: 10px; background: rgba(74,158,245,0.06);
  border-radius: 12px; border: 1px solid rgba(74,158,245,0.10);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.service-card__icon svg { width: 100%; height: 100%; }
.service-card__icon--lg { width: 64px; height: 64px; padding: 13px; margin-bottom: 0; }

.service-card__title {
  font-family: var(--font-display); font-size: 1.0625rem; font-weight: 700;
  color: var(--text-title); letter-spacing: -0.01em; margin-bottom: 8px;
}
.bento__card--featured .service-card__title { font-size: 1.375rem; margin-bottom: 10px; }
.service-card__desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }
.service-card__tag {
  display: inline-block; margin-top: 14px; padding: 3px 10px;
  background: linear-gradient(135deg,rgba(74,158,245,0.10),rgba(167,139,250,0.10));
  border: 1px solid rgba(74,158,245,0.20); border-radius: 100px;
  font-size: 0.75rem; font-weight: 500; color: var(--blue-deep); letter-spacing: 0.02em;
}
.service-card__link {
  display: block; margin-top: 20px;
  font-size: 0.875rem; font-weight: 500; color: var(--blue-electric);
  transition: color 0.2s;
}
.service-card__link:hover { color: var(--blue-deep); }

/* ══════════════════════════════════════════════
   DIFFERENTIATORS
══════════════════════════════════════════════ */
.differentiators {
  background: var(--bg-alt);
  border-top: 1px solid rgba(74,158,245,0.08);
  border-bottom: 1px solid rgba(74,158,245,0.08);
}
.diff-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 48px; }
.diff-item { text-align: center; }
.diff-item__icon { width: 64px; height: 64px; margin: 0 auto 20px; }
.diff-item__icon svg { width: 100%; height: 100%; }
.diff-item__title {
  font-family: var(--font-display); font-size: 1.0625rem; font-weight: 700;
  color: var(--text-title); letter-spacing: -0.01em; line-height: 1.3; margin-bottom: 10px;
}
.diff-item__desc { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.6; }

/* ══════════════════════════════════════════════
   PRICING
══════════════════════════════════════════════ */
.pricing { background: var(--bg-base); }
.pricing__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; align-items: stretch; }

.pricing__card { display: flex; flex-direction: column; padding: 32px 28px; transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, border-color 0.3s ease; }
.pricing__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(45,95,196,0.14);
  border-color: rgba(74,158,245,0.30);
}
.pricing__card--featured {
  border-color: rgba(74,158,245,0.40);
  box-shadow: 0 16px 48px rgba(45,95,196,0.14), inset 0 1px 0 rgba(255,255,255,0.9);
  background: linear-gradient(145deg,rgba(255,255,255,0.75) 0%,rgba(235,244,255,0.65) 100%);
}
.pricing__popular {
  display: inline-block; padding: 5px 14px;
  background: linear-gradient(135deg,var(--blue-electric),var(--lavender));
  color: white; border-radius: 100px; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.02em; width: fit-content; margin-bottom: 24px;
}
.pricing__card-header { margin-bottom: 24px; }
.pricing__plan {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 700;
  color: var(--text-title); letter-spacing: -0.02em; margin-bottom: 6px;
}
.pricing__plan-desc { font-size: 0.875rem; color: var(--text-muted); }
.pricing__price {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-bottom: 28px; padding-bottom: 28px;
  border-bottom: 1px solid rgba(74,158,245,0.10);
}
.pricing__amount {
  font-family: var(--font-display); font-size: 2.25rem;
  font-weight: 700; color: var(--text-title); letter-spacing: -0.03em;
}
.pricing__card--featured .pricing__amount { color: var(--blue-deep); }
.pricing__amount--custom {
  font-size: 1.75rem;
  background: linear-gradient(135deg,var(--blue-electric),var(--lavender));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.pricing__badge {
  font-size: 0.6875rem; font-weight: 500; color: var(--text-muted);
  letter-spacing: 0.03em; padding: 3px 10px;
  background: rgba(74,158,245,0.06);
  border: 1px solid rgba(74,158,245,0.12);
  border-radius: 100px; white-space: nowrap;
}
.pricing__features { flex: 1; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.pricing__feature { display: flex; align-items: center; gap: 10px; font-size: 0.9375rem; color: var(--text-body); }
.pricing__check {
  display: flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(74,158,245,0.10); flex-shrink: 0;
}
.pricing__check::after {
  content: ''; display: block; width: 5px; height: 8px;
  border: 1.5px solid var(--blue-electric);
  border-left: none; border-top: none;
  transform: rotate(45deg) translateY(-1px);
}

/* ── PRICING TIER LABEL ─────────────────────── */
.pricing__tier {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.10em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px;
}

/* ── FAQ ────────────────────────────────────── */
.pricing__faq {
  max-width: 680px; margin: 56px auto 0;
  border-top: 1px solid rgba(74,158,245,0.10);
}
.faq__item {
  border-bottom: 1px solid rgba(74,158,245,0.10);
  padding: 20px 0;
}
.faq__question {
  font-family: var(--font-display); font-size: 0.9375rem; font-weight: 600;
  color: var(--text-title); cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq__question::after {
  content: '+'; font-size: 1.125rem; font-weight: 400;
  color: var(--blue-electric); flex-shrink: 0; margin-left: 12px;
  transition: transform 0.2s ease;
}
details[open] .faq__question::after { transform: rotate(45deg); }
.faq__answer {
  margin-top: 10px; font-size: 0.9rem; color: var(--text-muted); line-height: 1.65;
}

/* ══════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════ */
.about {
  background: var(--bg-alt);
  border-top: 1px solid rgba(74,158,245,0.08);
  border-bottom: 1px solid rgba(74,158,245,0.08);
}
.about__grid {
  display: grid; grid-template-columns: 55fr 45fr;
  gap: clamp(48px,6vw,96px); align-items: center;
}
.about__left .section__eyebrow { text-align: left; }
.about__title {
  font-family: var(--font-display); font-size: clamp(2.25rem,4vw,3.5rem);
  font-weight: 800; color: var(--text-title); line-height: 1.05;
  letter-spacing: -0.03em; margin-bottom: 20px;
}
.about__body { font-size: 1.0625rem; color: var(--text-body); line-height: 1.7; margin-bottom: 32px; }
.about__bullets { display: flex; flex-direction: column; gap: 16px; }
.about__bullet { display: flex; align-items: center; gap: 12px; font-size: 0.9375rem; color: var(--text-body); font-weight: 500; }
.about__bullet-icon { width: 22px; height: 22px; flex-shrink: 0; }
.about__bullet-icon svg { width: 100%; height: 100%; }
.about__cta { margin-top: 36px; }

.stats-grid { display: flex; flex-direction: column; gap: 16px; }
.stat-card { padding: 28px 32px; display: flex; flex-direction: column; gap: 6px; }
.stat-card--offset { align-self: flex-end; width: 88%; }
.stat-card__num {
  font-family: var(--font-display); font-size: clamp(2.5rem,5vw,3.5rem);
  font-weight: 700; letter-spacing: -0.04em; line-height: 1;
}
.stat-card__label { font-size: 0.9375rem; color: var(--text-muted); }

/* ══════════════════════════════════════════════
   CONTACT — gradiente estilo mockup
══════════════════════════════════════════════ */
.contact {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg,
    rgba(74,158,245,0.06) 0%,
    rgba(255,255,255,0)   45%,
    rgba(167,139,250,0.08) 100%
  );
}

/* Orbs decorativos parallax dentro del contacto */
.contact__parallax-orb {
  position: absolute; border-radius: 50%; pointer-events: none;
}
.contact__parallax-orb--1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(74,158,245,0.07) 0%, transparent 70%);
  top: -120px; left: -100px;
}
.contact__parallax-orb--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(167,139,250,0.09) 0%, transparent 70%);
  bottom: -80px; right: -80px;
}

.contact__inner {
  position: relative; z-index: 1;
  text-align: center; max-width: 600px; margin: 0 auto;
}
.contact__eyebrow {
  font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--blue-electric); margin-bottom: 12px;
}
.contact__title {
  font-family: var(--font-display); font-size: clamp(2.25rem,4vw,3.25rem);
  font-weight: 700; color: var(--text-title); line-height: 1.1;
  letter-spacing: -0.02em; margin-bottom: 20px;
}
.contact__sub {
  font-size: 1.0625rem; color: var(--text-body);
  line-height: 1.65; margin-bottom: 48px;
}

/* CTAs */
.contact__ctas {
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: center; margin-bottom: 56px;
}
.btn--whatsapp {
  background: #25D366; color: #ffffff;
  box-shadow: 0 8px 32px rgba(37,211,102,0.35);
}
.btn--whatsapp:hover {
  background: #1fb859;
  box-shadow: 0 12px 40px rgba(37,211,102,0.50);
  transform: translateY(-2px);
}
.btn--call {
  background: rgba(255,255,255,0.70); color: var(--text-title);
  border: 1.5px solid rgba(74,158,245,0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn--call:hover {
  background: rgba(255,255,255,0.95);
  border-color: rgba(74,158,245,0.50);
  transform: translateY(-2px);
}

/* Stats row */
.contact__stats {
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 32px;
}
.contact__stat { text-align: center; padding: 0 28px; }
.contact__stat-num {
  display: block; font-family: var(--font-display);
  font-size: 1.375rem; font-weight: 700; color: var(--text-title);
  letter-spacing: -0.02em; margin-bottom: 4px;
}
.contact__stat-label {
  display: block; font-size: 0.6875rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.contact__stat-divider { width: 1px; height: 36px; background: rgba(74,158,245,0.18); flex-shrink: 0; }

.contact__alt { font-size: 0.875rem; color: var(--text-muted); }
.contact__alt-link { color: var(--blue-electric); font-weight: 500; transition: color 0.2s; }
.contact__alt-link:hover { color: var(--blue-deep); }

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.footer { border-top: 1px solid rgba(74,158,245,0.12); padding: 20px 0; }
.footer__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.footer__logo {
  font-family: var(--font-display); font-size: 1.1rem;
  font-weight: 700; letter-spacing: -0.02em;
}
.footer__copy { font-size: 0.8125rem; color: var(--text-muted); }
.footer__tagline { font-size: 0.8125rem; color: var(--text-muted); }

/* Keyframes para orbs — gestionados por CSS */

/* ══════════════════════════════════════════════
   CUSTOM CURSOR
══════════════════════════════════════════════ */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  border-radius: 50%;
  will-change: transform;
  display: none;
}

@media (pointer: fine) {
  .has-custom-cursor { cursor: none; }
  .has-custom-cursor * { cursor: none; }

  .cursor-dot {
    display: block;
    width: 8px; height: 8px;
    background: var(--blue-electric);
    z-index: 10000;
    transition: width 0.2s var(--ease-out), height 0.2s var(--ease-out), background 0.2s ease;
  }
  .cursor-ring {
    display: block;
    width: 36px; height: 36px;
    border: 1.5px solid rgba(74,158,245,0.55);
    z-index: 9999;
    transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out),
                border-color 0.25s ease, background 0.25s ease;
  }

  body.cursor--hover .cursor-dot  { width: 12px; height: 12px; background: var(--blue-deep); }
  body.cursor--hover .cursor-ring { width: 52px; height: 52px; border-color: rgba(74,158,245,0.28); background: rgba(74,158,245,0.04); }

  body.cursor--click .cursor-dot  { width: 5px; height: 5px; background: var(--lavender); }
  body.cursor--click .cursor-ring { width: 28px; height: 28px; border-color: var(--lavender); background: rgba(167,139,250,0.06); }
}

/* ── DRAWER full-screen glass (consistente con el diseño blanco) ── */
.nav__drawer {
  position: fixed;
  inset: 0;
  background: rgba(245,245,247,0.94);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  z-index: 210;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  overflow: hidden;
}
.nav__drawer--open { opacity: 1; visibility: visible; }

/* Orbs flotantes de fondo */
.nav__drawer::before {
  content: '';
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,158,245,0.30) 0%, rgba(74,158,245,0.10) 45%, transparent 70%);
  top: -120px; right: -80px;
  pointer-events: none;
  animation: drawerOrb1 11s ease-in-out infinite;
}
.nav__drawer::after {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167,139,250,0.28) 0%, rgba(167,139,250,0.08) 45%, transparent 70%);
  bottom: 60px; left: -60px;
  pointer-events: none;
  animation: drawerOrb2 14s ease-in-out infinite;
  animation-delay: -5s;
}

@keyframes drawerOrb1 {
  0%   { transform: translate(0,    0)    scale(1);    }
  30%  { transform: translate(-28px, 22px) scale(1.06); }
  65%  { transform: translate(18px, -16px) scale(0.96); }
  100% { transform: translate(0,    0)    scale(1);    }
}
@keyframes drawerOrb2 {
  0%   { transform: translate(0,    0)    scale(1);    }
  40%  { transform: translate(24px, -22px) scale(1.08); }
  72%  { transform: translate(-16px, 14px) scale(0.94); }
  100% { transform: translate(0,    0)    scale(1);    }
}

/* Header: logo + botón cerrar — parte del flujo normal */
.nav__drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--container-px);
  border-bottom: 1px solid rgba(74,158,245,0.08);
  flex-shrink: 0;
  position: relative; z-index: 1;
}

/* Botón X CSS — tono oscuro sobre fondo claro */
.nav__drawer-close {
  position: relative;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(74,158,245,0.07);
  border: 1px solid rgba(74,158,245,0.14);
  flex-shrink: 0;
  transition: background 0.25s ease, transform 0.35s ease;
}
.nav__drawer-close::before,
.nav__drawer-close::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 15px; height: 1.5px;
  background: var(--text-title);
  border-radius: 2px;
}
.nav__drawer-close::before { transform: translate(-50%,-50%) rotate(45deg); }
.nav__drawer-close::after  { transform: translate(-50%,-50%) rotate(-45deg); }
.nav__drawer-close:hover { background: rgba(74,158,245,0.14); transform: rotate(90deg); }

/* Links — alineados desde arriba, izquierda */
.nav__drawer-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 2px;
  position: relative; z-index: 1;
  padding: 32px 0 0;
}
.nav__drawer-link {
  display: block;
  position: relative;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text-title);
  padding: 12px var(--container-px);
  border-radius: 14px;
  width: 100%;
  transition: -webkit-text-fill-color 0.25s ease, background 0.25s ease;
  text-align: left;
  -webkit-text-fill-color: var(--text-title);
}

/* Underline animado: crece de izquierda a derecha */
.nav__drawer-link::after {
  content: '';
  position: absolute;
  bottom: 7px;
  left: var(--container-px);
  right: var(--container-px);
  height: 2px;
  background: linear-gradient(135deg, var(--blue-electric), var(--lavender));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
}

/* Hover: texto gradiente azul→lavanda + underline */
.nav__drawer-link:hover {
  background: linear-gradient(135deg, var(--blue-electric), var(--lavender));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav__drawer-link:hover::after {
  transform: scaleX(1);
}

/* CTA — parte del flujo, no absolute, sin conflicto con animación */
.nav__drawer-cta {
  align-self: stretch;
  justify-content: center;
  margin: 0 var(--container-px) 44px;
  position: relative; z-index: 1;
}

/* Stagger — fade + slide desde abajo */
@keyframes drawerItemIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
.nav__drawer--open .nav__drawer-links li { animation: drawerItemIn 0.5s cubic-bezier(0.16,1,0.3,1) both; }
.nav__drawer--open .nav__drawer-links li:nth-child(1) { animation-delay: 0.07s; }
.nav__drawer--open .nav__drawer-links li:nth-child(2) { animation-delay: 0.13s; }
.nav__drawer--open .nav__drawer-links li:nth-child(3) { animation-delay: 0.19s; }
.nav__drawer--open .nav__drawer-links li:nth-child(4) { animation-delay: 0.25s; }
.nav__drawer--open .nav__drawer-links li:nth-child(5) { animation-delay: 0.31s; }
.nav__drawer--open .nav__drawer-cta  { animation: drawerItemIn 0.5s cubic-bezier(0.16,1,0.3,1) 0.38s both; }
.nav__drawer--open .nav__drawer-lang { animation: drawerItemIn 0.5s cubic-bezier(0.16,1,0.3,1) 0.44s both; }

/* Lang toggle dentro del drawer */
.nav__drawer-lang {
  display: flex; align-items: center; gap: 10px;
  margin: 0 var(--container-px) 24px;
  padding: 12px 16px; border-radius: 12px;
  border: 1px solid rgba(74,158,245,0.15);
  background: rgba(255,255,255,0.55);
  color: var(--text-muted); font-size: 0.9375rem; font-weight: 500;
  transition: all 0.2s ease;
}
.nav__drawer-lang:hover { background: rgba(255,255,255,0.90); color: var(--text-title); }
.nav__drawer-lang-flag { font-size: 1.375rem; line-height: 1; }
.nav__drawer-lang-label { flex: 1; text-align: left; }

.nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,45,90,0.50);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 190;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
body.nav-open { overflow: hidden; }
body.nav-open .nav__overlay { opacity: 1; visibility: visible; }

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .projects__grid { grid-template-columns: repeat(2,1fr); }
  .project-card--lg { grid-column: 1 / 3; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: flex; align-items: center; justify-content: center; padding: 20px 0 8px; }
  .hero__work-cards { height: 260px; max-width: 340px; }
  .hero__work-card  { width: 190px; padding: 14px; border-radius: 14px; }
  .hero__work-card--4 { top: -40px; left: -40px; }
  .hero__work-card--2 { top: 44px;  left: 44px; }
  .hero__work-card--1 { top: 90px;  left: 90px; }
  .hero__work-card-preview { height: 56px; }
  .hero__work-card-score   { font-size: 1.25rem; }
  .bento { grid-template-columns: repeat(2,1fr); }
  .bento__card--featured { grid-column: 1 / 3; grid-row: auto; }
  .pricing__grid { grid-template-columns: repeat(2,1fr); max-width: none; margin: 0; }
  .about__grid { grid-template-columns: 1fr; }
  .about__right { order: -1; }
  .stats-grid { flex-direction: row; flex-wrap: wrap; }
  .stat-card { flex: 1; min-width: 140px; }
  .stat-card--offset { align-self: auto; width: auto; }
}

@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; margin-left: 4px; }
  .nav__lang-toggle { margin-left: auto; }
  .bento { grid-template-columns: 1fr; }
  .bento__card--featured { grid-column: span 1; flex-direction: column; gap: 20px; }
  .service-card__icon--lg { width: 48px; height: 48px; }
  .diff-grid { grid-template-columns: 1fr; gap: 32px; }
  .pricing__grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .contact__ctas { flex-direction: column; align-items: center; }
  .contact__ctas .btn { width: 100%; max-width: 320px; justify-content: center; }
  .contact__stats { flex-wrap: wrap; gap: 24px; }
  .contact__stat { padding: 0 16px; }
  .contact__stat-divider { display: none; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__links { align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero { padding: 90px 0 48px; }
  .hero__stats {
    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(74,158,245,0.12);
    border-radius: 16px;
    padding: 16px 0;
    gap: 0;
  }
  .hero__stat { flex: 1; padding: 0; text-align: center; }
  .hero__stat:first-child { padding-left: 0; }
  .hero__stat-divider { height: 28px; }
  .hero__stat-num { font-size: 1.125rem; }
  .hero__stat-label { font-size: 0.6875rem; }
  .hero__sub-br { display: block; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__work-cards { height: 200px; max-width: 270px; }
  .hero__work-card  { width: 150px; padding: 12px; }
  .hero__work-card--4 { top: -30px; left: -30px; }
  .hero__work-card--2 { top: 34px; left: 34px; }
  .hero__work-card--1 { top: 68px; left: 68px; }
  .hero__work-card-score { font-size: 1.125rem; }
  .hero__work-card-tag   { font-size: 0.625rem; }
}

/* ══════════════════════════════════════════════
   MICRO INTERACTIONS & ANIMATIONS
══════════════════════════════════════════════ */

/* ── HAMBURGER → X ──────────────────────────── */
.nav__hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ── SCROLL REVEAL ──────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--delay-1 { transition-delay: 0.10s; }
.reveal--delay-2 { transition-delay: 0.20s; }
.reveal--delay-3 { transition-delay: 0.30s; }
.reveal--delay-4 { transition-delay: 0.40s; }
.reveal--delay-5 { transition-delay: 0.45s; }

/* ── BUTTONS: ripple + shine base ───────────── */
.btn { position: relative; overflow: hidden; }

/* Shine sweep (primary, whatsapp) */
.btn--primary::after,
.btn--whatsapp::after {
  content: '';
  position: absolute;
  top: -50%; left: -80%;
  width: 50%; height: 200%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.26) 50%, transparent 100%);
  transform: skewX(-20deg) translateX(0);
  transition: transform 0.55s ease;
  pointer-events: none;
}
.btn--primary:hover::after,
.btn--whatsapp:hover::after { transform: skewX(-20deg) translateX(420%); }

/* Ripple */
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.28);
  transform: scale(0);
  animation: ripple-expand 0.6s linear;
  pointer-events: none;
}
@keyframes ripple-expand { to { transform: scale(4); opacity: 0; } }

/* ── BENTO 3D TILT (prep) ───────────────────── */
.service-card { will-change: transform; }

/* ── STAT CARD FLIP ─────────────────────────── */
.stat-card--flip {
  opacity: 0;
  transform: perspective(700px) rotateY(24deg);
  transform-origin: left center;
  transition: opacity 0.55s ease, transform 0.75s var(--ease-elastic);
}
.stat-card--flip.is-flipped {
  opacity: 1;
  transform: perspective(700px) rotateY(0deg);
}

/* ── PRICING FEATURED BREATHING GLOW ────────── */
@keyframes breatheGlow {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.88; }
}
.pricing__card--featured {
  animation: breatheGlow 3.5s ease-in-out infinite;
  box-shadow: 0 16px 48px rgba(45,95,196,0.18), inset 0 1px 0 rgba(255,255,255,0.9), 0 0 28px 4px rgba(74,158,245,0.08);
}

/* ── HERO CARDS: mobile touch feedback ──────── */
@media (hover: none) {
  .hero__work-card:active {
    scale: 0.96;
    animation-play-state: paused;
    box-shadow: 0 4px 16px rgba(45,95,196,0.08);
    transition: scale 0.12s ease, box-shadow 0.12s ease;
  }
  .project-card:active {
    transform: translateY(-6px) scale(1.03);
    border-color: rgba(74,158,245,0.35);
    box-shadow: 0 24px 64px rgba(45,95,196,0.16);
  }
}

/* ── HERO TYPEWRITER ─────────────────────────── */
.hero__sub-br { display: none; }
.hero__typewriter {
  display: inline-block;
  vertical-align: baseline;
}
.hero__tw-word {
  display: inline-block;
  background: linear-gradient(135deg, var(--blue-electric), var(--lavender));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
  white-space: nowrap;
}
.hero__tw-word.is-fading {
  opacity: 0;
  transform: translateY(-10px) scale(0.92);
  filter: blur(3px);
}

/* ══════════════════════════════════════════════
   PROYECTOS
══════════════════════════════════════════════ */
.projects {
  background: var(--bg-alt);
}
/* Filter pills */
.projects__filters {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center;
  margin-bottom: clamp(32px,4vw,56px);
}
.projects__filter {
  padding: 8px 20px; border-radius: 100px;
  font-size: 0.875rem; font-weight: 500;
  color: var(--text-muted);
  border: 1px solid rgba(74,158,245,0.18);
  background: rgba(255,255,255,0.65);
  transition: all 0.25s ease;
}
.projects__filter:hover {
  color: var(--blue-electric);
  border-color: rgba(74,158,245,0.40);
  background: rgba(255,255,255,0.95);
}
.projects__filter--active {
  color: var(--blue-deep);
  background: rgba(74,158,245,0.10);
  border-color: rgba(74,158,245,0.45);
  animation: filterPop 0.35s var(--ease-out);
}

/* Grid */
.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.project-card--lg { grid-column: 1 / 3; }

/* Card */
.project-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  transition: transform 0.3s var(--ease-out), border-color 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: rgba(74,158,245,0.35);
  box-shadow: 0 24px 64px rgba(45,95,196,0.16);
}
.project-card--hidden {
  display: none;
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}
.project-card.card--entering {
  animation: cardIn 0.4s var(--ease-out) both;
}
@keyframes filterPop {
  0%   { transform: scale(0.92); }
  100% { transform: scale(1); }
}

/* Browser mockup frame */
.project-card__mockup {
  margin: 14px 14px 0;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.30);
}
.pm-bar {
  height: 26px;
  background: #e2e2e6;
  display: flex; align-items: center;
  padding: 0 8px; gap: 5px;
  border-radius: 8px 8px 0 0;
}
.pm-bar span { width: 7px; height: 7px; border-radius: 50%; }
.pm-bar span:nth-child(1) { background: #ff5f57; }
.pm-bar span:nth-child(2) { background: #febc2e; }
.pm-bar span:nth-child(3) { background: #28c840; }
.pm-visit { margin-left: auto; }


/* Screenshot real en lugar de mockup CSS */
.project-card__screenshot {
  display: block; width: 100%; height: 120px;
  object-fit: cover; object-position: top center;
}
.project-card--lg .project-card__screenshot { height: 168px; }

/* Botón "visitar sitio" dentro de la pm-bar */
.pm-visit {
  display: flex; align-items: center; justify-content: center;
  margin-left: auto; padding: 2px 4px; border-radius: 4px;
  color: rgba(0,0,0,0.35); transition: color 0.2s ease, background 0.15s ease;
  flex-shrink: 0;
}
.pm-visit:hover { color: var(--blue-electric); background: rgba(74,158,245,0.10); }

/* Badge "Proyecto real" sutil */
.project-card--real .project-card__cat {
  color: var(--blue-deep); font-weight: 700;
}

/* Card info */
.project-card__info { padding: 14px 18px 18px; }
.project-card__cat {
  display: block;
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(74,158,245,0.75); margin-bottom: 5px;
}
.project-card__name {
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  color: var(--text-title); letter-spacing: -0.01em; margin-bottom: 5px;
}
.project-card--lg .project-card__name { font-size: 1.125rem; }
.project-card__metric { font-size: 0.875rem; color: var(--text-muted); }
.project-card__metric strong {
  background: linear-gradient(135deg, var(--blue-electric), var(--lavender));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  font-weight: 700;
}

/* ── PROYECTOS — mobile (debe ir DESPUÉS de los estilos base) ── */
@media (max-width: 768px) {
  .projects__grid                             { grid-template-columns: 1fr 1fr; gap: 12px; }
  .project-card--lg                           { grid-column: 1 / -1; }
  .project-card--lg .project-card__screenshot { height: 140px; }
  .project-card__screenshot                   { height: 90px; }
  .project-card__mockup                       { margin: 10px 10px 0; }
  .project-card__info                         { padding: 10px 12px 14px; }
  .project-card__name                         { font-size: 0.875rem; }
  .project-card__metric                       { font-size: 0.8125rem; }
}

/* ── HERO PARALLAX ORBS ─────────────────────── */
.hero { --orb-y: 0px; }
.hero::before {
  content: '';
  position: absolute;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,158,245,0.09) 0%, transparent 70%);
  top: -80px; right: -80px;
  pointer-events: none;
  transform: translateY(calc(var(--orb-y) * 0.25));
  will-change: transform;
}
.hero::after {
  content: '';
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167,139,250,0.08) 0%, transparent 70%);
  bottom: 0; left: -60px;
  pointer-events: none;
  transform: translateY(calc(var(--orb-y) * -0.15));
  will-change: transform;
}

/* ── PAGE LOAD FADE-IN ───────────────────────── */
@keyframes navFadeIn  { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroFadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.nav  { animation: navFadeIn  0.5s var(--ease-out) both; }
.hero { animation: heroFadeIn 0.7s var(--ease-out) 0.15s both; }

/* ── HERO CONTENT STAGGER ───────────────────── */
.hero__headline {
  animation: heroFadeIn 0.7s var(--ease-out) 0.25s both;
}
.hero__sub {
  animation: heroFadeIn 0.7s var(--ease-out) 0.40s both;
}
.hero__actions {
  animation: heroFadeIn 0.7s var(--ease-out) 0.55s both;
}
.hero__stats {
  animation: heroFadeIn 0.7s var(--ease-out) 0.68s both;
}

/* ── SECTION HIGHLIGHT (anchor navigation feedback) ── */
@keyframes sectionHighlight {
  0%   { background-color: rgba(74,158,245,0.08); }
  100% { background-color: transparent; }
}
.section--highlighted {
  animation: sectionHighlight 1.2s var(--ease-out) forwards;
}

/* ── SCROLL-DRIVEN ANIMATIONS (Chrome 115+ / Safari 17.5+) ── */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .service-card {
      animation: cardRise linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 35%;
    }
    @keyframes cardRise {
      from { opacity: 0.5; transform: translateY(24px); }
      to   { opacity: 1;   transform: translateY(0); }
    }
  }
}
