:root {
  --bg: #080c0c;
  --bg2: #0d1313;
  --bg3: #111818;
  --green: #00ff9c;
  --green-dim: rgba(0,255,156,0.12);
  --green-glow: rgba(0,255,156,0.35);
  --text: #e8f0ee;
  --muted: #5a7068;
  --border: rgba(0,255,156,0.15);
  --card: rgba(13,22,20,0.85);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Mono', monospace;
  overflow-x: hidden;
  cursor: auto;
}

@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }
}

/* CUSTOM CURSOR */
.cursor {
  position: fixed;
  width: 10px; height: 10px;
  background: var(--green);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, width 0.2s, height 0.2s, opacity 0.2s;
  box-shadow: 0 0 12px var(--green);
}
@media (hover: none) and (pointer: coarse) {
  .cursor { display: none; }
}

.cursor-ring {
  position: fixed;
  width: 32px; height: 32px;
  border: 1px solid rgba(0,255,156,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, width 0.25s, height 0.25s;
}
@media (hover: none) and (pointer: coarse) {
  .cursor-ring { display: none; }
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  height: 64px;
  background: rgba(8,12,12,0.85);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
}
.logo span { color: var(--green); }

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  position: relative;
  transition: color 0.25s;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--green);
  transition: width 0.3s;
  box-shadow: 0 0 6px var(--green);
}
.nav-links a:hover { color: var(--green); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--green);
  padding: 0.5rem 1.2rem;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 500;
  transition: box-shadow 0.25s, transform 0.2s;
}
.nav-cta:hover {
  box-shadow: 0 0 20px var(--green-glow);
  transform: translateY(-1px);
}

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--text); transition: 0.3s; }

/* HERO */
#home {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 100px 5% 60px;
}

canvas#particles {
  position: absolute; inset: 0;
  pointer-events: none;
}

/* Grid lines */
.grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,255,156,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,156,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Radial glow */
.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,255,156,0.07) 0%, transparent 65%);
  top: 50%; left: 40%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: glow-pulse 4s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%,100% { opacity: 0.6; transform: translate(-50%,-50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%,-50%) scale(1.08); }
}

.hero-inner {
  position: relative; z-index: 2;
  max-width: 1100px; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid var(--border);
  padding: 0.35rem 0.9rem;
  border-radius: 2px;
  margin-bottom: 1.8rem;
  background: var(--green-dim);
}
.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
  box-shadow: 0 0 8px var(--green);
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }

h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1.2rem;
}
h1 .accent { color: var(--green); display: block; }

.hero-sub {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: var(--muted);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 2.4rem;
}

.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--green);
  border: none;
  padding: 0.85rem 2rem;
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
  transition: box-shadow 0.25s, transform 0.2s;
  /* Prevenir efectos de tap en móvil */
  -webkit-tap-highlight-color: transparent;
  /* Mínimo de 44px para accesibilidad táctil */
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-primary:hover {
  box-shadow: 0 0 28px var(--green-glow), 0 0 60px rgba(0,255,156,0.15);
  transform: translateY(-2px);
}
@media (hover: none) and (pointer: coarse) {
  .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 0 20px var(--green-glow);
  }
}

