/* ════════════════════════════════════════════════════════
   AUTOMATIZACIONES INTELIGENTES — STYLESHEET
   TuEmpresaEnLaRed · 2026
   ════════════════════════════════════════════════════════ */

:root {
  --green:      #00ff41;
  --green-dim:  #00cc33;
  --green-glow: #00ff4180;
  --card-bg:    rgba(0, 15, 5, 0.7);
  --header-h:   120px;  /* ← altura del header: cámbiala aquí */
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Rajdhani', sans-serif;
  background: #000;
  color: var(--green);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ══════════════════════════════════════
   MATRIX CANVAS (fondo animado)
══════════════════════════════════════ */
#matrix-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Scanlines decorativas */
.scanlines {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px, transparent 3px,
    rgba(0,0,0,0.04) 3px, rgba(0,0,0,0.04) 4px
  );
}

.wrapper { position: relative; z-index: 1; }

/* ══════════════════════════════════════
   HEADER — glass flotante redondeado
   top: distancia desde arriba (10px)
   left/right: separación de los lados (15px)
   border-radius: redondeo de esquinas
   height: altura del header (--header-h)
══════════════════════════════════════ */
header {
  position: fixed;
  top: 10px;            /* ← separación del borde superior */
  left: 15px;           /* ← separación del borde izquierdo */
  right: 15px;          /* ← separación del borde derecho */
  z-index: 100;
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  background: rgba(0, 8, 2, 0.60);
  border: 1px solid rgba(0,255,65,0.22);
  border-radius: 20px;  /* ← redondeo de esquinas */
  box-shadow:
    0 8px 40px rgba(0,0,0,0.5),
    0 0 20px rgba(0,255,65,0.08),
    0 1px 0 rgba(255,255,255,0.04) inset;
  padding: 0 32px;      /* ← padding interno izquierda/derecha */
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── Logo ── */
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }

.header-logo {
  height: 80px;       /* ← desktop */
  width: auto;
  display: block;
  filter: drop-shadow(0 0 10px rgba(0,255,65,0.5));
  transition: height 0.3s ease;
}

.logo-icon {
  width: 46px; height: 46px;
  border: 2px solid var(--green);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,255,65,0.08);
  box-shadow: 0 0 14px var(--green-glow);
  font-family: 'Orbitron', monospace;
  font-weight: 900; font-size: 18px;
  color: var(--green);
  text-shadow: 0 0 10px var(--green);
}

.logo-text {
  font-family: 'Orbitron', monospace;
  font-size: 15px; font-weight: 700;
  color: var(--green);
  text-shadow: 0 0 8px var(--green-glow);
  letter-spacing: 2px; line-height: 1.2;
}
.logo-text span {
  display: block; font-size: 10px; font-weight: 400;
  opacity: 0.65; letter-spacing: 3px;
}

