/* ═══════════════════════════════════════════
   SAFE PIXELS — styles.css
   Tema: Dark Tech / Futurista Elegante
   Fuentes: Syne (display) + DM Sans (body)
═══════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --bg-dark:    #080c14;
  --bg-card:    #0d1421;
  --bg-card-2:  #111827;
  --accent:     #00d4ff;
  --accent-2:   #0066ff;
  --accent-glow:#00d4ff33;
  --success:    #00e5a0;
  --text-primary: #f0f4ff;
  --text-muted:   #7a8db3;
  --border:     rgba(0,212,255,0.12);
  --border-hover: rgba(0,212,255,0.35);
  --radius:     16px;
  --radius-sm:  8px;
  --shadow-card: 0 4px 32px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px rgba(0,212,255,0.15);
  --nav-h: 72px;
  font-size: 16px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
ul { list-style: none; }
em { font-style: normal; color: var(--accent); }

/* ── Typography ── */
h1, h2, h3, h4, h5 { font-family: 'Syne', sans-serif; line-height: 1.15; }
h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { color: var(--text-muted); }

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: var(--accent);
  color: #000;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all .25s;
  letter-spacing: .02em;
}
.btn-primary:hover {
  background: #fff;
  box-shadow: 0 0 30px var(--accent-glow);
  transform: translateY(-2px);
}
.btn-ghost {
  display: inline-block;
  padding: 14px 28px;
  color: var(--text-primary);
  font-weight: 500;
  border: 1.5px solid var(--border-hover);
  border-radius: 50px;
  transition: all .25s;
}
.btn-ghost:hover {
  background: var(--border);
  border-color: var(--accent);
  color: var(--accent);
}
.btn-sm {
  display: inline-block;
  padding: 8px 20px;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-size: .85rem;
  border-radius: 50px;
  transition: all .2s;
}
.btn-sm:hover { background: #fff; }

/* ── Section shared ── */
section { padding: 100px 5%; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-header p { margin-top: 14px; font-size: 1.05rem; }
.section-tag {
  display: inline-block;
  padding: 5px 16px;
  background: var(--accent-glow);
  color: var(--accent);
  font-size: .8rem;
  font-weight: 700;
  border-radius: 50px;
  border: 1px solid var(--border-hover);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.section-header.light h2, .section-header.light p { color: #fff; }

/* ══════════════════════════════════════════
   NAV
══════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: rgba(8,12,20,0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all .3s;
}
#navbar.scrolled {
  background: rgba(8,12,20,0.96);
  border-bottom-color: var(--border-hover);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 5%;
  height: var(--nav-h);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
}
.logo strong { color: var(--accent); }
.logo-icon { color: var(--accent); font-size: 1.4rem; line-height: 1; }
.nav-links {
  display: flex;
  gap: 6px;
  margin-left: auto;
}
.nav-links a {
  padding: 8px 16px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: all .2s;
}
.nav-links a:hover { color: var(--text-primary); background: var(--border); }
.nav-cta {
  padding: 10px 24px;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-size: .85rem;
  border-radius: 50px;
  transition: all .2s;
  white-space: nowrap;
}
.nav-cta:hover { background: #fff; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all .3s;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 5%;
  border-top: 1px solid var(--border);
  gap: 4px;
}
.mobile-menu a {
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background .2s;
}
.mobile-menu a:hover { background: var(--border); }
.mobile-menu.open { display: flex; }

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}
.hero-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent);
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .18;
}
.glow-1 {
  width: 600px; height: 600px;
  background: var(--accent-2);
  top: -200px; left: -200px;
}
.glow-2 {
  width: 400px; height: 400px;
  background: var(--accent);
  top: 200px; right: 5%;
}
.hero-content { display: flex; flex-direction: column; gap: 24px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--accent-glow);
  border: 1px solid var(--border-hover);
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--accent);
  width: fit-content;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}
.hero-title { font-weight: 800; letter-spacing: -.03em; }
.hero-sub { font-size: 1.1rem; max-width: 480px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 12px;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat strong { font-family: 'Syne', sans-serif; font-size: 1.6rem; color: var(--text-primary); }
.stat span { font-size: .8rem; color: var(--text-muted); }
.stat-div { width: 1px; height: 40px; background: var(--border-hover); }

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.monitor-frame {
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow-glow), var(--shadow-card);
  width: 100%;
  max-width: 420px;
}
.monitor-screen {
  background: #020408;
  border-radius: 10px;
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}
.scan-line {
  position: absolute;
  top: -100%;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(transparent, var(--accent), transparent);
  animation: scan 3s linear infinite;
  z-index: 2;
}
@keyframes scan {
  from { top: -5%; } to { top: 105%; }
}
.monitor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  height: 100%;
  gap: 2px;
  padding: 2px;
}
.feed {
  background: #0a1020;
  border: 1px solid rgba(0,212,255,.08);
  border-radius: 4px;
  display: flex;
  align-items: flex-end;
  padding: 6px 8px;
  font-size: .65rem;
  font-family: 'Syne', sans-serif;
  color: var(--accent);
  position: relative;
  overflow: hidden;
}
.feed::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,212,255,.025) 2px,
    rgba(0,212,255,.025) 4px
  );
}
.feed-1::after { content: ''; position: absolute; top: 30%; left: 40%; width: 16px; height: 16px; border-radius: 50%; background: rgba(0,212,255,.15); box-shadow: 0 0 12px var(--accent); }
.monitor-base {
  height: 12px;
  background: linear-gradient(var(--bg-card-2), var(--bg-dark));
  border-radius: 0 0 8px 8px;
  margin-top: 8px;
}
.cam-card, .alert-card {
  position: absolute;
  background: var(--bg-card-2);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .8rem;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-card);
  z-index: 2;
  white-space: nowrap;
}
.cam-card { top: -20px; right: -30px; }
.alert-card { bottom: 20px; left: -30px; color: var(--success); border-color: rgba(0,229,160,.25); }
.cam-icon { font-size: 1.2rem; }
.cam-info { display: flex; flex-direction: column; gap: 2px; }
.cam-label { font-size: .78rem; font-weight: 600; }
.cam-status { font-size: .7rem; font-weight: 700; }
.cam-status.live { color: #ff4444; animation: blink 1.5s infinite; }
@keyframes blink { 50% { opacity: .4; } }

.floating { animation: float1 4s ease-in-out infinite; }
.floating-2 { animation: float2 4s ease-in-out 2s infinite; }
@keyframes float1 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes float2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* ══════════════════════════════════════════
   SERVICIOS
══════════════════════════════════════════ */
#servicios { background: var(--bg-dark); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: all .3s;
  overflow: hidden;
}
.service-card::after {
  content: attr(data-index);
  position: absolute;
  bottom: -10px;
  right: 16px;
  font-family: 'Syne', sans-serif;
  font-size: 5rem;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  pointer-events: none;
}
.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}
.service-card.featured {
  background: linear-gradient(135deg, #0d1f3c, #091424);
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(0,212,255,.12);
}
.service-card.featured:hover { transform: translateY(-8px); }
.featured-badge {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--accent);
  color: #000;
  font-size: .7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 50px;
  letter-spacing: .05em;
}
.service-icon {
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: var(--accent-glow);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-hover);
  padding: 10px;
}
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 { font-size: 1.25rem; }
.service-list { display: flex; flex-direction: column; gap: 8px; }
.service-list li {
  color: var(--text-muted);
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  font-size: .8rem;
}
.service-link {
  margin-top: auto;
  color: var(--accent);
  font-weight: 700;
  font-size: .9rem;
  transition: gap .2s;
  display: inline-flex;
  align-items: center;
}
.service-link:hover { opacity: .8; }

/* ══════════════════════════════════════════
   PRODUCTOS
══════════════════════════════════════════ */
#productos {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-card) 50%, var(--bg-dark) 100%);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.product-card {
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .3s;
}
.product-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}
.product-card.highlight {
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(0,212,255,.1);
}
.product-img {
  background: linear-gradient(135deg, #0d1f3c, #0a1520);
  padding: 32px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 140px;
}
.product-icon-wrap { font-size: 3rem; }
.product-badge-tag {
  position: absolute;
  top: 10px; right: 10px;
  background: var(--bg-dark);
  border: 1px solid var(--border-hover);
  color: var(--accent);
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
}
.product-badge-tag.popular {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}
.product-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.product-brand { font-size: .75rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; }
.product-body p { font-size: .85rem; line-height: 1.55; }
.product-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.product-price { font-family: 'Syne', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--text-primary); }
.product-price small { font-size: .7rem; color: var(--text-muted); }

