:root {
  --deep: #060d1a;
  --dark: #0a1628;
  --mid: #122040;
  --ink: #1a2e50;
  --primary: #0e6fff;
  --accent: #00d4ff;
  --glow: rgba(14, 111, 255, 0.35);
  --teal: #00b4cc;
  --white: #f4f8ff;
  --muted: #7a93b8;
  --card-bg: rgba(255, 255, 255, 0.032);
  --card-border: rgba(0, 212, 255, 0.10);
  --radius: 16px;
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--deep);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── NOISE OVERLAY ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.6;
}

/* ─── NAVBAR ─── */
.navbar {
  background: transparent;
  padding: 1.2rem 0;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
  z-index: 1040;
}

.navbar.scrolled {
  background: rgba(6, 13, 26, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0, 212, 255, 0.08);
  padding: 0.7rem 0;
}

.navbar-brand img {
  height: 40px;
  filter: brightness(1.15) drop-shadow(0 0 8px rgba(255, 255, 255, 0.15));
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  color: rgba(244, 248, 255, 0.7) !important;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--accent) !important;
}

.navbar-toggler {
  border: 1px solid rgba(0, 212, 255, 0.3);
  padding: 4px 10px;
}

.navbar-toggler-icon {
  filter: invert(1);
}

.nav-cta {
  background: linear-gradient(135deg, #0b5ed7, #0a4fb5);
  color: #fff !important;
  border-radius: 8px;
  padding: 0.45rem 1.1rem !important;
  font-weight: 600 !important;
  transition: opacity 0.2s;
}

.nav-cta:hover {
  opacity: 0.85;
  color: #fff !important;
}

.navbar-phone {
  font-weight: 600;
  color: var(--accent);
  font-size: 0.88rem;
}

/* Navbar contact — teléfono + email ícono con tooltip */
.navbar-contact {
  gap: 0.6rem;
}

.navbar-contact-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(244, 248, 255, 0.7);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.navbar-contact-item:hover {
  color: var(--accent);
}

.navbar-contact-item i {
  color: var(--accent);
  font-size: 0.78rem;
}

/* Email ícono con tooltip al hover */
.navbar-email-icon {
  position: relative;
}

.navbar-email-icon span.navbar-email-tooltip {
  display: block;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: rgba(6, 13, 26, 0.96);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent);
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 100;
}

.navbar-email-icon span.navbar-email-tooltip::before {
  content: '';
  position: absolute;
  top: -5px;
  right: 8px;
  width: 8px;
  height: 8px;
  background: rgba(6, 13, 26, 0.96);
  border-left: 1px solid rgba(0, 212, 255, 0.2);
  border-top: 1px solid rgba(0, 212, 255, 0.2);
  transform: rotate(45deg);
}

.navbar-email-icon:hover span.navbar-email-tooltip,
.navbar-email-icon:focus-visible span.navbar-email-tooltip {
  opacity: 1;
  visibility: visible;
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 90px;
}

/* Ambient background blobs */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
}

.blob-1 {
  width: 560px;
  height: 560px;
  background: var(--primary);
  top: -80px;
  left: -120px;
  animation-delay: 0s;
}

.blob-2 {
  width: 420px;
  height: 420px;
  background: var(--accent);
  top: 200px;
  right: -80px;
  animation-delay: -6s;
}

.blob-3 {
  width: 320px;
  height: 320px;
  background: var(--teal);
  bottom: 0;
  left: 40%;
  animation-delay: -12s;
}

@keyframes blobDrift {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -40px) scale(1.06);
  }

  66% {
    transform: translate(-20px, 30px) scale(0.96);
  }
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 111, 255, 0.12);
  border: 1px solid rgba(14, 111, 255, 0.25);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 1.4rem;
}

.hero-eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s 3;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.6);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(0, 212, 255, 0);
  }
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  color: rgba(244, 248, 255, 0.72);
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 2rem;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #0b5ed7 0%, #0a4fb5 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 0.85rem 1.8rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 32px rgba(14, 111, 255, 0.35);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(14, 111, 255, 0.5);
  color: #fff;
}