.btn-outline {
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  background: transparent;
  border: 1px solid var(--border);
  padding: 0.85rem 2rem;
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s, transform 0.2s;
  -webkit-tap-highlight-color: transparent;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-outline:hover {
  border-color: var(--green);
  background: var(--green-dim);
  box-shadow: 0 0 16px var(--green-dim);
  transform: translateY(-2px);
}
@media (hover: none) and (pointer: coarse) {
  .btn-outline:active {
    transform: translateY(0);
    box-shadow: 0 0 12px var(--green-dim);
  }
}

/* Hero Visual / Terminal */
.hero-visual {
  position: relative;
}
.terminal {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0,255,156,0.08), 0 30px 80px rgba(0,0,0,0.5);
  animation: float 5s ease-in-out infinite;
}
@keyframes float {
  0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)}
}
.terminal-bar {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1rem;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid var(--border);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.r { background: #ff5f57; }
.dot.y { background: #ffbd2e; }
.dot.g { background: #28c840; }
.terminal-title { font-size: 0.72rem; color: var(--muted); margin-left: auto; margin-right: auto; letter-spacing: 0.1em; }
.terminal-body { padding: 1.4rem 1.6rem; font-size: 0.8rem; line-height: 2; }
.t-line { display: block; }
.t-line .prompt { color: var(--green); }
.t-line .cmd { color: #a8d8c8; }
.t-line .out { color: var(--muted); }
.t-line .val { color: #7dd6ff; }
.t-line .str { color: #ffd580; }
.t-cursor {
  display: inline-block; width: 8px; height: 14px;
  background: var(--green); margin-left: 2px;
  animation: cursor-blink 1s step-end infinite;
  vertical-align: middle;
}
@keyframes cursor-blink { 0%,100%{opacity:1} 50%{opacity:0} }

.stats-row {
  display: flex; gap: 1.5rem; margin-top: 1.8rem;
  flex-wrap: wrap;
}
.stat {
  border: 1px solid var(--border);
  padding: 1rem 1.4rem;
  border-radius: 4px;
  background: var(--card);
  text-align: center;
  flex: 1; min-width: 90px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.stat:hover {
  border-color: var(--green);
  box-shadow: 0 0 20px var(--green-dim);
}
.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem; font-weight: 800;
  color: var(--green);
  display: block;
}
.stat-label { font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }

/* SECTIONS SHARED */
section { padding: 100px 5%; }
.section-label {
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--green); margin-bottom: 0.7rem;
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; letter-spacing: -0.02em;
  line-height: 1.1; color: var(--text);
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 0.9rem; color: var(--muted); line-height: 1.8;
  max-width: 520px; margin-bottom: 3.5rem;
}
.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }

/* TECH SECTION */
#technologies { background: var(--bg2); }

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.2rem;
}

.tech-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.6rem 1.4rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  cursor: default;
}
.tech-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.tech-card:hover {
  border-color: rgba(0,255,156,0.5);
  box-shadow: 0 0 30px rgba(0,255,156,0.1), 0 0 0 1px rgba(0,255,156,0.08);
  transform: translateY(-4px);
}
.tech-card:hover::before { opacity: 1; }

.tech-icon {
  font-size: 2rem; margin-bottom: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: 8px;
  background: var(--green-dim);
  transition: background 0.3s;
}
.tech-card:hover .tech-icon { background: rgba(0,255,156,0.2); }

.tech-name {
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem; font-weight: 700;
  color: var(--text); margin-bottom: 0.4rem;
}
.tech-desc { font-size: 0.72rem; color: var(--muted); line-height: 1.6; }

/* INDUSTRIES */
#industries { background: var(--bg); }

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.ind-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem 1.8rem;
  position: relative; overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  cursor: default;
}
.ind-card::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(0,255,156,0.06), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}
.ind-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,255,156,0.4);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 30px rgba(0,255,156,0.08);
}
.ind-card:hover::after { opacity: 1; }

.ind-icon {
  font-size: 2.2rem; margin-bottom: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,255,156,0.12), rgba(0,255,156,0.04));
  border: 1px solid var(--border);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.ind-card:hover .ind-icon {
  border-color: rgba(0,255,156,0.5);
  box-shadow: 0 0 20px rgba(0,255,156,0.15);
}
.ind-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem; font-weight: 700;
  color: var(--text); margin-bottom: 0.5rem;
}
.ind-sub { font-size: 0.75rem; color: var(--green); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.8rem; }
.ind-desc { font-size: 0.8rem; color: var(--muted); line-height: 1.7; }

/* CONTACT */
#contact { background: var(--bg2); }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: start;
  max-width: 1000px;
}

.contact-left h2 { margin-bottom: 1rem; }
.contact-left p { font-size: 0.85rem; color: var(--muted); line-height: 1.8; margin-bottom: 2.5rem; }

