/* ============================================================
   GravityWeb — style.css
   Estilos principales del sitio
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #040810;
  --surface: #080f1e;
  --cyan: #c8d400;
  --violet: #7c3aed;
  --pink: #f000b8;
  --text: #f0f4f8;
  --muted: #94a3b8;
  --border: rgba(200, 212, 0, 0.15);
  --fs: 16px;
}

html {
  scroll-behavior: smooth;
  font-size: var(--fs);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Syne', sans-serif;
  overflow-x: hidden;
  cursor: none;
}

/* Ocultar cursor nativo en todos los elementos — SOLO desktop */
@media (hover: hover) and (pointer: fine) {
  *,
  *::before,
  *::after {
    cursor: none !important;
  }
}

/* En móvil/táctil: ocultar los elementos del cursor personalizado */
@media (hover: none), (pointer: coarse) {
  #cursor,
  #cursorRing {
    display: none !important;
  }
}

/* ── CURSOR PERSONALIZADO ─────────────────────────────────── */
#cursor {
  width: 12px;
  height: 12px;
  background: #c8d400;
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 99999;
  box-shadow: 0 0 10px #c8d400;
  transition: width 0.15s, height 0.15s;
}

#cursorRing {
  width: 36px;
  height: 36px;
  border: 2px solid #c8d400;
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 99998;
  transition: width 0.25s, height 0.25s;
}

/* ── GRID BACKGROUND ─────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 212, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 212, 0, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ── GLOW ORBS ───────────────────────────────────────────── */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  animation: drift 20s ease-in-out infinite alternate;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: rgba(124, 58, 237, 0.18);
  top: -150px;
  right: -100px;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(200, 212, 0, 0.08);
  bottom: 20%;
  left: -100px;
  animation-delay: -8s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: rgba(200, 212, 0, 0.06);
  top: 50%;
  right: 10%;
  animation-delay: -14s;
}

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, 40px) scale(1.1); }
}

/* ── NAV ─────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(4, 8, 16, 0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  color: var(--text);
}

.logo span { color: var(--cyan); }

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--cyan);
  transition: width 0.3s;
}

.nav-links a:hover { color: var(--cyan); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  padding: 10px 24px;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: 'Orbitron', sans-serif;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.nav-cta:hover {
  background: var(--cyan);
  color: var(--bg);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.4);
}

/* ── HAMBURGER BUTTON ────────────────────────────────────── */
#nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  gap: 5px;
  padding: 8px;
  z-index: 200;
  flex-shrink: 0;
}

#nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

#nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#nav-toggle.open span:nth-child(2) { opacity: 0; width: 0; }
#nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU ─────────────────────────────────────────── */
#mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 16, 0.97);
  backdrop-filter: blur(20px);
  z-index: 150;   /* encima del nav (100) pero debajo del toggle (200) */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: fadeUp 0.3s ease;
}

#mobile-menu.open { display: flex; }

#mobile-menu ul {
  list-style: none;
  text-align: center;
}

#mobile-menu ul li { margin: 20px 0; }

#mobile-menu ul li a {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}

#mobile-menu ul li a:hover { color: var(--cyan); }

.mob-cta {
  margin-top: 32px;
  padding: 14px 40px;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, color 0.2s;
}

.mob-cta:hover {
  background: var(--cyan);
  color: var(--bg);
}

/* ── SECTIONS WRAPPER ────────────────────────────────────── */
section { position: relative; z-index: 1; }

/* ── HERO ────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 60px 80px;
  overflow: hidden;
}

.hero-content { max-width: 780px; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 32px;
  animation: fadeUp 0.8s ease both;
}

.hero-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}

h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  animation: fadeUp 0.8s 0.1s ease both;
}

h1 .line-accent { color: var(--cyan); display: block; }

h1 .line-ghost {
  -webkit-text-stroke: 1px rgba(0, 229, 255, 0.3);
  color: transparent;
  display: block;
}

.hero-sub {
  margin-top: 28px;
  max-width: 520px;
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 400;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-actions {
  margin-top: 48px;
  display: flex;
  gap: 16px;
  align-items: center;
  animation: fadeUp 0.8s 0.3s ease both;
}

.btn-primary {
  padding: 16px 40px;
  background: var(--cyan);
  color: var(--bg);
  text-decoration: none;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.2s;
}

.btn-primary:hover {
  box-shadow: 0 0 50px rgba(0, 229, 255, 0.5);
  transform: translateY(-2px);
}

.btn-ghost {
  padding: 16px 40px;
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ── HERO VISUAL ─────────────────────────────────────────── */
.hero-visual {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  max-width: 700px;
  opacity: 0.6;
  animation: fadeUp 1s 0.4s ease both;
}