.btn-hero-ghost {
  background: transparent;
  color: rgba(244, 248, 255, 0.8);
  border: 1px solid rgba(244, 248, 255, 0.18);
  border-radius: 12px;
  padding: 0.85rem 1.8rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s, color 0.2s;
}

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

.trust-row {
  margin-top: 2.4rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(244, 248, 255, 0.62);
  font-size: 0.84rem;
}

.trust-item i {
  color: var(--accent);
  font-size: 0.9rem;
}

/* Hero Visual — SVG Dashboard Mockup */
.hero-visual {
  position: relative;
}

.mockup-shell {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 212, 255, 0.06) inset;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-14px);
  }
}

.mockup-bar {
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid rgba(0, 212, 255, 0.08);
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-body {
  padding: 20px;
}

/* Stats strip */
.stat-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.stat-chip {
  background: rgba(14, 111, 255, 0.12);
  border: 1px solid rgba(14, 111, 255, 0.2);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 0.78rem;
}

.stat-chip .val {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
}

/* Mini chart bars */
.mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 60px;
  margin-bottom: 12px;
}

.bar {
  flex: 1;
  background: linear-gradient(180deg, var(--accent), rgba(0, 212, 255, 0.3));
  border-radius: 4px 4px 0 0;
  animation: barGrow 1.2s ease-out forwards;
  transform-origin: bottom;
}

.bar:nth-child(1) {
  height: 40%;
  animation-delay: 0.1s;
}

.bar:nth-child(2) {
  height: 65%;
  animation-delay: 0.2s;
}

.bar:nth-child(3) {
  height: 50%;
  animation-delay: 0.3s;
}

.bar:nth-child(4) {
  height: 80%;
  animation-delay: 0.4s;
}

.bar:nth-child(5) {
  height: 60%;
  animation-delay: 0.5s;
}

.bar:nth-child(6) {
  height: 90%;
  animation-delay: 0.6s;
  background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0.4));
}

@keyframes barGrow {
  from {
    transform: scaleY(0);
    opacity: 0;
  }

  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

.pipeline-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.pipe-step {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 0.7rem;
  color: var(--muted);
  text-align: center;
}

.pipe-step.active {
  background: rgba(14, 111, 255, 0.18);
  border-color: rgba(14, 111, 255, 0.4);
  color: var(--accent);
}

.pipe-arrow {
  color: rgba(0, 212, 255, 0.3);
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* ─── SECTION COMMONS ─── */
section {
  position: relative;
  z-index: 1;
}

.section-eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.8rem;
}

.section-sub {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

/* ─── SERVICES ─── */
#servicios {
  padding: 6rem 0;
}

.svc-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  height: 100%;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  position: relative;
  overflow: hidden;
}

.svc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.svc-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 212, 255, 0.25);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.svc-card:hover::before {
  opacity: 1;
}

.svc-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  background: rgba(14, 111, 255, 0.12);
  border: 1px solid rgba(14, 111, 255, 0.2);
  color: var(--accent);
}

/* Desarrollo — azul eléctrico con glow */
.svc-icon-dev {
  background: linear-gradient(135deg, rgba(14, 111, 255, 0.18), rgba(0, 212, 255, 0.08));
  border-color: rgba(14, 111, 255, 0.3);
  color: var(--accent);
  box-shadow: 0 0 20px rgba(14, 111, 255, 0.2);
}

/* Cloud — cyan turquesa */
.svc-icon-cloud {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(103, 232, 249, 0.06));
  border-color: rgba(0, 212, 255, 0.28);
  color: #67e8f9;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
}

.svc-card h3,
.svc-card h4 {
  font-family: var(--font-head);
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.svc-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.svc-list {
  list-style: none;
  padding: 0;
  margin-bottom: 1.4rem;
}

.svc-list li {
  color: rgba(244, 248, 255, 0.65);
  font-size: 0.88rem;
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.svc-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.svc-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.svc-link:hover {
  gap: 10px;
  color: var(--accent);
}

/* ─── PROCESS ─── */
#proceso {
  padding: 5rem 0;
  background: rgba(255, 255, 255, 0.016);
}

.process-step {
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(14, 111, 255, 0.14);
  border: 1px solid rgba(14, 111, 255, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent);
}

.step-content h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
}