/* ── Nav wrap: teléfono + menú apilados ── */
.nav-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.header-phone {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.header-phone:hover { color: #fff; }

/* ── Navegación ── */
nav { display: flex; gap: 8px; align-items: center; }

nav a {
  font-family: 'Orbitron', monospace;
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px;
  color: rgba(0,255,65,0.75);
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 4px;
  transition: all 0.25s ease;
  position: relative;
  text-transform: uppercase;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 18px; right: 18px;
  height: 1px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform 0.25s ease;
  box-shadow: 0 0 6px var(--green);
}
nav a:hover {
  color: var(--green);
  text-shadow: 0 0 10px var(--green);
  background: rgba(0,255,65,0.06);
}
nav a:hover::after { transform: scaleX(1); }

/* ══════════════════════════════════════
   HERO — sección principal
   padding-top = header height + 80px gap
══════════════════════════════════════ */
.hero {
  /* 1. Ocupa exactamente el 100% del viewport */
  min-height: 100vh;

  display: flex;
  flex-direction: column;

  /* 2. Centrado vertical */
  align-items: center;
  justify-content: center;

  text-align: center;

  /* 3. Padding-top = altura del header + 20px de respiro
        Así el glass box queda centrado en el espacio visible debajo del header */
  padding: calc(var(--header-h) + 20px) 4% 60px;
}

/* ══════════════════════════════════════
   CUADRO GLASS HERO
   max-width: 1344px · efecto Apple glass
══════════════════════════════════════ */
.hero-glass {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 25px;
  padding: 48px 40px 44px;
  max-width: 1344px;
  width: 92%;
  margin-top: 0;
  background: rgba(0, 12, 4, 0.45);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(0,255,65,0.14);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 2px 0 rgba(255,255,255,0.06) inset,
    0 32px 80px rgba(0,0,0,0.55),
    0 0 60px rgba(0,255,65,0.05);
  animation: fadeUp 0.9s ease 0.1s both;
  position: relative;
  overflow: hidden;
}

/* Brillo especular superior */
.hero-glass::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
}

/* Resplandor verde interior */
.hero-glass::after {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 200px;
  background: radial-gradient(ellipse, rgba(0,255,65,0.07) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Logo dentro del cuadro glass ── */
.hero-logo-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 24px;
  animation: fadeUp 1s ease 0.15s both;
}
.hero-logo-glow {
  position: absolute; inset: -18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,180,0,0.18) 0%, transparent 70%);
  filter: blur(12px);
  animation: logoPulse 3s ease-in-out infinite;
}
.hero-logo-wrap img {
  width: 130px;
  height: auto;
  display: block;
  position: relative; z-index: 1;
  filter: drop-shadow(0 0 18px rgba(255,180,0,0.6)) drop-shadow(0 0 40px rgba(255,140,0,0.35));
  animation: logoFloat 4s ease-in-out infinite;
}

/* ── Badge "Sistema Activo" ── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(0,255,65,0.3);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 11px; letter-spacing: 3px;
  color: rgba(0,255,65,0.7);
  margin-bottom: 24px;
  background: rgba(0,255,65,0.05);
  animation: fadeUp 1s ease 0.3s both;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s ease infinite;
}

/* ══════════════════════════════════════
   H1 — Título principal
   clamp: mín 28px · fluido 6.5vw · máx 110px
   Ajusta los 3 valores según necesites
══════════════════════════════════════ */
.hero-glass h1 {
  font-family: 'Orbitron', monospace;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1px;
  text-transform: uppercase;
  color: rgba(235, 235, 235, 0.95);
  text-shadow:
    0 0 20px rgba(255,255,255,0.3),
    0 0 40px rgba(255,255,255,0.1);
  animation: fadeUp 1s ease 0.45s both;
  margin-bottom: 16px;
  width: 95%;
  font-size: clamp(22px, 4vw, 70px);
}

/* ══════════════════════════════════════
   H2 — Subtítulo
══════════════════════════════════════ */
.hero-glass h2 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 300;
  letter-spacing: 4px;
  color: rgba(0,255,65,0.65);
  text-transform: uppercase;
  animation: fadeUp 1s ease 0.6s both;
  margin-bottom: 0;
  font-size: clamp(13px, 2vw, 26px);
}

/* ══════════════════════════════════════
   KEYFRAMES
══════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}
@keyframes logoPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.15); }
}

/* ══════════════════════════════════════
   SERVICIOS — sección de cards
══════════════════════════════════════ */
.services {
  padding: 100px 5% 60px; /* ← padding-bottom: reduce este número para menos espacio antes del CTA */
  max-width: 1440px;       /* ← ampliado para widescreen */
  margin: 0 auto;
}

.services-grid {
  display: grid;
  /* Siempre 3 columnas en tablet, 16:9, widescreen */
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ── Card base ── */
.card {
  background: var(--card-bg);
  border: 1px solid rgba(0,255,65,0.15);
  border-radius: 18px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: all 0.35s ease;
  position: relative;
  backdrop-filter: blur(10px);
  animation: fadeUp 0.8s ease both;
}
.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.25s; }
.card:nth-child(3) { animation-delay: 0.4s; }

.card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0,255,65,0.06) 0%, transparent 60%);
  pointer-events: none; opacity: 0;
  transition: opacity 0.35s ease;
}
.card:hover {
  border-color: rgba(0,255,65,0.45);
  transform: translateY(-6px);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.6),
    0 0 30px rgba(0,255,65,0.12),
    inset 0 1px 0 rgba(0,255,65,0.2);
}
.card:hover::before { opacity: 1; }