.hex-grid {
  display: grid;
  grid-template-columns: repeat(6, 60px);
  gap: 6px;
  padding: 20px;
}

.hex {
  width: 60px;
  height: 68px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: var(--surface);
  border: 1px solid var(--border);
  animation: hexPulse var(--d, 4s) ease-in-out infinite var(--delay, 0s) alternate;
}

.hex.lit  { background: rgba(0, 229, 255, 0.15); }
.hex.lit2 { background: rgba(124, 58, 237, 0.2); }

@keyframes hexPulse {
  from { opacity: 0.3; }
  to   { opacity: 1; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── HERO IMAGE PANEL ────────────────────────────────────── */
.hero-img-panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 42%;
  overflow: hidden;
  z-index: 0;
}

.hero-img-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3) saturate(0.4);
}

.hero-img-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 40%),
              linear-gradient(0deg, var(--bg) 0%, transparent 30%);
}

.hero-img-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.08), rgba(124, 58, 237, 0.12));
  mix-blend-mode: screen;
}

.hero-img-lines {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(200, 212, 0, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 212, 0, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ── STATS BAR ───────────────────────────────────────────── */
.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(8, 15, 30, 0.8);
  padding: 36px 60px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.stat { text-align: center; }

.stat-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--cyan);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 6px;
}

.stat-div {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ── BLOQUE DE VALOR ─────────────────────────────────────── */
.valor-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(0, 229, 255, 0.03);
  padding: 28px 60px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.valor-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text);
}

.valor-check {
  color: var(--cyan);
  font-weight: 700;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
}

.valor-div {
  width: 1px;
  height: 30px;
  background: var(--border);
}

/* ── SECTION COMMONS ─────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
  font-family: 'Orbitron', sans-serif;
}

h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-sub {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 500px;
  margin-inline: auto;
  line-height: 1.8;
}

/* ── SERVICIOS ───────────────────────────────────────────── */
#servicios { padding: 120px 60px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2px;
  border: 1px solid var(--border);
}

.service-card {
  background: var(--surface);
  padding: 48px 40px;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s;
}

.service-card:hover { border-color: var(--border); background: rgba(0, 229, 255, 0.04); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  font-size: 2rem;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
}

.service-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.72rem;
  color: var(--cyan);
  letter-spacing: 0.2em;
  margin-bottom: 16px;
  opacity: 0.8;
}

.service-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.service-desc { color: var(--muted); font-size: 0.95rem; line-height: 1.8; }

.service-tags {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 4px 10px;
  border: 1px solid var(--border);
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── PORTAFOLIO ──────────────────────────────────────────── */
#portafolio {
  padding: 120px 60px;
  background: linear-gradient(180deg, transparent, rgba(124, 58, 237, 0.04), transparent);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 16px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  transition: border-color 0.3s;
}

.portfolio-item:hover { border-color: rgba(0, 229, 255, 0.4); }
.portfolio-item:nth-child(1) { grid-column: span 7; }
.portfolio-item:nth-child(2) { grid-column: span 5; }
.portfolio-item:nth-child(3) { grid-column: span 4; }
.portfolio-item:nth-child(4) { grid-column: span 8; }

.portfolio-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.6s ease;
}

.portfolio-item:hover .portfolio-bg { transform: scale(1.04); }