.step-content p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ─── ABOUT ─── */
#nosotros {
  padding: 6rem 0;
}

.about-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 212, 255, 0.07);
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: 50px;
  padding: 7px 18px;
  font-size: 0.82rem;
  color: rgba(244, 248, 255, 0.7);
  margin-bottom: 0.6rem;
}

.about-pill i {
  color: var(--accent);
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1.1rem;
}

.about-feature-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(14, 111, 255, 0.1);
  border: 1px solid rgba(14, 111, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.9rem;
}

.about-feature-text h3 {
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 2px;
}

.about-feature-text p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

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

.about-img-bg {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at 50% 50%, rgba(14, 111, 255, 0.14) 0%, transparent 70%);
  border-radius: 50%;
}

.about-img-wrap img {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 60px rgba(0, 212, 255, 0.12));
}

/* ─── TECHNOLOGIES ─── */
#tecnologias {
  padding: 5rem 0;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 12px;
}

.tech-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 1.2rem 0.8rem;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
  cursor: default;
}

.tech-item:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.25);
}

.tech-logo {
  font-size: 1.8rem;
  color: rgba(244, 248, 255, 0.65);
  margin-bottom: 8px;
}

.tech-item small {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
}

/* ─── CONTACT ─── */
#contacto {
  padding: 6rem 0;
}

.contact-info-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  height: 100%;
}

.contact-info-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: 1.4rem;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1rem;
}

.contact-row-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(14, 111, 255, 0.1);
  border: 1px solid rgba(14, 111, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.contact-row-label {
  color: var(--muted);
  font-size: 0.78rem;
  display: block;
  margin-bottom: 2px;
}

.contact-row-text span {
  font-size: 0.9rem;
  font-weight: 500;
}

.form-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
}

.form-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: 1.4rem;
}

.form-control,
.form-select {
  background: rgba(255, 255, 255, 0.045) !important;
  border: 1px solid rgba(0, 212, 255, 0.12) !important;
  border-radius: 10px !important;
  color: var(--white) !important;
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 0.7rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control::placeholder {
  color: rgba(122, 147, 184, 0.7);
}

.form-control:focus,
.form-select:focus {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(0, 212, 255, 0.4) !important;
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.08) !important;
  outline: none;
}

.form-select option {
  background: var(--dark);
  color: var(--white);
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, #0b5ed7, #0a4fb5);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 0.85rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 8px 28px rgba(14, 111, 255, 0.3);
}

.btn-submit:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.btn-wa {
  width: 100%;
  background: linear-gradient(135deg, #127c45, #0c6b37);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 0.7rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.2s;
  margin-bottom: 0.7rem;
}

.btn-wa:hover {
  opacity: 0.88;
  color: #fff;
}

/* ─── FOOTER ─── */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(0, 212, 255, 0.07);
  padding: 3.5rem 0 1.8rem;
}

footer .brand-tagline {
  color: rgba(244, 248, 255, 0.62);
  font-size: 0.88rem;
  margin-top: 0.8rem;
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(244, 248, 255, 0.9);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(244, 248, 255, 0.62);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom p {
  color: rgba(244, 248, 255, 0.62);
  font-size: 0.8rem;
}

.footer-social a {
  color: rgba(244, 248, 255, 0.4);
  font-size: 1rem;
  margin-left: 14px;
  transition: color 0.2s;
}

.footer-social a:hover {
  color: var(--accent);
}

/* Footer logo — visible sobre fondo oscuro para logo azul índigo */
.footer-logo-wrap {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 8px 14px;
}

.footer-logo {
  height: 36px;
  display: block;
  filter: brightness(1.4) saturate(0.8) drop-shadow(0 0 6px rgba(255, 255, 255, 0.2));
}

/* Footer social inline (above bottom bar) */
.footer-social-inline {
  display: flex;
  gap: 10px;
  margin-top: 0.6rem;
}

.footer-social-inline a {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(244, 248, 255, 0.5);
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.footer-social-inline a:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.25);
  color: var(--accent);
}

.footer-social-inline .x-twitter-link svg,
.footer-social .x-twitter-link svg {
  vertical-align: middle;
}