/* ── Imagen card ── */
.card-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #001a05 0%, #003310 50%, #000d02 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  border-radius: 18px 18px 0 0;
}
.card-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 55%, var(--card-bg) 100%);
  z-index: 1;
}

/* ── Glow individual por card — complementarios al verde ──
   Card 1: cyan eléctrico  · temática WhatsApp/chat
   Card 2: azul cobalto    · temática servidores/tech
   Card 3: violeta         · temática datos/CRM        */
.card:nth-child(1) .card-img {
  box-shadow:
    0 0 0 2px rgba(0,210,230,0.35) inset,
    0 0 40px rgba(0,210,230,0.25) inset,
    0 6px 30px rgba(0,210,230,0.2);
}
.card:nth-child(1) .card-img::before {
  content: '';
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 0 60px rgba(0,210,230,0.15) inset;
}
.card:nth-child(2) .card-img {
  box-shadow:
    0 0 0 2px rgba(60,120,255,0.35) inset,
    0 0 40px rgba(60,120,255,0.25) inset,
    0 6px 30px rgba(60,120,255,0.2);
}
.card:nth-child(2) .card-img::before {
  content: '';
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 0 60px rgba(60,120,255,0.15) inset;
}
.card:nth-child(3) .card-img {
  box-shadow:
    0 0 0 2px rgba(170,60,255,0.35) inset,
    0 0 40px rgba(170,60,255,0.25) inset,
    0 6px 30px rgba(170,60,255,0.2);
}
.card:nth-child(3) .card-img::before {
  content: '';
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 0 60px rgba(170,60,255,0.15) inset;
}
.card-img .icon-bg {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,255,65,0.15) 0%, transparent 70%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 40px rgba(0,255,65,0.2);
  position: relative; z-index: 1;
}
.card-icon { font-size: 42px; filter: drop-shadow(0 0 10px rgba(0,255,65,0.8)); }

.card-img-lines { position: absolute; inset: 0; overflow: hidden; opacity: 0.15; }
.card-img-lines span {
  position: absolute; top: -20px;
  font-family: monospace; font-size: 12px;
  color: var(--green);
  animation: fall linear infinite;
}
@keyframes fall { to { transform: translateY(220px); opacity: 0; } }

/* ── Cuerpo card ── */
.card-body {
  padding: 24px 24px 28px;
  display: flex; flex-direction: column;
  flex: 1; gap: 12px;
  align-items: center;   /* centra todo horizontalmente */
  text-align: center;
}
.card-tag {
  font-family: 'Orbitron', monospace;
  font-size: 10px; letter-spacing: 3px;
  color: rgba(0,255,65,0.5); text-transform: uppercase;
}
.card h3 {
  font-family: 'Orbitron', monospace;
  font-size: 18px; font-weight: 700;
  color: var(--green);
  text-shadow: 0 0 12px rgba(0,255,65,0.4);
  letter-spacing: 1px;
}
.card-desc {
  font-size: 15px; font-weight: 300;
  color: rgba(0,255,65,0.65);
  line-height: 1.6; letter-spacing: 0.5px;
  flex: 1;
}