.p1 .portfolio-bg { background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%); }
.p2 .portfolio-bg { background: linear-gradient(135deg, #0c1a1a 0%, #042020 100%); }
.p3 .portfolio-bg { background: linear-gradient(135deg, #1a0c1a 0%, #2d0f2d 100%); }
.p4 .portfolio-bg { background: linear-gradient(135deg, #0a1628 0%, #0f2645 100%); }

.portfolio-mock {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.3;
  font-family: 'Orbitron', sans-serif;
  font-size: 4rem;
  font-weight: 900;
  color: var(--cyan);
  letter-spacing: -0.05em;
}

.portfolio-info {
  position: relative;
  z-index: 2;
  padding: 28px;
  background: linear-gradient(0deg, rgba(4, 8, 16, 0.95), transparent);
  width: 100%;
}

.portfolio-cat {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 6px;
  font-family: 'Orbitron', sans-serif;
}

.portfolio-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.portfolio-hover {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 229, 255, 0.08);
  opacity: 0;
  transition: opacity 0.3s;
  border: 2px solid var(--cyan);
}

.portfolio-item:hover .portfolio-hover { opacity: 1; }

.hover-label {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  color: var(--cyan);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 10px 20px;
  border: 1px solid var(--cyan);
}

/* Imagen real en portfolio items */
.portfolio-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4) saturate(0.5);
  transition: transform 0.6s ease, filter 0.4s;
}

.portfolio-item:hover img {
  transform: scale(1.06);
  filter: brightness(0.5) saturate(0.7);
}

/* ── PROCESO ─────────────────────────────────────────────── */
#proceso {
  padding: 120px 60px;
  background: linear-gradient(180deg, transparent, rgba(0, 229, 255, 0.02), transparent);
}

.proceso-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 96px;
}

.proceso-img-wrap { position: relative; }

.proceso-img-wrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  filter: brightness(0.7) saturate(0.6);
  display: block;
}

.proceso-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.15), rgba(124, 58, 237, 0.1));
  z-index: 1;
  mix-blend-mode: screen;
}

.proceso-img-wrap::after {
  content: '';
  position: absolute;
  top: 16px;
  left: 16px;
  right: -16px;
  bottom: -16px;
  border: 1px solid var(--border);
  z-index: 0;
}

.proceso-img-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  z-index: 2;
  background: var(--bg);
  border: 1px solid var(--cyan);
  padding: 16px 24px;
  text-align: center;
}

.proceso-img-badge .badge-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--cyan);
  line-height: 1;
}

.proceso-img-badge .badge-label {
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 4px;
}

.proceso-text h2 { text-align: left; margin-bottom: 20px; }
.proceso-text p  { color: var(--muted); line-height: 1.8; margin-bottom: 32px; }

.steps-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

.steps-timeline::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), var(--cyan), transparent);
  z-index: 0;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
  transition: transform 0.3s;
}

.step-item:hover { transform: translateY(-6px); }

.step-circle {
  width: 72px;
  height: 72px;
  border: 1px solid var(--border);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.step-item:hover .step-circle {
  border-color: var(--cyan);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.2);
}

.step-circle::before {
  content: attr(data-num);
  position: absolute;
  top: -10px;
  right: -10px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.6rem;
  color: var(--cyan);
  background: var(--bg);
  padding: 2px 6px;
  border: 1px solid var(--cyan);
}

.step-icon { font-size: 1.6rem; }

.step-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.step-desc { font-size: 0.88rem; color: var(--muted); line-height: 1.7; }

/* ── GALERÍA TECH ─────────────────────────────────────────── */
#galeria { padding: 0 60px 120px; }

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 220px 220px;
  gap: 12px;
}

.galeria-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}

.galeria-item:first-child { grid-row: span 2; }

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5) saturate(0.5) hue-rotate(180deg);
  transition: filter 0.4s, transform 0.5s;
}

.galeria-item:hover img {
  filter: brightness(0.65) saturate(0.8) hue-rotate(180deg);
  transform: scale(1.04);
}

.galeria-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.05), rgba(124, 58, 237, 0.08));
  mix-blend-mode: screen;
  pointer-events: none;
}

.galeria-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(0deg, rgba(4, 8, 16, 0.9), transparent);
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: 'Orbitron', sans-serif;
}

/* ── TESTIMONIOS ─────────────────────────────────────────── */
#testimonios { padding: 120px 60px; }

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 40px;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}

.testimonial-card:hover {
  border-color: rgba(0, 229, 255, 0.25);
  transform: translateY(-4px);
}

.quote-mark {
  font-family: 'Orbitron', sans-serif;
  font-size: 4rem;
  color: var(--cyan);
  opacity: 0.15;
  line-height: 0;
  margin-bottom: 24px;
  display: block;
}

.testimonial-text {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 28px;
}

.testimonial-author { display: flex; align-items: center; gap: 14px; }

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.author-name { font-weight: 600; font-size: 0.9rem; }
.author-role { color: var(--muted); font-size: 0.78rem; margin-top: 2px; }
.stars { color: var(--cyan); font-size: 0.8rem; letter-spacing: 2px; margin-bottom: 16px; }

/* ── CONTACTO ────────────────────────────────────────────── */
#contacto { padding: 120px 60px; }

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info h2 { text-align: left; }
.contact-info .section-sub { margin-inline: 0; text-align: left; }

