/* ==========================================================================
   SistemasTech · Sitio público
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Sora';
  src: url('../fonts/sora-latin.woff2') format('woff2');
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #05070f;
  --bg-soft: #070b16;
  --bg-elevated: #0a0f1d;
  --surface: #0b1020;
  --surface-2: #101729;
  --surface-3: #162038;
  --text: #eef2ff;
  --text-soft: #c8d1e6;
  --muted: #8b97b0;
  --line: rgba(148, 163, 200, 0.14);
  --line-strong: rgba(148, 163, 200, 0.26);
  --brand: #5b8cff;
  --brand-2: #22d3ee;
  --brand-3: #8b5cf6;
  --brand-soft: rgba(91, 140, 255, 0.14);
  --green: #34d399;
  --green-soft: rgba(52, 211, 153, 0.12);
  --danger: #f87171;
  --danger-soft: rgba(248, 113, 113, 0.12);
  --warning: #fbbf24;
  --gradient: linear-gradient(135deg, #5b8cff 0%, #22d3ee 100%);
  --grad-text: linear-gradient(110deg, #8fb0ff 0%, #5eead4 100%);
  --gradient-soft: linear-gradient(135deg, rgba(91, 140, 255, 0.18), rgba(34, 211, 238, 0.06));
  --header-bg: rgba(5, 7, 15, 0.78);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.85);
  --shadow-sm: 0 12px 30px -16px rgba(0, 0, 0, 0.7);
  --radius: 20px;
  --radius-sm: 14px;
  --container: 1200px;
  --header-h: 78px;
  --screen: #070b16;
  --screen-2: #0d1426;
  --screen-line: rgba(148, 163, 200, 0.13);
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display: 'Sora', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f9fd;
  --bg-soft: #eff3fa;
  --bg-elevated: #ffffff;
  --surface: #ffffff;
  --surface-2: #f3f6fc;
  --surface-3: #e9effa;
  --text: #0a1020;
  --text-soft: #2f3b54;
  --muted: #5d6a83;
  --line: rgba(15, 30, 60, 0.11);
  --line-strong: rgba(15, 30, 60, 0.2);
  --brand: #3b6cff;
  --brand-2: #0891b2;
  --brand-3: #7c3aed;
  --brand-soft: rgba(59, 108, 255, 0.09);
  --green: #059669;
  --green-soft: rgba(5, 150, 105, 0.1);
  --danger: #dc2626;
  --danger-soft: rgba(220, 38, 38, 0.08);
  --warning: #b45309;
  --grad-text: linear-gradient(110deg, #2f5fe0 0%, #0e7490 100%);
  --gradient-soft: linear-gradient(135deg, rgba(59, 108, 255, 0.1), rgba(8, 145, 178, 0.04));
  --header-bg: rgba(247, 249, 253, 0.84);
  --shadow: 0 30px 80px -38px rgba(28, 48, 92, 0.28);
  --shadow-sm: 0 14px 34px -20px rgba(28, 48, 92, 0.22);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 40% at 78% -8%, rgba(91, 140, 255, 0.13), transparent 70%),
    radial-gradient(50% 35% at 12% 8%, rgba(34, 211, 238, 0.06), transparent 70%);
}
[data-theme="light"] body::before {
  background:
    radial-gradient(60% 40% at 80% -10%, rgba(91, 140, 255, 0.12), transparent 70%),
    radial-gradient(45% 30% at 10% 5%, rgba(34, 211, 238, 0.08), transparent 70%);
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -0.03em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(91, 140, 255, 0.35); color: var(--text); }

:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 999;
  background: var(--surface);
  color: var(--text);
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 28px;
}

.section { position: relative; padding: clamp(72px, 8.5vw, 118px) 0; }
.section-tight { padding-top: 0; }
.section-alt { background: var(--bg-soft); border-block: 1px solid var(--line); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 58px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
[data-theme="light"] .eyebrow { color: #2450d8; }

h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.lead {
  margin-top: 18px;
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.75;
  text-wrap: pretty;
}

.accent-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------------------------------------------------------
   Botones
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 18px; height: 18px; flex: none; }

.btn-primary {
  background: var(--gradient);
  color: #04101f;
  box-shadow: 0 14px 34px -14px rgba(59, 130, 246, 0.6);
}
.btn-primary:hover { box-shadow: 0 18px 42px -14px rgba(34, 211, 238, 0.55); }

.btn-secondary {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { border-color: var(--brand); background: var(--surface-2); }

.btn-ghost { background: transparent; border-color: var(--line); color: var(--text-soft); }
.btn-ghost:hover { border-color: var(--line-strong); background: var(--surface-2); }

.btn-wa { background: #25d366; color: #04130a; box-shadow: 0 14px 34px -16px rgba(37, 211, 102, 0.65); }
.btn-wa:hover { background: #2ee06f; }

.btn-sm { min-height: 40px; padding: 9px 16px; font-size: 13.5px; border-radius: 10px; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-size: 13.5px;
  font-weight: 650;
  transition: gap 0.2s ease, color 0.2s ease;
}
.link-arrow .icon { width: 16px; height: 16px; }
.link-arrow:hover { gap: 12px; color: var(--brand-2); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: var(--header-bg);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 40px -28px rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-mark-bg { fill: var(--surface); }
.brand-word {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  white-space: nowrap;
}
.brand-first { color: var(--text); }
.brand-last {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-logo-img { max-height: 40px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  position: relative;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  padding: 6px 0;
  transition: color 0.2s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1.5px;
  background: var(--gradient);
  transition: right 0.25s ease;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--text); }
.main-nav a:hover::after, .main-nav a.is-active::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }

.theme-toggle, .menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: transparent;
  color: var(--text-soft);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.theme-toggle:hover, .menu-toggle:hover { background: var(--surface-2); border-color: var(--line-strong); color: var(--text); }
.theme-toggle .icon, .menu-toggle .icon { width: 19px; height: 19px; }
.theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }
.menu-toggle { display: none; }

.header-cta { margin-left: 4px; }

/* Menú móvil */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(2, 5, 12, 0.62);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.nav-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  width: min(410px, 100%);
  height: 100dvh;
  padding: 24px;
  background: var(--surface);
  border-left: 1px solid var(--line);
  transform: translateX(102%);
  visibility: hidden;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.3s;
  overflow-y: auto;
}
body.nav-open { overflow: hidden; }
body.nav-open .nav-overlay { opacity: 1; visibility: visible; }
body.nav-open .nav-panel { transform: translateX(0); visibility: visible; }
.nav-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 34px; }
.nav-panel-links { display: flex; flex-direction: column; }
.nav-panel-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 16px;
  font-weight: 500;
}
.nav-panel-links a .icon { width: 16px; height: 16px; color: var(--muted); }
.nav-panel-links a:hover { color: var(--brand); }
.nav-panel-foot { margin-top: auto; padding-top: 30px; display: grid; gap: 12px; }
.nav-panel-foot .nav-contact { color: var(--muted); font-size: 13px; text-align: center; }
.nav-panel-foot .nav-contact strong { color: var(--text); font-weight: 600; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(44px, 7vw, 86px)) 0 clamp(56px, 7vw, 92px);
  overflow: clip;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.26;
  -webkit-mask-image: radial-gradient(70% 60% at 60% 35%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 60% 35%, #000 20%, transparent 75%);
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}
.hero-orb-a { width: 520px; height: 520px; right: -140px; top: -120px; background: rgba(59, 108, 255, 0.3); }
.hero-orb-b { width: 400px; height: 400px; left: -180px; bottom: -160px; background: rgba(34, 211, 238, 0.16); }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}
.hero-copy { max-width: 620px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.hero-badge .pulse {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
}
.hero-badge .pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--green);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  70%, 100% { transform: scale(1.8); opacity: 0; }
}