/* ── Botón "Más información" ── */
.btn-more {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 8px;
  padding: 12px 22px;
  border-radius: 50px;
  font-family: 'Orbitron', monospace;
  font-size: 10px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  cursor: pointer;
  border: 1px solid rgba(0,255,65,0.5);
  color: #000;
  background: linear-gradient(180deg,
    rgba(0,255,65,0.95)  0%,
    rgba(0,204,51,0.9)  45%,
    rgba(0,153,38,0.85) 100%);
  box-shadow:
    0 2px 0 rgba(255,255,255,0.25) inset,
    0 -1px 0 rgba(0,0,0,0.3) inset,
    0 4px 20px rgba(0,255,65,0.35),
    0 0 12px rgba(0,255,65,0.2);
  position: relative; overflow: hidden;
  transition: all 0.25s ease;
  align-self: center;
  text-decoration: none;
}
.btn-more::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  border-radius: 50px 50px 0 0; pointer-events: none;
}
.btn-more:hover {
  transform: translateY(-2px);
  box-shadow:
    0 2px 0 rgba(255,255,255,0.25) inset,
    0 -1px 0 rgba(0,0,0,0.3) inset,
    0 8px 30px rgba(0,255,65,0.5),
    0 0 20px rgba(0,255,65,0.35);
  background: linear-gradient(180deg,
    rgba(60,255,100,0.98)  0%,
    rgba(0,230,60,0.95)   45%,
    rgba(0,175,45,0.9)    100%);
}
.btn-more:active { transform: translateY(0); }
.btn-arrow { font-size: 14px; font-family: sans-serif; transition: transform 0.2s ease; }
.btn-more:hover .btn-arrow { transform: translateX(3px); }

/* ══════════════════════════════════════
   FOOTER — 4 columnas glass/matrix
══════════════════════════════════════ */
footer {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(0,255,65,0.12);
  background: rgba(0, 6, 2, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 60px 5% 0;
}

.footer-inner {
  max-width: 1344px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(0,255,65,0.08);
}

/* ── Col 1: Brand ── */
.footer-logo {
  height: 60px; width: auto;
  display: block;
  margin-bottom: 18px;
  filter: drop-shadow(0 0 10px rgba(0,255,65,0.3));
}
.footer-desc {
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px; font-weight: 300;
  color: rgba(180,200,180,0.7);
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-contact {
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 20px;
}
.footer-contact li {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px; font-weight: 300;
  color: rgba(170,190,170,0.7);
  display: flex; align-items: flex-start; gap: 8px;
  line-height: 1.4;
}
.fc-icon { font-size: 14px; margin-top: 1px; flex-shrink: 0; }
.footer-copy {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px; letter-spacing: 1px;
  color: rgba(0,255,65,0.35);
  line-height: 1.8;
}
.footer-legal {
  color: rgba(0,255,65,0.45) !important;
  text-decoration: none;
  font-size: 11px;
  transition: color 0.2s;
}
.footer-legal:hover { color: var(--green) !important; }

/* ── Headings ── */
.footer-heading {
  font-family: 'Orbitron', monospace;
  font-size: 11px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--green);
  text-shadow: 0 0 10px rgba(0,255,65,0.3);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0,255,65,0.12);
}

/* ── Listas de links ── */
.footer-links-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
}
.footer-links-list li {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px; font-weight: 300;
  color: rgba(170,190,170,0.65);
  display: flex; align-items: center; gap: 8px;
  cursor: pointer;
  transition: color 0.2s ease;
  letter-spacing: 0.5px;
}
.footer-links-list li:hover { color: var(--green); }
.fl-arrow {
  color: var(--green);
  font-size: 16px; line-height: 1;
  opacity: 0.6;
  transition: opacity 0.2s, transform 0.2s;
}
.footer-links-list li:hover .fl-arrow {
  opacity: 1; transform: translateX(3px);
}

/* ── Redes sociales ── */
.footer-socials {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 4px;
}
.social-btn {
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(0,255,65,0.2);
  background: rgba(0,255,65,0.05);
  color: rgba(0,255,65,0.7);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: all 0.25s ease;
}
.social-btn svg { width: 18px; height: 18px; }
.social-btn:hover {
  border-color: rgba(0,255,65,0.5);
  background: rgba(0,255,65,0.12);
  color: var(--green);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,255,65,0.15);
}

/* ── Newsletter form ── */
.footer-newsletter-desc {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px; font-weight: 300;
  color: rgba(170,190,170,0.6);
  margin-bottom: 14px;
  line-height: 1.5;
}
.footer-form {
  display: flex; flex-direction: column; gap: 10px;
}
.footer-input {
  background: rgba(0,255,65,0.05);
  border: 1px solid rgba(0,255,65,0.2);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  color: var(--green);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.footer-input::placeholder { color: rgba(0,255,65,0.3); }
.footer-input:focus {
  border-color: rgba(0,255,65,0.45);
  box-shadow: 0 0 12px rgba(0,255,65,0.1);
}
.footer-submit {
  background: linear-gradient(180deg, rgba(0,255,65,0.9) 0%, rgba(0,180,45,0.85) 100%);
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-family: 'Orbitron', monospace;
  font-size: 10px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: #000;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0,255,65,0.25);
}
.footer-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,255,65,0.4);
}

