*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #080810;
  --bg2: #0d0d1a;
  --bg3: #111120;
  --card: #13131f;
  --card2: #16162a;
  --border: rgba(255,255,255,0.07);
  --border2: rgba(99,102,241,0.3);
  --accent: #6366f1;
  --accent2: #818cf8;
  --accent3: #a5b4fc;
  --green: #22d3a5;
  --text: #f1f1f5;
  --text2: #9999bb;
  --text3: #6666aa;
  --white: #ffffff;
  --radius: 16px;
  --radius2: 24px;
  --shadow: 0 0 60px rgba(99,102,241,0.15);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 99px; }

/* ─── NOISE TEXTURE ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ─── HEADER ─── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8,8,16,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

header.scrolled {
  background: rgba(8,8,16,0.95);
  box-shadow: 0 4px 40px rgba(0,0,0,0.4);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon-img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.4);
  display: block;
}

.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: -0.3px;
}

.logo-text span { color: var(--accent2); }

nav { display: flex; align-items: center; gap: 0.25rem; }

nav a {
  color: var(--text2);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

nav a:hover { color: var(--text); background: rgba(255,255,255,0.06); }

.nav-cta {
  background: var(--accent) !important;
  color: white !important;
  padding: 8px 18px !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  box-shadow: 0 0 20px rgba(99,102,241,0.35);
  transition: all 0.2s ease !important;
}

.nav-cta:hover {
  background: var(--accent2) !important;
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(99,102,241,0.5) !important;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 4px;
  transition: all 0.3s ease;
}

/* ─── HERO ─── */
#inicio {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 2rem 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  animation: float 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #6366f1, transparent 70%);
  top: -100px; right: -100px;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #8b5cf6, transparent 70%);
  bottom: 0; left: -80px;
  animation-delay: -4s;
}

.hero-orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #22d3a5, transparent 70%);
  top: 40%; left: 40%;
  opacity: 0.1;
  animation-delay: -2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 99px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent3);
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s ease both;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-badge-dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  color: var(--white);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease 0.1s both;
}

h1 .gradient-text {
  background: linear-gradient(135deg, var(--accent2) 0%, #c084fc 50%, var(--green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text2);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 32px;
  border-radius: 14px;
  box-shadow: 0 0 40px rgba(99,102,241,0.35), 0 8px 32px rgba(0,0,0,0.3);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn-wa::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}

.btn-wa:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 60px rgba(99,102,241,0.5), 0 12px 40px rgba(0,0,0,0.4);
}

.btn-wa:hover::before { opacity: 1; }

.btn-wa svg { flex-shrink: 0; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 28px;
  border-radius: 14px;
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 4rem;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-stat { text-align: center; }

.hero-stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1px;
}

.hero-stat-num span { color: var(--accent2); }

.hero-stat-label {
  font-size: 0.78rem;
  color: var(--text3);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── SECTIONS ─── */
section {
  padding: 100px 2rem;
  position: relative;
}

.container { max-width: 1100px; margin: 0 auto; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent2);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  width: 20px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text2);
  max-width: 520px;
  margin-bottom: 3.5rem;
}

/* ─── PROJECTS ─── */
#proyectos { background: var(--bg2); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.project-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: var(--border2);
  box-shadow: 0 20px 60px rgba(99,102,241,0.15), 0 0 0 1px rgba(99,102,241,0.1);
}

.project-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
  background: var(--card2);
}

.project-thumb iframe {
  width: 200%;
  height: 200%;
  transform: scale(0.5);
  transform-origin: top left;
  border: none;
  pointer-events: none;
}

.project-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, var(--card) 100%);
  z-index: 1;
}

.project-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
}

.project-thumb-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99,102,241,0.08) 0%, rgba(139,92,246,0.08) 100%);
}

.thumb-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  position: relative;
  z-index: 1;
}

.thumb-url {
  font-size: 0.75rem;
  color: var(--text3);
  position: relative;
  z-index: 1;
  font-family: monospace;
}

.project-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.project-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent3);
  background: rgba(99,102,241,0.1);
  padding: 3px 10px;
  border-radius: 99px;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.project-desc {
  font-size: 0.85rem;
  color: var(--text3);
  margin-bottom: 1.2rem;
}

.btn-project {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.2);
  color: var(--accent3);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.btn-project:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  transform: translateX(3px);
}

/* ─── SERVICES ─── */
#servicios { background: var(--bg); }

.services-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.25s ease;
  cursor: default;
}

.service-item:hover {
  border-color: var(--border2);
  background: var(--card2);
  transform: translateX(6px);
}

.service-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.service-icon-1 { background: rgba(99,102,241,0.15); }
.service-icon-2 { background: rgba(34,211,165,0.12); }
.service-icon-3 { background: rgba(249,115,22,0.12); }
.service-icon-4 { background: rgba(236,72,153,0.12); }