.hero h1 {
  margin-top: 24px;
  font-size: clamp(2.55rem, 5.15vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.048em;
  font-weight: 700;
  text-wrap: balance;
}
.hero h1 .hero-accent {
  display: block;
  margin-top: 4px;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: 24px;
  max-width: 55ch;
  color: var(--muted);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.75;
  text-wrap: pretty;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 12.5px;
}
.hero-note .icon { width: 15px; height: 15px; color: var(--green); flex: none; }

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 500;
}
.hero-tag .icon { width: 15px; height: 15px; color: var(--brand); }
.hero-tag + .hero-tag::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--muted); opacity: 0.6; margin-right: 9px; }

/* Visual del hero */
.hero-visual { position: relative; perspective: 1400px; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% 4% 2%;
  z-index: -1;
  border-radius: 40px;
  background: radial-gradient(60% 60% at 55% 45%, rgba(91, 140, 255, 0.38), rgba(34, 211, 238, 0.08) 55%, transparent 75%);
  filter: blur(50px);
}
.browser-card {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: var(--screen);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  overflow: hidden;
  transform: rotateY(-5deg) rotateX(1.5deg);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-visual:hover .browser-card { transform: rotateY(-1deg) rotateX(0deg) translateY(-4px); }
.browser-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 14px;
  background: #0a0f1d;
  border-bottom: 1px solid var(--screen-line);
}
.browser-dots { display: flex; gap: 5px; }
.browser-dots span { width: 7px; height: 7px; border-radius: 50%; background: #2a3650; }
.browser-dots span:nth-child(1) { background: #f87171; }
.browser-dots span:nth-child(2) { background: #fbbf24; }
.browser-dots span:nth-child(3) { background: #34d399; }
.browser-url {
  flex: 1;
  max-width: 260px;
  margin-inline: auto;
  padding: 5px 12px;
  border-radius: 6px;
  background: #050810;
  color: #7e8da8;
  font-size: 9px;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.browser-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #34d399;
  font-size: 8px;
  font-weight: 600;
  white-space: nowrap;
}
.browser-live::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.browser-body { display: grid; grid-template-columns: 54px minmax(0, 1fr); min-height: 382px; }
.browser-side {
  padding: 16px 0;
  background: #080d19;
  border-right: 1px solid var(--screen-line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.browser-side .side-logo {
  width: 24px;
  height: 24px;
  margin-bottom: 12px;
  border-radius: 7px;
  background: var(--gradient);
  box-shadow: 0 0 18px rgba(91, 140, 255, 0.45);
}
.browser-side i {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #111a2d;
  border: 1px solid #1b2740;
}
.browser-side i.is-on { background: rgba(91, 140, 255, 0.18); border-color: rgba(91, 140, 255, 0.5); }
.browser-side .side-user {
  width: 24px;
  height: 24px;
  margin-top: auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6, #22d3ee);
}
.browser-main { padding: 20px 20px 18px; background: #070b16; min-width: 0; }
.browser-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.browser-head small { display: block; color: #61708c; font-size: 8px; letter-spacing: 0.04em; }
.browser-head strong { display: block; margin-top: 2px; color: #eaf0ff; font-family: var(--font-display); font-size: 15px; font-weight: 600; letter-spacing: -0.02em; }
.browser-avatar {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b6cff, #22d3ee);
  color: #04101f;
  font-size: 8px;
  font-weight: 800;
}
.browser-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.browser-stat {
  padding: 10px;
  border: 1px solid var(--screen-line);
  border-radius: 9px;
  background: #0d1426;
}
.browser-stat span { display: block; color: #6f7f9c; font-size: 7px; white-space: nowrap; }
.browser-stat strong { display: block; margin-top: 3px; color: #eef2ff; font-family: var(--font-display); font-size: 15px; font-weight: 600; letter-spacing: -0.03em; }
.browser-stat em { display: inline-block; margin-top: 3px; padding: 1px 5px; border-radius: 999px; background: rgba(52, 211, 153, 0.12); color: #34d399; font-size: 6px; font-style: normal; font-weight: 600; }
.browser-chart {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid var(--screen-line);
  border-radius: 10px;
  background: #0a1020;
}
.browser-chart-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #b8c4dc; font-size: 8px; font-weight: 600; }
.browser-chart-head span { color: #5f6f8c; font-size: 7px; font-weight: 400; }
.browser-chart svg { width: 100%; height: 82px; margin-top: 6px; }
.browser-list { margin-top: 10px; display: grid; gap: 5px; }
.browser-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border: 1px solid var(--screen-line);
  border-radius: 8px;
  background: #0a1020;
}
.browser-row .dot { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.browser-row .line { height: 4px; border-radius: 2px; background: #26324a; }
.browser-row .line.w1 { width: 34%; }
.browser-row .line.w2 { width: 20%; }
.browser-row .status { margin-left: auto; padding: 2px 6px; border-radius: 999px; font-size: 6px; font-weight: 600; }
.browser-row .status.ok { background: rgba(52, 211, 153, 0.12); color: #34d399; }
.browser-row .status.wait { background: rgba(251, 191, 36, 0.12); color: #fbbf24; }

.float-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: var(--surface);
  box-shadow: var(--shadow);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text);
  animation: float 6s ease-in-out infinite;
  white-space: nowrap;
}
.float-chip .icon { width: 17px; height: 17px; color: var(--brand); flex: none; }
.float-chip small { display: block; color: var(--muted); font-size: 9px; font-weight: 400; }
.float-chip .chip-ico {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--brand-soft);
  color: var(--brand);
  flex: none;
}
.chip-android { top: 28px; right: -22px; animation-delay: -1s; }
.chip-tv { bottom: 84px; left: -30px; animation-delay: -2.6s; }
.chip-wa { right: 14px; bottom: -24px; padding: 11px 15px; animation-delay: -4.2s; }
.chip-wa .chip-ico { background: rgba(37, 211, 102, 0.13); color: #25d366; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* --------------------------------------------------------------------------
   Marquee tecnologías
   -------------------------------------------------------------------------- */

.trust {
  padding: 26px 0;
  border-block: 1px solid var(--line);
  background: var(--bg-soft);
  overflow: hidden;
}
.trust-label {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 44px; padding-right: 44px; }
.tech-item {
  display: flex;
  align-items: center;
  gap: 44px;
  color: var(--text-soft);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  opacity: 0.72;
}
.tech-item::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--brand); opacity: 0.6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Nosotros
   -------------------------------------------------------------------------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.about-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 22px;
  margin-top: 30px;
}
.about-point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-soft);
  font-size: 13.5px;
  line-height: 1.5;
}
.about-point .icon { width: 17px; height: 17px; margin-top: 1px; color: var(--green); flex: none; }

.quality-card {
  position: relative;
  padding: 1px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(91, 140, 255, 0.45), rgba(34, 211, 238, 0.12) 38%, rgba(148, 163, 200, 0.12) 70%, rgba(139, 92, 246, 0.35));
  box-shadow: var(--shadow);
}
.quality-inner {
  border-radius: 23px;
  background: #080d19;
  padding: 26px;
  overflow: hidden;
}
.quality-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.quality-dots { display: flex; gap: 5px; }
.quality-dots span { width: 7px; height: 7px; border-radius: 50%; background: #2a3650; }
.quality-dots span:first-child { background: #f87171; }
.quality-dots span:nth-child(2) { background: #fbbf24; }
.quality-dots span:nth-child(3) { background: #34d399; }
.quality-file { color: #6f7f9c; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; }
.quality-code {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(148, 163, 200, 0.12);
  border-radius: 14px;
  background: #050810;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  line-height: 2;
  color: #8b97b0;
  overflow-x: auto;
}
.quality-code .c-key { color: #8fb0ff; }
.quality-code .c-str { color: #5eead4; }
.quality-code .c-com { color: #4d5b75; }
.quality-code .c-ok { color: #34d399; }
.quality-check { display: grid; gap: 9px; margin-top: 18px; }
.quality-check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(148, 163, 200, 0.12);
  border-radius: 10px;
  background: #0a1020;
  color: #c8d1e6;
  font-size: 11px;
}
.quality-check-row .icon { width: 15px; height: 15px; color: #34d399; flex: none; }
.quality-check-row span { margin-left: auto; color: #5f6f8c; font-size: 9px; }
.quality-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(148, 163, 200, 0.12);
  color: #6f7f9c;
  font-size: 10px;
}
.quality-foot .live { display: inline-flex; align-items: center; gap: 6px; color: #34d399; font-weight: 600; }
.quality-foot .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.quality-foot .sep { margin-left: auto; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(44px, 6vw, 68px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.stat { padding: 26px 24px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span { display: block; margin-top: 6px; color: var(--muted); font-size: 11.5px; }

/* --------------------------------------------------------------------------
   Servicios
   -------------------------------------------------------------------------- */

.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 55% at 50% 0%, rgba(91, 140, 255, 0.11), transparent 75%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.service-card:hover { transform: translateY(-5px); border-color: rgba(91, 140, 255, 0.4); box-shadow: var(--shadow); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border: 1px solid rgba(91, 140, 255, 0.22);
  border-radius: 13px;
  background: var(--gradient-soft);
  color: var(--brand);
}
.service-icon .icon { width: 22px; height: 22px; }
.service-card h3 { position: relative; font-size: 18.5px; font-weight: 600; letter-spacing: -0.025em; }
.service-card p { position: relative; margin-top: 11px; color: var(--muted); font-size: 13.5px; line-height: 1.65; }
.service-features { position: relative; display: grid; gap: 7px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.service-features li { display: flex; align-items: flex-start; gap: 8px; color: var(--text-soft); font-size: 12.5px; line-height: 1.45; }
.service-features .icon { width: 14px; height: 14px; margin-top: 2px; color: var(--green); flex: none; }
.service-foot { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 22px; }
.service-foot .link-arrow { font-size: 12.5px; }

/* --------------------------------------------------------------------------
   Industrias
   -------------------------------------------------------------------------- */

.industries-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.industry-card {
  position: relative;
  grid-column: span 2;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
}
.industry-card:nth-child(4), .industry-card:nth-child(5) { grid-column: span 3; }
.industry-card::after {
  content: "";
  position: absolute;
  right: -50px;
  top: -60px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--brand);
  filter: blur(55px);
  opacity: 0.12;
  transition: opacity 0.25s;
}
.industry-card:hover { transform: translateY(-4px); border-color: var(--line-strong); background: var(--surface-2); }
.industry-card:hover::after { opacity: 0.22; }
.industry-head { display: flex; align-items: center; gap: 12px; }
.industry-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  flex: none;
}
.industry-icon .icon { width: 18px; height: 18px; }
.industry-card h3 { font-size: 15.5px; font-weight: 600; letter-spacing: -0.02em; }
.industry-card p { margin-top: 13px; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.industry-arrow { position: absolute; top: 24px; right: 22px; width: 15px; height: 15px; color: var(--muted); opacity: 0.6; }

/* --------------------------------------------------------------------------
   Proyectos
   -------------------------------------------------------------------------- */

.projects-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.projects-top .section-head { margin-bottom: 0; }
.project-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter-btn {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.filter-btn:hover { color: var(--text); border-color: var(--line-strong); }
.filter-btn.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }
.projects-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.project-card {
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.project-card:hover { transform: translateY(-5px); border-color: rgba(91, 140, 255, 0.35); box-shadow: var(--shadow); }
.project-cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #070b16; }
.project-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.project-card:hover .project-cover img { transform: scale(1.035); }
.project-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(4, 8, 16, 0.4));
  pointer-events: none;
}
.project-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(5, 10, 22, 0.65);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #dbe6ff;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.project-open {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(5, 10, 22, 0.65);
  color: #dbe6ff;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s, transform 0.25s;
}
.project-open .icon { width: 14px; height: 14px; }
.project-card:hover .project-open { opacity: 1; transform: translateY(0); }
.project-body { padding: 20px 22px 22px; }
.project-body h3 { font-size: 16.5px; font-weight: 600; letter-spacing: -0.025em; }
.project-body p { margin-top: 8px; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.project-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tag {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 500;
}
.project-card.is-hidden { display: none; }
.projects-empty { padding: 40px; text-align: center; color: var(--muted); }

/* --------------------------------------------------------------------------
   Proceso
   -------------------------------------------------------------------------- */

.process-grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.process-grid::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 22px;
  right: 22px;
  border-top: 1px dashed var(--line-strong);
}
.process-step { position: relative; padding-top: 62px; }
.process-num {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.process-step h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.process-step p { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.65; }

/* --------------------------------------------------------------------------
   Banda CTA
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(34px, 5vw, 56px);
  border: 1px solid rgba(91, 140, 255, 0.28);
  border-radius: 26px;
  background: #080d19;
  color: #eef2ff;
  overflow: hidden;
  box-shadow: 0 40px 90px -50px rgba(59, 108, 255, 0.55);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 80% at 85% 0%, rgba(34, 211, 238, 0.18), transparent 70%),
    radial-gradient(45% 80% at 5% 100%, rgba(91, 140, 255, 0.2), transparent 70%);
  pointer-events: none;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(148, 163, 200, 0.06) 1px, transparent 1px), linear-gradient(to bottom, rgba(148, 163, 200, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(70% 100% at 70% 50%, #000, transparent 80%);
  mask-image: radial-gradient(70% 100% at 70% 50%, #000, transparent 80%);
  pointer-events: none;
}
.cta-copy { position: relative; z-index: 1; max-width: 640px; }
.cta-copy .eyebrow { color: #7fa3ff; }
.cta-copy h2 { color: #f4f7ff; font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
.cta-copy p { margin-top: 14px; color: #a8b4cc; font-size: 14.5px; line-height: 1.65; max-width: 52ch; }
.cta-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; flex: none; }
.cta-actions .btn-secondary { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.18); color: #eef2ff; }
.cta-actions .btn-secondary:hover { background: rgba(255, 255, 255, 0.1); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 28px); }
.faq-contact {
  margin-top: 30px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.faq-contact-head { display: flex; align-items: center; gap: 12px; }
.faq-contact-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(37, 211, 102, 0.12);
  color: #25d366;
  flex: none;
}
.faq-contact-icon .icon { width: 18px; height: 18px; }
.faq-contact strong { display: block; font-size: 13px; font-weight: 600; }
.faq-contact span { display: block; margin-top: 2px; color: var(--muted); font-size: 11.5px; }
.faq-contact .link-arrow { margin-top: 14px; font-size: 12px; }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 21px 2px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brand); }
.faq-plus {
  position: relative;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  flex: none;
  transition: background 0.2s, border-color 0.2s, transform 0.25s;
}
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; width: 9px; height: 1.5px; border-radius: 1px; background: currentColor; transition: transform 0.25s; }
.faq-plus::after { transform: rotate(90deg); }
.faq-item[open] .faq-plus { background: var(--brand-soft); border-color: rgba(91, 140, 255, 0.35); color: var(--brand); }
.faq-item[open] .faq-plus::after { transform: rotate(0deg); }
.faq-answer { padding: 0 38px 22px 2px; color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.faq-answer p { margin: 0; }

/* --------------------------------------------------------------------------
   Contacto
   -------------------------------------------------------------------------- */

.contact-section { background: var(--bg-soft); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(36px, 5vw, 64px); align-items: start; }
.contact-list { display: grid; gap: 10px; margin-top: 30px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  transition: border-color 0.2s, transform 0.2s;
}
a.contact-item:hover { border-color: var(--line-strong); transform: translateX(3px); }
.contact-ico {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  flex: none;
}
.contact-ico.wa { background: rgba(37, 211, 102, 0.12); color: #25d366; }
.contact-ico .icon { width: 18px; height: 18px; }
.contact-item span { display: block; color: var(--muted); font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; }
.contact-item strong { display: block; margin-top: 2px; color: var(--text); font-size: 13px; font-weight: 600; }
.contact-item .contact-arrow { margin-left: auto; width: 15px; height: 15px; color: var(--muted); flex: none; }
.contact-socials { display: flex; gap: 8px; margin-top: 20px; }
.contact-socials a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.contact-socials a:hover { color: var(--brand); border-color: rgba(91, 140, 255, 0.35); background: var(--brand-soft); }
.contact-socials .icon { width: 16px; height: 16px; }

.form-card {
  padding: clamp(24px, 3.5vw, 34px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.form-card h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.025em; }
.form-card > p { margin-top: 8px; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin-top: 24px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--text-soft); font-size: 11.5px; font-weight: 500; }
.field label .req { color: var(--brand); }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--text);
  font-size: 13px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field input, .field select { height: 46px; padding: 0 13px; }
.field textarea { min-height: 122px; padding: 12px 13px; resize: vertical; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 0.7; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
  background: var(--surface);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238b97b0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; padding-right: 36px; }
[data-theme="light"] .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235d6a83' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.form-submit { margin-top: 20px; }
.form-note { display: flex; align-items: flex-start; gap: 7px; margin-top: 13px; color: var(--muted); font-size: 10.5px; line-height: 1.5; }
.form-note .icon { width: 13px; height: 13px; margin-top: 1px; flex: none; color: var(--green); }
.hp-field { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; width: 0; overflow: hidden; }
.form-alert {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.55;
  margin-bottom: 16px;
}
.form-alert.error { background: var(--danger-soft); border: 1px solid rgba(248, 113, 113, 0.25); color: var(--danger); }
.form-alert.success { background: var(--green-soft); border: 1px solid rgba(52, 211, 153, 0.25); color: var(--green); }
.form-alert .icon { width: 16px; height: 16px; flex: none; margin-top: 1px; }
.form-alert ul { margin: 4px 0 0; padding-left: 16px; list-style: disc; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer { position: relative; padding-top: 64px; background: var(--bg); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; color: var(--muted); font-size: 12.5px; line-height: 1.7; }
.footer-descriptor { margin-top: 8px; color: var(--muted); font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; }
.footer-social { display: flex; gap: 8px; margin-top: 18px; }
.footer-social a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.footer-social a:hover { color: var(--brand); border-color: rgba(91, 140, 255, 0.35); background: var(--brand-soft); }
.footer-social .icon { width: 15px; height: 15px; }
.footer-col h4 { margin-bottom: 16px; color: var(--text); font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-col ul { display: grid; gap: 9px; }
.footer-col a, .footer-col li { color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.footer-col a { transition: color 0.2s; }
.footer-col a:hover { color: var(--brand); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 8px; }
.footer-contact-item .icon { width: 14px; height: 14px; margin-top: 2px; color: var(--brand); flex: none; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 52px;
  padding: 20px 0 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10.5px;
}
.footer-credit { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); transition: color 0.2s; }
.footer-credit:hover { color: var(--brand); }
.footer-credit .icon { width: 12px; height: 12px; }
.footer-credit strong { color: var(--text-soft); font-weight: 500; }

/* --------------------------------------------------------------------------
   WhatsApp flotante
   -------------------------------------------------------------------------- */

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #04130a;
  box-shadow: 0 16px 34px -12px rgba(37, 211, 102, 0.65);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover { transform: scale(1.06); box-shadow: 0 20px 40px -12px rgba(37, 211, 102, 0.75); }
.wa-float .icon { width: 27px; height: 27px; }
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: wa-pulse 2.8s ease-out infinite;
  pointer-events: none;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  75%, 100% { transform: scale(1.55); opacity: 0; }
}
.wa-float-tip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(4px);
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}
.wa-float:hover .wa-float-tip { opacity: 1; transform: translateY(-50%) translateX(0); }

/* --------------------------------------------------------------------------
   Animaciones de entrada
   -------------------------------------------------------------------------- */

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); transition-delay: var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1120px) {
  .main-nav { gap: 22px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 24px; }
  .process-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-col:last-child { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; padding-top: 18px; border-top: 1px solid var(--line); }
  .footer-col:last-child h4 { width: 100%; margin-bottom: 0; }
}

@media (max-width: 980px) {
  :root { --header-h: 70px; }
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { max-width: 660px; margin-inline: auto; width: 100%; }
  .about-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .quality-card { max-width: 620px; }
  .faq-aside { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .stat:nth-child(4) { border-top: 1px solid var(--line); }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .cta-actions { width: 100%; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (max-width: 760px) {
  .container { padding-inline: 20px; }
  .section { padding: 68px 0; }
  .hero { padding-top: calc(var(--header-h) + 44px); }
  .hero h1 { font-size: clamp(2.35rem, 9.5vw, 3.2rem); }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-tags { gap: 8px 12px; }
  .chip-android { right: 8px; top: 14px; }
  .chip-tv { left: 8px; bottom: 72px; }
  .chip-wa { right: 10px; bottom: -20px; }
  .float-chip { padding: 8px 11px; font-size: 10px; border-radius: 10px; }
  .float-chip .chip-ico { width: 26px; height: 26px; border-radius: 7px; }
  .float-chip .icon { width: 15px; height: 15px; }
  .browser-body { grid-template-columns: 42px minmax(0, 1fr); min-height: 340px; }
  .browser-main { padding: 14px; }
  .browser-side .side-logo { width: 20px; height: 20px; }
  .browser-side i { width: 18px; height: 18px; }
  .browser-side .side-user { width: 20px; height: 20px; }
  .browser-stat { padding: 8px; }
  .browser-stat strong { font-size: 13px; }
  .browser-chart svg { height: 64px; }
  .browser-list .browser-row:nth-child(3) { display: none; }
  .services-grid, .projects-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-card, .industry-card:nth-child(4), .industry-card:nth-child(5) { grid-column: span 1; }
  .industry-card:last-child { grid-column: 1 / -1; }
  .process-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-points { grid-template-columns: 1fr; }
  .stats { margin-top: 36px; }
  .stat { padding: 22px 16px; }
  .projects-top { flex-direction: column; align-items: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:last-child { grid-column: 1 / -1; display: block; }
  .footer-col:last-child h4 { margin-bottom: 14px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .wa-float { right: 16px; bottom: 16px; width: 50px; height: 50px; }
  .wa-float-tip { display: none; }
}

@media (max-width: 520px) {
  .hero-badge { font-size: 10.5px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { margin-top: 6px; }
  .chip-tv { display: none; }
  .chip-wa { right: 0; }
  .browser-head strong { font-size: 13px; }
  .browser-stats { gap: 5px; }
  .browser-stat span { font-size: 6px; }
  .browser-stat strong { font-size: 11px; }
  .browser-stat em { display: none; }
  .browser-chart-head span { display: none; }
  .browser-row .line.w2 { display: none; }
  .trust { padding: 22px 0; }
  .section-head { margin-bottom: 32px; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat strong { font-size: 1.45rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand, .footer-col:last-child { grid-column: auto; }
  .form-card { padding: 22px 18px; }
  .contact-item { padding: 12px; }
}

@media (max-width: 380px) {
  .container { padding-inline: 16px; }
  .hero h1 { font-size: 2.1rem; }
  .brand-word { font-size: 18px; }
  .brand-mark { width: 34px; height: 34px; }
  .theme-toggle, .menu-toggle { width: 38px; height: 38px; }
  .browser-side { display: none; }
  .browser-body { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