/* ── Línea inferior ── */
.footer-bottom {
  max-width: 1344px;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px; letter-spacing: 2px;
  color: rgba(0,255,65,0.35);
  text-transform: uppercase;
}
.footer-net-link {
  font-family: 'Orbitron', monospace;
  font-size: 11px; font-weight: 700;
  color: var(--green);
  text-decoration: none;
  letter-spacing: 1px;
  text-shadow: 0 0 8px rgba(0,255,65,0.4);
  transition: text-shadow 0.2s;
}
.footer-net-link:hover { text-shadow: 0 0 16px var(--green); }

/* ── Responsive footer ── */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* ══════════════════════════════════════
   SECCIÓN ABOUT — Quiénes somos
══════════════════════════════════════ */
.about {
  position: relative; z-index: 1;
  max-width: 1344px;
  margin: 0 auto;
  padding: 80px 5% 60px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* ── Gancho ── */
.about-hook {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  animation: fadeUp 0.9s ease 0.1s both;
}
.about-hook-label {
  font-family: 'Orbitron', monospace;
  font-size: 11px; letter-spacing: 4px;
  color: rgba(0,255,65,0.6);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.about-hook-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(22px, 3.2vw, 48px);
  font-weight: 900;
  line-height: 1.15;
  color: rgba(235,235,235,0.95);
  text-shadow: 0 0 30px rgba(255,255,255,0.1);
  margin-bottom: 20px;
}
.about-hook-title span {
  color: var(--green);
  text-shadow: 0 0 20px var(--green), 0 0 40px rgba(0,255,65,0.4);
}
.about-hook-sub {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(16px, 1.8vw, 21px);
  font-weight: 300;
  color: rgba(200,200,200,0.75);
  line-height: 1.7;
  letter-spacing: 0.3px;
}
.about-hook-sub strong { color: rgba(235,235,235,0.95); font-weight: 600; }

/* ── Glass principal ── */
.about-glass {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  background: rgba(0,12,4,0.45);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(0,255,65,0.12);
  border-radius: 24px;
  padding: 48px 44px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.03) inset,
    0 2px 0 rgba(255,255,255,0.05) inset,
    0 32px 80px rgba(0,0,0,0.5),
    0 0 60px rgba(0,255,65,0.04);
  animation: fadeUp 0.9s ease 0.2s both;
  position: relative;
  overflow: hidden;
}
.about-glass::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
}

/* ── Copy ── */
.about-eyebrow {
  font-family: 'Orbitron', monospace;
  font-size: 10px; letter-spacing: 3px;
  color: rgba(0,255,65,0.55);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.about-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(18px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 1.25;
  color: rgba(235,235,235,0.95);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}
.about-body {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 300;
  color: rgba(190,200,190,0.8);
  line-height: 1.75;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}
.about-body strong { color: rgba(235,235,235,0.95); font-weight: 600; }
.about-body em { color: var(--green); font-style: normal; font-weight: 600; }

.about-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'Orbitron', monospace;
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none;
  color: #000;
  background: linear-gradient(180deg,
    rgba(0,255,65,0.95) 0%,
    rgba(0,204,51,0.9) 45%,
    rgba(0,153,38,0.85) 100%);
  border: 1px solid rgba(0,255,65,0.5);
  box-shadow: 0 4px 24px rgba(0,255,65,0.4), 0 0 12px rgba(0,255,65,0.2);
  transition: all 0.25s ease;
  position: relative; overflow: hidden;
}
.about-cta::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.28), transparent);
  border-radius: 50px 50px 0 0; pointer-events: none;
}
.about-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,255,65,0.55), 0 0 20px rgba(0,255,65,0.3);
}