/* ══════════════════════════════════════════
   NOSOTROS
══════════════════════════════════════════ */
#nosotros {
  background: var(--bg-dark);
  padding: 100px 5%;
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.about-text { display: flex; flex-direction: column; gap: 20px; }
.about-text h2 { font-size: clamp(2rem, 3.5vw, 2.6rem); }
.about-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}
.badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  font-weight: 500;
}
.badge-item span { color: var(--success); font-weight: 700; }
.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-metric {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all .3s;
}
.about-metric:hover { border-color: var(--border-hover); transform: scale(1.02); }
.about-metric.accent {
  background: linear-gradient(135deg, #0d1f3c, #091424);
  border-color: var(--border-hover);
}
.metric-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.metric-num span { font-size: 1.2rem; }
.metric-label { font-size: .85rem; color: var(--text-muted); }

/* ══════════════════════════════════════════
   TESTIMONIOS
══════════════════════════════════════════ */
#testimonios { background: var(--bg-card); overflow: hidden; }
.testimonials-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 8px 5% 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.testimonials-track::-webkit-scrollbar { display: none; }
.testimonial-card {
  min-width: 340px;
  max-width: 380px;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  scroll-snap-align: start;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color .3s;
}
.testimonial-card:hover { border-color: var(--border-hover); }
.stars { color: #f5a623; font-size: 1rem; letter-spacing: 2px; }
.testimonial-card p { font-size: .95rem; line-height: 1.7; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .8rem;
  color: #fff;
  flex-shrink: 0;
}
.testimonial-author div { display: flex; flex-direction: column; gap: 2px; }
.testimonial-author strong { font-size: .9rem; }
.testimonial-author span { font-size: .78rem; color: var(--text-muted); }
.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}
.testimonials-dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border-hover);
  cursor: pointer;
  transition: all .3s;
  padding: 0;
}
.testimonials-dots button.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* ══════════════════════════════════════════
   CONTACTO