.contact-items {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  transition: border-color 0.3s;
}

.contact-item:hover { border-color: rgba(0, 229, 255, 0.3); }

.contact-item-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item-label {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.contact-item-value { font-size: 0.9rem; margin-top: 2px; }

/* ── FORM ────────────────────────────────────────────────── */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-input,
.form-textarea,
.form-select {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 18px;
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.08);
}

.form-textarea { resize: vertical; min-height: 140px; }

.form-submit {
  padding: 18px 40px;
  background: transparent;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
  align-self: flex-start;
}

.form-submit:hover {
  background: var(--cyan);
  color: var(--bg);
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.4);
}

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.footer-logo { font-family: 'Orbitron', sans-serif; font-size: 1rem; font-weight: 900; }
.footer-logo span { color: var(--cyan); }
.footer-copy { font-size: 0.78rem; color: var(--muted); }
.footer-links { display: flex; gap: 28px; }

.footer-links a {
  color: var(--muted);
  font-size: 0.78rem;
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links a:hover { color: var(--cyan); }

/* ── WHATSAPP FLOTANTE ───────────────────────────────────── */
#wa-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9995;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: transform 0.3s, box-shadow 0.3s;
  animation: waBounce 2.5s ease-in-out infinite;
}

#wa-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.7);
  animation: none;
}

#wa-btn svg { width: 30px; height: 30px; fill: white; }

#wa-tooltip {
  position: fixed;
  bottom: 36px;
  right: 96px;
  z-index: 9994;
  background: rgba(8, 15, 30, 0.95);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #f0f4f8;
  font-family: 'Syne', sans-serif;
  font-size: 0.82rem;
  padding: 8px 14px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}

#wa-tooltip::after {
  content: '';
  position: absolute;
  right: -7px;
  top: 50%;
  transform: translateY(-50%);
  border: 7px solid transparent;
  border-right: none;
  border-left-color: rgba(37, 211, 102, 0.4);
}

#wa-btn:hover + #wa-tooltip,
#wa-btn:focus + #wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes waBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* ── FONT SIZER ──────────────────────────────────────────── */
#font-sizer {
  position: fixed;
  top: 80px;
  right: 16px;
  z-index: 9990;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(8, 15, 30, 0.92);
  border: 1px solid var(--border);
  padding: 8px 12px;
  backdrop-filter: blur(12px);
}

#font-sizer span.fs-label {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.6rem;
  color: var(--muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-right: 4px;
}

#font-sizer button {
  width: 28px;
  height: 28px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: 'Syne', sans-serif;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

#font-sizer button:hover { border-color: var(--cyan); color: var(--cyan); }

#font-sizer span.fs-val {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  color: var(--cyan);
  min-width: 32px;
  text-align: center;
}

/* ── SCAN LINE EFFECT ────────────────────────────────────── */
@keyframes scanline {
  from { transform: translateY(-100%); }
  to   { transform: translateY(100vh); }
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  background: linear-gradient(transparent 50%, rgba(200, 212, 0, 0.012) 50%);
  background-size: 100% 4px;
  pointer-events: none;
  opacity: 0.4;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  .nav-links { display: none; }
  #nav-toggle { display: flex; }

  #hero,
  #servicios,
  #portafolio,
  #testimonios,
  #contacto,
  #proceso,
  #galeria { padding-inline: 24px; }

  .portfolio-item:nth-child(n) { grid-column: span 12; }
  .contact-wrapper { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
  footer { padding: 32px 24px; flex-direction: column; text-align: center; }
  .stats-bar { padding: 32px 24px; }
  .stat-div { display: none; }

  #proceso { padding-inline: 24px; }
  #galeria { padding-inline: 24px; padding-bottom: 80px; }
  .proceso-intro { grid-template-columns: 1fr; gap: 48px; }
  .steps-timeline { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps-timeline::before { display: none; }
  .galeria-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .galeria-item:first-child { grid-row: span 1; }
  .hero-img-panel { display: none; }
  .hero-visual     { display: none; }

  .valor-strip { flex-direction: column; align-items: flex-start; padding: 24px; gap: 14px; }
  .valor-div { display: none; }

  #diferenciacion,
  #seo-section { padding-inline: 24px !important; }

  #diferenciacion > div,
  #seo-section > div { grid-template-columns: 1fr !important; gap: 40px !important; }
}