/* ─── WHATSAPP FLOAT ─── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #127c45, #0c6b37);
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
  z-index: 1050;
  text-decoration: none;
  transition: transform 0.15s;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  color: #fff;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 991px) {
  .hero {
    min-height: auto;
    padding: 110px 0 60px;
  }

  .hero-visual {
    margin-top: 2.5rem;
  }

  
}

@media (max-width: 576px) {
  .trust-row {
    gap: 0.8rem;
  }

  .hero h1 {
    font-size: 2.1rem;
  }
}

/* ─── NETWORKING VENDOR CARDS ─── */

/* Divisor de bloque */
.net-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0 1.8rem;
}

.net-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.15), transparent);
}

.net-divider-label {
  white-space: nowrap;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 248, 255, 0.62);
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
}

.net-divider-label i {
  color: var(--accent);
}

/* Vendor badge row */
.vendor-badge-wrap {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.vendor-badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 6px;
}

.cert-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Fortinet — rojo/naranja */
.net-fortinet {
  border-color: rgba(227, 52, 47, 0.18) !important;
}

.net-fortinet:hover {
  border-color: rgba(227, 52, 47, 0.35) !important;
  box-shadow: 0 24px 60px rgba(227, 52, 47, 0.08) !important;
}

.badge-fortinet {
  background: rgba(227, 52, 47, 0.15);
  color: #f87171;
  border: 1px solid rgba(227, 52, 47, 0.25);
}

.cert-badge {
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.25);
}

.net-icon-fortinet {
  background: rgba(227, 52, 47, 0.08) !important;
  border-color: rgba(227, 52, 47, 0.2) !important;
  color: #f87171 !important;
}

.net-link-fortinet {
  color: #f87171 !important;
}

.net-link-fortinet:hover {
  color: #fca5a5 !important;
}

.net-fortinet::before {
  background: linear-gradient(90deg, transparent, rgba(227, 52, 47, 0.5), transparent) !important;
}

/* Cisco — azul añil */
.net-cisco {
  border-color: rgba(29, 108, 240, 0.18) !important;
}

.net-cisco:hover {
  border-color: rgba(29, 108, 240, 0.35) !important;
  box-shadow: 0 24px 60px rgba(29, 108, 240, 0.08) !important;
}

.badge-cisco {
  background: rgba(29, 108, 240, 0.14);
  color: #60a5fa;
  border: 1px solid rgba(29, 108, 240, 0.25);
}

.net-icon-cisco {
  background: rgba(29, 108, 240, 0.08) !important;
  border-color: rgba(29, 108, 240, 0.2) !important;
  color: #60a5fa !important;
}

.net-link-cisco {
  color: #60a5fa !important;
}

.net-link-cisco:hover {
  color: #93c5fd !important;
}

.net-cisco::before {
  background: linear-gradient(90deg, transparent, rgba(29, 108, 240, 0.5), transparent) !important;
}

/* MikroTik — verde lima */
.net-mikrotik {
  border-color: rgba(34, 197, 94, 0.18) !important;
}

.net-mikrotik:hover {
  border-color: rgba(34, 197, 94, 0.35) !important;
  box-shadow: 0 24px 60px rgba(34, 197, 94, 0.08) !important;
}

.badge-mikrotik {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.22);
}

.net-icon-mikrotik {
  background: rgba(34, 197, 94, 0.08) !important;
  border-color: rgba(34, 197, 94, 0.2) !important;
  color: #4ade80 !important;
}

.net-link-mikrotik {
  color: #4ade80 !important;
}

.net-link-mikrotik:hover {
  color: #86efac !important;
}

.net-mikrotik::before {
  background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.5), transparent) !important;
}

/* Servidores — violeta/plata */
.net-server {
  border-color: rgba(148, 163, 184, 0.18) !important;
}

.net-server:hover {
  border-color: rgba(148, 163, 184, 0.35) !important;
  box-shadow: 0 24px 60px rgba(148, 163, 184, 0.06) !important;
}