══════════════════════════════════════════ */
#contacto { background: var(--bg-dark); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-info h2 { font-size: clamp(2rem, 3.5vw, 2.6rem); }
.contact-channels { display: flex; flex-direction: column; gap: 12px; }
.channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all .25s;
  cursor: pointer;
}
.channel:hover { border-color: var(--border-hover); transform: translateX(4px); }
.channel.whatsapp:hover { border-color: #25d366; background: rgba(37,211,102,.06); }
.channel.email:hover { border-color: var(--accent); }
.ch-icon { font-size: 1.4rem; }
.channel div { display: flex; flex-direction: column; gap: 2px; }
.channel strong { font-size: .9rem; }
.channel small { font-size: .78rem; color: var(--text-muted); }

/* Form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
label { font-size: .85rem; font-weight: 600; color: var(--text-primary); }
input, select, textarea {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem;
  transition: border-color .2s;
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
input::placeholder, textarea::placeholder { color: #3a4a6a; }
select { cursor: pointer; }
select option { background: var(--bg-card); }
textarea { resize: vertical; min-height: 110px; }
.full-btn { width: 100%; text-align: center; font-size: 1rem; padding: 16px; }
.form-message {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  text-align: center;
}
.form-message.success { background: rgba(0,229,160,.1); border: 1px solid rgba(0,229,160,.3); color: var(--success); }
.form-message.error { background: rgba(255,60,60,.1); border: 1px solid rgba(255,60,60,.3); color: #ff6060; }
.hidden { display: none !important; }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 60px 5% 24px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand p { font-size: .9rem; max-width: 280px; }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 36px; height: 36px;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  transition: all .2s;
}
.social-links a:hover { border-color: var(--accent); color: var(--accent); }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links h5 { font-family: 'Syne', sans-serif; font-size: .85rem; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.footer-links a { font-size: .88rem; color: var(--text-muted); transition: color .2s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  max-width: 1200px;
  margin: 0 auto;
  font-size: .82rem;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  #hero { grid-template-columns: 1fr; padding-top: calc(var(--nav-h) + 32px); }
  .hero-visual { display: none; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .about-cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  section { padding: 72px 4%; }
  .products-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-ghost { text-align: center; }
}

/* ══════════════════════════════════════════
   TRABAJOS
══════════════════════════════════════════ */
#trabajos {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-dark) 100%);
}
.trabajos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto 56px;
}
.trabajo-card {
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: all .35s cubic-bezier(.25,.46,.45,.94);
  cursor: pointer;
}
.trabajo-card:hover {
  border-color: var(--accent);
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0,212,255,.15), 0 4px 16px rgba(0,0,0,.5);
}
.trabajo-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #0a1020;
}
.trabajo-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform .5s ease;
  filter: brightness(.9);
}
.trabajo-card:hover .trabajo-img-wrap img {
  transform: scale(1.06);
  filter: brightness(.6);
}
.trabajo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,212,255,.08);
  opacity: 0;
  transition: opacity .3s;
}
.trabajo-card:hover .trabajo-overlay { opacity: 1; }
.trabajo-visit {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #000;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  padding: 10px 22px;
  border-radius: 50px;
  transform: translateY(10px);
  transition: transform .3s;
}
.trabajo-card:hover .trabajo-visit { transform: translateY(0); }
.trabajo-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(8,12,20,.85);
  border: 1px solid var(--border-hover);
  color: var(--accent);
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: .06em;
  backdrop-filter: blur(8px);
}
.trabajo-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.trabajo-body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}
.trabajo-body p {
  font-size: .85rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.trabajo-url {
  font-size: .75rem;
  color: var(--accent);
  font-weight: 600;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  display: block;
  opacity: .7;
  transition: opacity .2s;
}
.trabajo-card:hover .trabajo-url { opacity: 1; }
.trabajos-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 8px;
}
.trabajos-cta p {
  font-size: 1.1rem;
  color: var(--text-primary);
  font-weight: 500;
}

/* Responsive trabajos */
@media (max-width: 1024px) {
  .trabajos-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .trabajos-grid { grid-template-columns: 1fr; }
}