.contact-links { display: flex; flex-direction: column; gap: 1rem; }
.c-link {
  display: flex; align-items: center; gap: 0.9rem;
  font-size: 0.82rem; color: var(--muted);
  text-decoration: none;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--card);
  transition: color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.c-link:hover {
  color: var(--green);
  border-color: rgba(0,255,156,0.4);
  box-shadow: 0 0 16px var(--green-dim);
}
.c-link svg { flex-shrink: 0; }

.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted);
}
.form-group input,
.form-group textarea {
  font-family: 'DM Mono', monospace;
  font-size: 0.85rem;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.85rem 1rem;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  resize: none;
  /* Prevenir zoom automático en iOS */
  font-size: 16px;
}
@media (max-width: 600px) {
  .form-group input,
  .form-group textarea {
    font-size: 16px;
  }
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 16px var(--green-dim);
}
.form-group textarea { min-height: 130px; }

.form-submit {
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--bg); background: var(--green);
  border: none; padding: 1rem; border-radius: 4px;
  cursor: pointer; font-weight: 500;
  transition: box-shadow 0.25s, transform 0.2s;
  margin-top: 0.5rem;
  -webkit-tap-highlight-color: transparent;
  min-height: 44px;
  width: 100%;
  font-size: 16px;
}
.form-submit:hover {
  box-shadow: 0 0 30px var(--green-glow);
  transform: translateY(-2px);
}
.form-submit:active {
  transform: translateY(0);
}
@media (max-width: 600px) {
  .form-submit { font-size: 14px; min-height: 48px; }
}

/* FOOTER */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 2.5rem 5%;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem;
}
.footer-brand {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1rem;
  color: var(--text);
}
.footer-brand span { color: var(--green); }
.footer-copy { font-size: 0.7rem; color: var(--muted); margin-top: 0.2rem; }

.footer-links { display: flex; gap: 1.8rem; list-style: none; }
.footer-links a {
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--green); }

.footer-icons { display: flex; gap: 1rem; }
.footer-icons a {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); text-decoration: none;
  transition: color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.footer-icons a:hover {
  color: var(--green);
  border-color: rgba(0,255,156,0.4);
  box-shadow: 0 0 12px var(--green-dim);
}

/* REVEAL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* NOISE OVERLAY */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9990;
  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.025'/%3E%3C/svg%3E");
  opacity: 0.4;
}

/* DIVIDER */
.section-divider {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--green), transparent);
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 8px var(--green);
}
.section-divider.left { margin: 0 0 1.5rem; }

/* SCROLL TO TOP BUTTON */
.scroll-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  background: var(--green);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center; justify-content: center;
  z-index: 999;
  box-shadow: 0 0 20px var(--green-glow);
  transition: all 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}
.scroll-to-top.show { display: flex; }
.scroll-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 30px var(--green-glow);
}
.scroll-to-top:active {
  transform: translateY(-2px);
}
.scroll-to-top svg {
  width: 20px; height: 20px;
  stroke: var(--bg);
  stroke-width: 2;
  fill: none;
}
@media (max-width: 600px) {
  .scroll-to-top {
    bottom: 1.5rem; right: 1.5rem;
    width: 40px; height: 40px;
  }
}

/* MOBILE NAV */
.mobile-menu {
  display: none;
  position: fixed; top: 64px; left: 0; right: 0;
  background: rgba(8,12,12,0.97);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 5%;
  z-index: 999;
  flex-direction: column; gap: 1.2rem;
}
.mobile-menu a {
  font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--green); }
.mobile-menu.open { display: flex; }