.badge-server {
  background: rgba(148, 163, 184, 0.12);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.net-icon-server {
  background: rgba(148, 163, 184, 0.08) !important;
  border-color: rgba(148, 163, 184, 0.2) !important;
  color: #94a3b8 !important;
}

.net-link-server {
  color: #94a3b8 !important;
}

.net-link-server:hover {
  color: #cbd5e1 !important;
}

.net-server::before {
  background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.4), transparent) !important;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--deep);
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 212, 255, 0.2);
  border-radius: 3px;
}

/* ─── PRODUCTOS ─── */
.product-card {
  display: block;
  height: 100%;
  padding: 1.7rem;
  color: var(--white);
  text-decoration: none;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover, .product-card:focus-visible {
  color: var(--white);
  transform: translateY(-5px);
  border-color: rgba(0, 212, 255, 0.42);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.product-card i {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--accent);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.16);
  border-radius: 13px;
  font-size: 1.2rem;
}

.product-card h3 {
  font-family: var(--font-head);
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.product-card .product-url {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.product-card .product-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.1rem;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 600;
}

/* Divider line */
.section-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), transparent);
  margin: 0;
}

/* ─── ACCESIBILIDAD ─── */
html {
  /* La barra fija y el botón flotante no deben tapar el elemento con foco (WCAG 2.4.11) */
  scroll-padding-top: 96px;
  scroll-padding-bottom: 104px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 2000;
  padding: 0.75rem 1.25rem;
  background: #ffffff;
  color: #060d1a;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
  color: #060d1a;
}

a:focus-visible,
button:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  box-shadow: none;
}

[tabindex="-1"]:focus {
  outline: none;
}

.navbar-toggler:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  box-shadow: none;
}

/* El halo de la ilustración no debe generar scroll horizontal en móvil */
#nosotros {
  overflow-x: clip;
}

.legal-doc {
  overflow-wrap: anywhere;
}

.trust-row,
.tech-grid {
  padding-left: 0;
}

.process-step h3,
.svc-card h3,
.svc-card h4,
.about-feature-text h3,
.contact-info-card h3,
.form-card h3 {
  color: var(--white);
}

.footer-heading {
  font-size: 0.88rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ─── CONTACTO DIRECTO ─── */
.contact-row-label {
  display: block;
}

.contact-row-text a,
.footer-id a,
.privacy-notice a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-help {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1.4rem;
}

.contact-btn {
  flex: 1 1 220px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  text-decoration: none;
  width: auto;
}

.contact-btn:hover {
  color: #fff;
}

.privacy-notice {
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.privacy-notice h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.privacy-notice p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
  margin: 0;
}

.footer-id {
  color: rgba(244, 248, 255, 0.62);
  font-size: 0.8rem;
  line-height: 1.6;
  margin-top: 0.8rem;
}

.footer-social-inline li a {
  width: 44px;
  height: 44px;
}

.footer-bottom {
  flex-direction: column;
  align-items: flex-start;
}

.footer-bottom p {
  margin: 0;
}

/* ─── DOCUMENTOS LEGALES ─── */
.legal-page .navbar {
  background: rgba(6, 13, 26, 0.96);
}

.legal-doc {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 120px 1rem 4rem;
  line-height: 1.7;
}

.legal-doc h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 0.4rem;
}

.legal-doc .legal-meta {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 2rem;
}

.legal-doc h2 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2.2rem 0 0.7rem;
}

.legal-doc h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin: 1.4rem 0 0.4rem;
}

.legal-doc p,
.legal-doc li,
.legal-doc td,
.legal-doc th {
  color: rgba(244, 248, 255, 0.85);
  font-size: 0.97rem;
}

.legal-doc ul,
.legal-doc ol {
  padding-left: 1.3rem;
  margin-bottom: 1rem;
}

.legal-doc a {
  color: var(--accent);
  text-underline-offset: 2px;
}

.legal-doc .table-wrap {
  overflow-x: auto;
  margin-bottom: 1rem;
}

.legal-doc table {
  width: 100%;
  border-collapse: collapse;
}

.legal-doc th,
.legal-doc td {
  border: 1px solid rgba(0, 212, 255, 0.15);
  padding: 0.6rem 0.75rem;
  vertical-align: top;
  text-align: left;
}

.legal-doc th {
  background: rgba(14, 111, 255, 0.12);
  color: var(--white);
}