/* ── Stats ── */
.about-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}
.stat-card {
  background: rgba(0,255,65,0.04);
  border: 1px solid rgba(0,255,65,0.12);
  border-radius: 16px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.3s ease;
}
.stat-card:hover {
  border-color: rgba(0,255,65,0.3);
  background: rgba(0,255,65,0.07);
  box-shadow: 0 0 20px rgba(0,255,65,0.08);
  transform: translateX(-4px);
}
.stat-num {
  font-family: 'Orbitron', monospace;
  font-size: 36px; font-weight: 900;
  color: var(--green);
  text-shadow: 0 0 16px rgba(0,255,65,0.6);
  line-height: 1;
}
.stat-plus {
  font-size: 22px;
  opacity: 0.8;
}
.stat-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px; font-weight: 300;
  color: rgba(180,200,180,0.75);
  line-height: 1.4;
  letter-spacing: 0.3px;
}

/* ── Pilares / diferenciadores ── */
.about-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  animation: fadeUp 0.9s ease 0.35s both;
}
.pillar {
  background: rgba(0, 10, 3, 0.82);       /* fondo oscuro sólido para legibilidad */
  border: 1px solid rgba(0,255,65,0.15);
  border-radius: 18px;
  padding: 28px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.03) inset;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

/* Brillo especular superior */
.pillar::before {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: all 0.35s ease;
}

/* Resplandor dorado en hover */
.pillar::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 18px;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,185,0,0.12) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.pillar:hover {
  border-color: rgba(255,185,0,0.5);
  transform: translateY(-6px);
  background: rgba(0, 12, 3, 0.88);
  box-shadow:
    0 16px 48px rgba(0,0,0,0.65),
    0 0 30px rgba(255,185,0,0.18),
    0 0  8px rgba(255,185,0,0.25),
    0 0 0 1px rgba(255,185,0,0.15) inset;
}
.pillar:hover::after { opacity: 1; }
.pillar:hover::before {
  background: linear-gradient(90deg, transparent, rgba(255,185,0,0.25), transparent);
}
.pillar-icon { font-size: 32px; }
.pillar strong {
  font-family: 'Orbitron', monospace;
  font-size: 12px; font-weight: 700;
  color: var(--green);
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(0,255,65,0.3);
  transition: color 0.35s ease, text-shadow 0.35s ease;
}
.pillar:hover strong {
  color: rgba(255,200,50,1);
  text-shadow: 0 0 14px rgba(255,185,0,0.7), 0 0 30px rgba(255,185,0,0.3);
}
.pillar p {
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px; font-weight: 300;
  color: rgba(180,200,180,0.7);
  line-height: 1.5;
  transition: color 0.35s ease;
}
.pillar:hover p { color: rgba(220,210,180,0.9); }