.service-info h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.service-info p {
  font-size: 0.85rem;
  color: var(--text3);
}

.services-visual { position: relative; }

.services-visual-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.services-visual-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #8b5cf6, var(--green));
}

.services-code {
  font-family: 'Fira Code', 'Courier New', monospace;
  font-size: 0.78rem;
  line-height: 1.9;
  color: var(--text3);
}

.code-line { display: flex; gap: 12px; }
.code-num { color: var(--text3); opacity: 0.4; min-width: 20px; text-align: right; }
.code-kw { color: #c084fc; }
.code-fn { color: #60a5fa; }
.code-str { color: #86efac; }
.code-op { color: var(--text2); }
.code-comment { color: #4ade80; opacity: 0.6; }

/* ─── PROCESO ─── */
#proceso { background: var(--bg2); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 48px;
  left: calc(16.66% + 24px);
  right: calc(16.66% + 24px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border2), var(--border2), transparent);
}

.step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  padding: 2rem 1.75rem;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.step-card:hover {
  border-color: var(--border2);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.step-num {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: white;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 30px rgba(99,102,241,0.4);
}

.step-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.step-card p {
  font-size: 0.875rem;
  color: var(--text3);
  line-height: 1.7;
}

/* ─── PRECIOS ─── */
#precios { background: var(--bg); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  padding: 2.25rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pricing-card:hover { transform: translateY(-6px); }

.pricing-card.featured {
  background: linear-gradient(145deg, #13132a, #1a1a35);
  border-color: rgba(99,102,241,0.35);
  box-shadow: 0 0 60px rgba(99,102,241,0.12);
  transform: scale(1.04);
}

.pricing-card.featured:hover { transform: scale(1.04) translateY(-6px); }

.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), #8b5cf6);
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(99,102,241,0.15);
  color: var(--accent3);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text2);
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -2px;
  margin-bottom: 0.25rem;
}

.pricing-price span {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text3);
  letter-spacing: 0;
}

.pricing-from {
  font-size: 0.8rem;
  color: var(--text3);
  margin-bottom: 1.75rem;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 2rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text2);
}

.pricing-features li::before {
  content: '✓';
  width: 20px; height: 20px;
  background: rgba(34,211,165,0.12);
  color: var(--green);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
}

.btn-pricing {
  display: block;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 13px;
  border-radius: 12px;
  transition: all 0.25s ease;
}

.btn-pricing-outline {
  border: 1px solid var(--border);
  color: var(--text2);
}

.btn-pricing-outline:hover {
  border-color: var(--border2);
  color: var(--white);
  background: rgba(99,102,241,0.08);
}

.btn-pricing-solid {
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  color: white;
  box-shadow: 0 8px 24px rgba(99,102,241,0.3);
}

.btn-pricing-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(99,102,241,0.4);
}

/* ─── CTA FINAL ─── */
#contacto { background: var(--bg2); }

.cta-box {
  background: linear-gradient(145deg, #13132a, #1a1a38);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 32px;
  padding: 5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -1px; left: 20%; right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), #8b5cf6, transparent);
}

.cta-orb {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
  pointer-events: none;
}

.cta-orb-1 { background: var(--accent); top: -100px; left: -100px; }
.cta-orb-2 { background: #8b5cf6; bottom: -100px; right: -100px; }

.cta-box h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1.5px;
  margin-bottom: 1rem;
  position: relative;
}

.cta-box p {
  font-size: 1.1rem;
  color: var(--text2);
  margin-bottom: 2.5rem;
  position: relative;
}

.cta-wa {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  color: white;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 18px 40px;
  border-radius: 16px;
  box-shadow: 0 0 50px rgba(99,102,241,0.4), 0 8px 32px rgba(0,0,0,0.3);
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
  position: relative;
}

.cta-wa:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 0 80px rgba(99,102,241,0.55), 0 16px 48px rgba(0,0,0,0.4);
}

.cta-note {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--text3);
  position: relative;
}

/* ─── FOOTER ─── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy { font-size: 0.85rem; color: var(--text3); }
.footer-copy span { color: var(--accent2); }

.footer-links { display: flex; gap: 1.5rem; }

.footer-links a {
  font-size: 0.85rem;
  color: var(--text3);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text); }

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.eveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ─── MOBILE MENU ─── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: rgba(8,8,16,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 2rem;
  z-index: 999;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  color: var(--text2);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--text); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .services-layout { grid-template-columns: 1fr; }
  .services-visual { display: none; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-6px); }
}

@media (max-width: 640px) {
  nav { display: none; }
  .burger { display: flex; }
  .hero-stats { gap: 1.5rem; }
  .projects-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 3rem 1.5rem; }
}

/* ─── IMÁGENES PROYECTOS ─── */
.project-thumb-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.project-thumb-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.5s ease;
}

.project-card:hover .project-thumb-overlay img {
  transform: scale(1.05);
}