/* Reducir animaciones en dispositivos de bajo rendimiento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* RESPONSIVE - TABLET (900px y menos) */
@media (max-width: 900px) {
  nav { padding: 0 3%; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  
  #home { padding: 100px 3% 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
  .hero-glow { width: 400px; height: 400px; }
  
  h1 { font-size: clamp(2rem, 6vw, 3.5rem); }
  .hero-sub { margin-bottom: 1.8rem; }
  .stats-row { gap: 1rem; }
  .stat { min-width: 80px; padding: 0.8rem 1rem; }
  
  section { padding: 80px 3%; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-form { margin-top: 2rem; }
  
  footer { flex-direction: column; align-items: flex-start; gap: 2rem; padding: 2rem 3%; }
  .footer-links { flex-wrap: wrap; gap: 1.2rem; }
}

/* RESPONSIVE - MÓVIL GRANDE (720px) */
@media (max-width: 720px) {
  nav { height: 56px; padding: 0 4%; }
  .logo { font-size: 1rem; }
  
  .mobile-menu {
    position: fixed; top: 56px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(8,12,12,0.95);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
    gap: 0;
    max-height: calc(100vh - 56px);
    overflow-y: auto;
    z-index: 999;
  }
  .mobile-menu a {
    padding: 1rem 4%;
    border-bottom: 1px solid var(--border);
    display: block;
  }
  
  #home { padding: 80px 4% 50px; }
  h1 { font-size: clamp(1.8rem, 7vw, 3rem); margin-bottom: 1rem; }
  .hero-sub { font-size: 0.9rem; margin-bottom: 1.5rem; }
  .hero-tag { font-size: 0.65rem; padding: 0.3rem 0.8rem; margin-bottom: 1.5rem; }
  .hero-btns { gap: 0.8rem; }
  .btn-primary, .btn-outline { padding: 0.75rem 1.5rem; font-size: 0.7rem; }
  
  section { padding: 70px 4%; }
  .section-title { font-size: clamp(1.5rem, 5vw, 2.5rem); margin-bottom: 0.8rem; }
  .section-sub { font-size: 0.85rem; margin-bottom: 2.5rem; }
  
  .tech-grid { grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
  .tech-card { padding: 1.2rem; }
  .tech-icon { font-size: 1.8rem; margin-bottom: 0.8rem; }
  .tech-name { font-size: 0.9rem; margin-bottom: 0.4rem; }
  .tech-desc { font-size: 0.7rem; }
  
  .industries-grid { grid-template-columns: 1fr; }
  .ind-card { padding: 1.5rem; }
  .ind-icon { width: 48px; height: 48px; font-size: 1.8rem; }
  .ind-title { font-size: 1rem; }
  .ind-desc { font-size: 0.75rem; }
  
  .contact-grid { gap: 2rem; }
  .contact-left h2 { font-size: 1.8rem; }
  .contact-form { gap: 0.9rem; }
  .form-group label { font-size: 0.65rem; }
  .form-group input, .form-group textarea { padding: 0.7rem 0.8rem; font-size: 0.8rem; }
  .form-group textarea { min-height: 100px; }
  .form-submit { padding: 0.85rem; font-size: 0.75rem; }
  
  footer { gap: 1.5rem; }
  .footer-links { gap: 1rem; }
  .footer-icons a { width: 32px; height: 32px; }
}

/* RESPONSIVE - MÓVIL (600px) */
@media (max-width: 600px) {
  nav { height: 52px; padding: 0 3%; }
  .logo { font-size: 0.9rem; }
  .hamburger { gap: 4px; }
  .hamburger span { width: 20px; height: 1.25px; }
  
  #home { padding: 70px 3% 40px; }
  h1 { font-size: clamp(1.6rem, 8vw, 2.5rem); line-height: 1.1; }
  .hero-sub { font-size: 0.85rem; line-height: 1.6; max-width: 100%; }
  .hero-tag { margin-bottom: 1.2rem; }
  .hero-btns { flex-direction: column; gap: 0.6rem; }
  .btn-primary, .btn-outline { width: 100%; padding: 0.75rem 1.5rem; }
  
  .stat { min-width: auto; padding: 0.7rem 1rem; }
  .stat-num { font-size: 1.4rem; }
  .stat-label { font-size: 0.6rem; }
  
  section { padding: 60px 3%; }
  .section-label { font-size: 0.65rem; margin-bottom: 0.5rem; }
  .section-title { font-size: clamp(1.4rem, 6vw, 2.2rem); margin-bottom: 0.6rem; }
  .section-sub { font-size: 0.8rem; max-width: 100%; margin-bottom: 2rem; line-height: 1.6; }
  
  .tech-grid { grid-template-columns: 1fr; gap: 0.8rem; }
  .tech-card { padding: 1rem; border-radius: 4px; }
  .tech-icon { font-size: 1.6rem; margin-bottom: 0.6rem; }
  .tech-name { font-size: 0.85rem; }
  .tech-desc { font-size: 0.65rem; line-height: 1.5; }
  
  .industries-grid { gap: 1rem; }
  .ind-card { padding: 1.2rem; }
  .ind-icon { width: 44px; height: 44px; font-size: 1.6rem; }
  .ind-title { font-size: 0.95rem; margin-bottom: 0.3rem; }
  .ind-sub { font-size: 0.65rem; margin-bottom: 0.6rem; }
  .ind-desc { font-size: 0.7rem; line-height: 1.5; }
  
  .contact-grid { gap: 1.5rem; }
  .contact-links { gap: 0.8rem; }
  .c-link { padding: 0.7rem 0.9rem; font-size: 0.75rem; gap: 0.7rem; }
  .c-link svg { width: 14px; height: 14px; }
  
  .contact-left h2 { font-size: 1.6rem; }
  .contact-left p { font-size: 0.8rem; margin-bottom: 1.5rem; }
  
  .contact-form { gap: 0.8rem; }
  .form-group label { font-size: 0.6rem; }
  .form-group input, .form-group textarea { padding: 0.65rem 0.75rem; font-size: 0.75rem; }
  .form-group textarea { min-height: 90px; }
  .form-submit { padding: 0.8rem; font-size: 0.7rem; }
  
  footer { flex-direction: column; align-items: stretch; padding: 1.5rem 3%; gap: 1.5rem; }
  .footer-brand { font-size: 0.9rem; }
  .footer-copy { font-size: 0.65rem; }
  .footer-links { flex-direction: column; gap: 0.8rem; }
  .footer-links a { font-size: 0.65rem; }
  .footer-icons { gap: 0.8rem; }
  .footer-icons a { width: 30px; height: 30px; font-size: 0.7rem; }
  
  #notification { right: 10px !important; left: 10px !important; max-width: none; padding: 0.8rem 1rem; font-size: 0.8rem; }
}

/* RESPONSIVE - MÓVIL PEQUEÑO (480px) */
@media (max-width: 480px) {
  nav { height: 48px; }
  .logo { font-size: 0.85rem; }
  
  #home { padding: 60px 2% 35px; }
  h1 { font-size: clamp(1.4rem, 10vw, 2.2rem); }
  .hero-sub { font-size: 0.8rem; }
  
  section { padding: 50px 2%; }
  .section-title { font-size: clamp(1.2rem, 7vw, 2rem); }
  .section-sub { font-size: 0.75rem; margin-bottom: 1.5rem; }
  
  .tech-card { padding: 0.9rem; }
  .tech-icon { font-size: 1.4rem; margin-bottom: 0.5rem; }
  .tech-name { font-size: 0.8rem; }
  .tech-desc { font-size: 0.6rem; }
  
  .ind-card { padding: 1rem; }
  .ind-icon { width: 40px; height: 40px; font-size: 1.4rem; }
  .ind-title { font-size: 0.9rem; }
  .ind-desc { font-size: 0.65rem; }
  
  .contact-form { gap: 0.7rem; }
  .form-group input, .form-group textarea { padding: 0.6rem 0.7rem; font-size: 0.7rem; }
  .form-group textarea { min-height: 80px; }
  
  footer { padding: 1.2rem 2%; }
}

/* RESPONSIVE - MODO TABLET LANDSCAPE */
@media (max-height: 600px) {
  nav { height: 50px; }
  #home { padding: 60px 5% 40px; }
  h1 { font-size: 2.5rem; margin-bottom: 0.8rem; }
  .hero-sub { margin-bottom: 1rem; font-size: 0.9rem; }
  section { padding: 50px 5%; }
}