/* ── Responsive about ── */
@media (max-width: 1024px) {
  .about-glass { grid-template-columns: 1fr; }
  .about-stats { flex-direction: row; flex-wrap: wrap; }
  .stat-card { flex: 1; min-width: 140px; }
  .stat-card:hover { transform: translateY(-4px); }
  .about-pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .about { padding: 60px 4% 40px; gap: 36px; }
  .about-glass { padding: 32px 24px; }
  .about-pillars { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 480px) {
  .about-pillars { grid-template-columns: 1fr 1fr; }
  .about-stats { flex-direction: column; }
}

/* ══════════════════════════════════════
   CTA — WhatsApp
   padding-top: espacio entre cards y CTA ← ajusta aquí
══════════════════════════════════════ */
.cta-wa {
  position: relative; z-index: 1;
  padding: 40px 5% 160px; /* ← padding-bottom: espacio entre CTA y footer */
  display: flex;
  justify-content: center;
}
.cta-wa-inner {
  max-width: 1344px; /* ← mismo ancho que el hero */
  width: 100%;
  background: rgba(0, 10, 3, 0.78);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(0,255,65,0.14);
  border-radius: 28px;
  padding: 56px 60px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.03) inset,
    0 2px 0 rgba(255,255,255,0.05) inset,
    0 40px 100px rgba(0,0,0,0.6),
    0 0 80px rgba(0,255,65,0.05);
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.9s ease 0.1s both;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.cta-glow {
  position: absolute;
  top: -80px; right: 200px;
  width: 500px; height: 500px;
  background: radial-gradient(ellipse, rgba(0,255,65,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Fila superior: izq + globo ── */
.cta-top {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: center;
}
.cta-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cta-eyebrow {
  font-family: 'Orbitron', monospace;
  font-size: 11px; letter-spacing: 3px;
  color: rgba(0,255,65,0.6);
  text-transform: uppercase;
}
.cta-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(22px, 3.2vw, 50px);
  font-weight: 900;
  line-height: 1.15;
  color: rgba(235,235,235,0.95);
  letter-spacing: -0.5px;
}
.cta-title span {
  color: var(--green);
  text-shadow: 0 0 20px var(--green), 0 0 40px rgba(0,255,65,0.3);
}

/* ── Globo de puntos ── */
.cta-globe-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
#dot-globe {
  width: 340px; height: 340px;
  max-width: 100%;
}

/* ── Fila inferior: subtexto + botón ── */
.cta-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  border-top: 1px solid rgba(0,255,65,0.08);
  padding-top: 36px;
}
.cta-sub {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 300;
  color: rgba(190,205,190,0.8);
  line-height: 1.75;
  max-width: 720px;
}
.cta-sub strong { color: rgba(235,235,235,0.95); font-weight: 600; }
.cta-sub em { color: var(--green); font-style: normal; font-weight: 600; }

/* ── Botón WhatsApp ── */
.btn-wa {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 44px;
  border-radius: 50px;
  font-family: 'Orbitron', monospace;
  font-size: 13px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  text-decoration: none; color: #fff;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.15) inset,
    0 2px 0 rgba(255,255,255,0.2) inset,
    0 8px 40px rgba(37,211,102,0.45),
    0 0 20px rgba(37,211,102,0.25);
  transition: all 0.3s ease;
  position: relative; overflow: hidden;
  animation: waPulse 2.5s ease-in-out infinite;
}
.btn-wa::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.2), transparent);
  border-radius: 50px 50px 0 0; pointer-events: none;
}
.btn-wa:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.15) inset,
    0 2px 0 rgba(255,255,255,0.2) inset,
    0 14px 50px rgba(37,211,102,0.6),
    0 0 30px rgba(37,211,102,0.4);
  animation: none;
}
.wa-icon { width: 22px; height: 22px; flex-shrink: 0; }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 8px 40px rgba(37,211,102,0.45), 0 0 20px rgba(37,211,102,0.25); }
  50%       { box-shadow: 0 8px 55px rgba(37,211,102,0.65), 0 0 35px rgba(37,211,102,0.4); }
}
.cta-disclaimer {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px; letter-spacing: 2px;
  color: rgba(0,255,65,0.35); text-transform: uppercase;
}

/* ── Responsive CTA ── */
@media (max-width: 900px) {
  .cta-top { grid-template-columns: 1fr; }
  .cta-globe-wrap { display: none; } /* oculta el globo en móvil */
  .cta-wa-inner { padding: 40px 28px; }
}
@media (max-width: 600px) {
  .btn-wa { padding: 16px 28px; font-size: 11px; }
}

/* ══════════════════════════════════════
   PÁGINAS LEGALES (privacidad, términos)
══════════════════════════════════════ */
.legal-page {
  position: relative; z-index: 1;
  padding: calc(var(--header-h) + 10px + 50px) 5% 80px;
  max-width: 1000px;
  margin: 0 auto;
}
.legal-glass {
  background: rgba(0,12,4,0.82);
  backdrop-filter: blur(28px) saturate(150%);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  border: 1px solid rgba(0,255,65,0.12);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 60px rgba(0,255,65,0.04);
}
.legal-header {
  padding: 48px 52px 40px;
  border-bottom: 1px solid rgba(0,255,65,0.1);
  background: rgba(0,255,65,0.03);
}
.legal-tag {
  font-family: 'Orbitron', monospace;
  font-size: 10px; letter-spacing: 4px;
  color: rgba(0,255,65,0.5);
  text-transform: uppercase;
  display: block; margin-bottom: 14px;
}
.legal-header h1 {
  font-family: 'Orbitron', monospace;
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 900;
  color: rgba(235,235,235,0.95);
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.legal-meta {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px; letter-spacing: 1px;
  color: rgba(0,255,65,0.4);
}
.legal-body {
  padding: 48px 52px;
  display: flex; flex-direction: column; gap: 40px;
}
.legal-section h2 {
  font-family: 'Orbitron', monospace;
  font-size: 14px; font-weight: 700;
  color: var(--green);
  letter-spacing: 2px; text-transform: uppercase;
  text-shadow: 0 0 12px rgba(0,255,65,0.3);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 14px;
}
.legal-num {
  font-size: 11px;
  color: rgba(0,255,65,0.4);
  border: 1px solid rgba(0,255,65,0.2);
  border-radius: 6px;
  padding: 2px 8px;
  flex-shrink: 0;
}
.legal-section h3 {
  font-family: 'Orbitron', monospace;
  font-size: 11px; font-weight: 700;
  color: rgba(0,255,65,0.6);
  letter-spacing: 2px; text-transform: uppercase;
  margin: 18px 0 10px;
}
.legal-section p,
.legal-section li {
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px; font-weight: 300;
  color: rgba(190,205,190,0.8);
  line-height: 1.8;
  letter-spacing: 0.3px;
}
.legal-section strong { color: rgba(230,235,230,0.95); font-weight: 600; }
.legal-section em { color: rgba(0,255,65,0.7); font-style: normal; }
.legal-section ul {
  padding-left: 0; list-style: none;
  display: flex; flex-direction: column; gap: 8px;
  margin: 12px 0;
}
.legal-section ul li {
  padding-left: 20px;
  position: relative;
}
.legal-section ul li::before {
  content: '›';
  position: absolute; left: 0;
  color: var(--green);
  font-size: 18px; line-height: 1.4;
}
.legal-section p + p { margin-top: 12px; }
.legal-note {
  background: rgba(0,255,65,0.05);
  border: 1px solid rgba(0,255,65,0.12);
  border-left: 3px solid rgba(0,255,65,0.4);
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  margin-top: 14px !important;
}
.legal-close {
  border-top: 1px solid rgba(0,255,65,0.1);
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.btn-back {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-family: 'Orbitron', monospace;
  font-size: 10px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none;
  color: #000;
  background: linear-gradient(180deg, rgba(0,255,65,0.95) 0%, rgba(0,180,45,0.9) 100%);
  border: 1px solid rgba(0,255,65,0.5);
  box-shadow: 0 4px 20px rgba(0,255,65,0.3);
  transition: all 0.25s ease;
}
.btn-back:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,255,65,0.45);
}
@media (max-width: 768px) {
  .legal-header { padding: 32px 24px 28px; }
  .legal-body { padding: 32px 24px; gap: 32px; }
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-glass h1 { width: 98%; }
}
@media (max-width: 900px) {
  :root { --header-h: 90px; }
  .header-logo { height: 60px; }
  .hero-glass { padding: 36px 28px 32px; }
}
@media (max-width: 768px) {
  :root { --header-h: 72px; }
  header { left: 8px; right: 8px; top: 8px; padding: 0 16px; }
  .header-logo { height: 46px; }
  .header-phone { font-size: 10px; letter-spacing: 1px; }
  nav { gap: 2px; }
  nav a { padding: 6px 8px; font-size: 8px; letter-spacing: 0.8px; white-space: nowrap; }
  .logo-text { display: none; }
  .hero-glass { padding: 28px 20px 28px; width: 95%; }
  .hero-glass h1 { width: 100%; }
  .services { padding: 80px 4% 140px; }
}
@media (max-width: 480px) {
  :root { --header-h: 64px; }
  .header-logo { height: 38px; }
  .header-phone { display: none; } /* oculta teléfono en pantallas muy pequeñas */
  nav a { padding: 5px 7px; font-size: 7.5px; letter-spacing: 0.5px; }
  .hero-glass h1 { letter-spacing: 0; width: 100%; }
  .hero-glass h2 { letter-spacing: 1px; }

  /* Cards: 1 por fila solo en móvil */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
