@import url('https://fonts.googleapis.com/css2?family=Clash+Display:wght@400;500;600;700&family=Bricolage+Grotesque:wght@300;400;500;600&display=swap');

/* ─────────────────────────────────────────
   TOKENS
───────────────────────────────────────── */
:root {
  --white:   #ffffff;
  --off:     #f7f7f9;
  --ink:     #0c0c12;
  --ink-60:  rgba(12,12,18,.6);
  --ink-25:  rgba(12,12,18,.25);
  --ink-08:  rgba(12,12,18,.08);

  --violet:  #6A2AE2;
  --blue:    #2563EB;
  --accent:  #e2342a;   /* rojo ardata */

  --grad:    linear-gradient(130deg, #6A2AE2 0%, #2563EB 100%);
  --grad-soft: linear-gradient(130deg, rgba(106,42,226,.08) 0%, rgba(37,99,235,.08) 100%);

  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 40px;

  --shadow-card: 0 2px 12px rgba(12,12,18,.07), 0 8px 32px rgba(12,12,18,.05);
  --shadow-hover: 0 8px 32px rgba(106,42,226,.18), 0 24px 64px rgba(12,12,18,.1);

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─────────────────────────────────────────
   RESET
───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Bricolage Grotesque', sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  cursor: auto;
}

/* ─────────────────────────────────────────
   CURSOR — desactivado
───────────────────────────────────────── */
.cursor-dot, .cursor-ring { display: none !important; }

/* ─────────────────────────────────────────
   TIPOGRAFÍA
───────────────────────────────────────── */
h1,h2,h3,h4 {
  font-family: 'Clash Display', sans-serif;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.8rem, 5.5vw, 5rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); font-weight: 600; }
h3 { font-size: 1.3rem; font-weight: 600; }
h4 { font-size: 0.78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }

p { color: var(--ink-60); font-size: 1.05rem; line-height: 1.8; max-width: 640px; }

a { color: inherit; text-decoration: none; }

/* ─────────────────────────────────────────
   LAYOUT
───────────────────────────────────────── */
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
section { padding: 120px 0; }

/* ─────────────────────────────────────────
   LABEL
───────────────────────────────────────── */
.label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--violet);
  margin-bottom: 20px;
}
.label::before {
  content: ''; display: block;
  width: 20px; height: 2px;
  background: var(--grad); border-radius: 2px;
}

/* ─────────────────────────────────────────
   BOTONES
───────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--r-sm);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: .92rem; font-weight: 600;
  transition: transform .25s var(--ease-out-expo),
              box-shadow .25s var(--ease-out-expo);
  cursor: pointer; border: none;
}
.btn:hover { transform: translateY(-3px); }

.btn-grad {
  background: var(--grad);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(106,42,226,.3);
}
.btn-grad:hover { box-shadow: 0 12px 40px rgba(106,42,226,.4); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink-25);
}
.btn-ghost:hover { border-color: var(--violet); color: var(--violet); box-shadow: none; }

.btn-arrow::after { content: '→'; transition: transform .2s; }
.btn-arrow:hover::after { transform: translateX(4px); }

/* ─────────────────────────────────────────
   NAVBAR
───────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 20px 0;
  transition: padding .4s, background .4s, box-shadow .4s;
}
nav.stuck {
  padding: 12px 0;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--ink-08);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo-img { height: 40px; width: auto; object-fit: contain; }
.nav-links {
  list-style: none; display: flex; align-items: center; gap: 36px;
}
.nav-links a {
  font-size: .88rem; font-weight: 500; color: var(--ink-60);
  transition: color .2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0;
  height: 1.5px; background: var(--grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease-out-expo);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta.btn { padding: 10px 22px; font-size: .85rem; color: var(--white) !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none;
}
.hamburger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 100px; padding-bottom: 80px;
  position: relative; overflow: hidden;

  /* imagen de fondo acuarela */
  background-image: url('../img/hero-bg.png');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

/* overlay en capas: izquierda opaco para leer el texto, derecha transparente para ver la imagen */
#hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(
      105deg,
      rgba(255,255,255,.75) 0%,
	  rgba(255,255,255,.70) 38%,
      rgba(255,255,255,.60) 58%,
      rgba(255,255,255,.10) 78%,
      rgba(255,255,255,.00) 100%
    );
}

/* velo superior e inferior para integrar con las secciones adyacentes */
#hero::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to bottom,
      rgba(255,255,255,.55) 0%,
      transparent 12%,
      transparent 82%,
      rgba(255,255,255,.70) 100%
    );
  pointer-events: none;
}

/* leve viñeta de color de marca en la esquina derecha */
.hero-tint {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 55% 70% at 85% 55%,
    rgba(106,42,226,.12) 0%, transparent 70%);
}

#petals-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 2; pointer-events: none;
}

.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
  position: relative; z-index: 3;
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 100px;
  background: rgba(106,42,226,.08);
  border: 1px solid rgba(106,42,226,.2);
  font-size: .75rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--violet);
  margin-bottom: 28px;
}

.hero-title { margin-bottom: 24px; }
.hero-title .line-accent {
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc { margin-bottom: 40px; }

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* el lado derecho del grid queda vacío — muestra la imagen de fondo */
.hero-img-wrap { display: none; }

/* stats */
.hero-stats {
  display: flex; gap: 40px; margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(12,12,18,.1);
}
.hstat-num {
  font-family: 'Clash Display', sans-serif;
  font-size: 2rem; font-weight: 700; line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hstat-label { font-size: .8rem; color: var(--ink-60); margin-top: 4px; }

/* ─────────────────────────────────────────
   SECCIÓN NOSOTROS — BURBUJAS
───────────────────────────────────────── */
#nosotros {
  background: linear-gradient(135deg, #6A2AE2 0%, #7c3ff5 40%, #8b5cf6 70%, #a78bfa 100%);
  position: relative; overflow: hidden;
  padding: 120px 0;
}

.nosotros-inner { position: relative; z-index: 2; }

/* ── burbujas ── */
.burbuja {
  position: absolute; border-radius: 50%; pointer-events: none;
}
.b1 { width: 130px; height: 130px; background: rgba(255,255,255,.92); top: -30px;  right: 30%;  animation: bfloat 6s ease-in-out infinite; }
.b2 { width:  90px; height:  90px; background: rgba(255,255,255,.35); top:  20px;  right: 14%;  animation: bfloat 7s ease-in-out infinite 1s; }
.b3 { width: 120px; height: 120px; background: rgba(255,255,255,.28); top: 38%;   right: 22%;  animation: bfloat 8s ease-in-out infinite .5s; }
.b4 { width:  75px; height:  75px; background: rgba(255,255,255,.90); top: 45%;   right: 8%;   animation: bfloat 5s ease-in-out infinite 2s; }
.b5 { width:  60px; height:  60px; background: rgba(255,255,255,.22); top: 60%;   right: 16%;  animation: bfloat 9s ease-in-out infinite 1.5s; }
.b6 { width: 100px; height: 100px; background: rgba(255,255,255,.88); bottom: 40px; right: 6%; animation: bfloat 7s ease-in-out infinite 3s; }

@keyframes bfloat {
  0%,100% { transform: translateY(0) scale(1); }
  33%      { transform: translateY(-18px) scale(1.04); }
  66%      { transform: translateY(10px) scale(.97); }
}

/* ── texto ── */
.nosotros-text { max-width: 620px; }

.nos-quote {
  display: block;
  font-family: 'Clash Display', sans-serif;
  font-size: 2.2rem; font-weight: 700;
  color: rgba(255,255,255,.7);
  line-height: 1; margin-bottom: 12px;
}

.nos-titulo {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--white); font-weight: 700;
  margin-bottom: 24px;
}

.nos-desc {
  color: rgba(255,255,255,.82);
  font-size: 1.02rem; line-height: 1.85;
  max-width: 560px;
  margin-bottom: 36px;
}

.nos-autor {
  display: flex; align-items: center; gap: 14px;
}
.nos-avatar {
	overflow: hidden; padding: 0;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad);
  border: 2.5px solid rgba(255,255,255,.5);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Clash Display', sans-serif;
  font-size: .85rem; font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.nos-avatar img { width: 100%; height: 100%; object-fit: cover; }
.nos-autor strong { display: block; color: var(--white); font-size: .95rem; }
.nos-autor span   { display: block; color: rgba(255,255,255,.6); font-size: .82rem; margin-top: 2px; }
.nos-foto {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  filter: brightness(0) invert(1);
}
/* ─────────────────────────────────────────
   SERVICIOS
───────────────────────────────────────── */
#servicios { background: var(--white); }

.section-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: end;
  margin-bottom: 64px;
}
.section-header .right { display: flex; justify-content: flex-end; align-items: flex-end; }

.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.svc-card {
  padding: 36px 32px;
  border-radius: var(--r-md);
  border: 1px solid var(--ink-08);
  background: var(--white);
  box-shadow: var(--shadow-card);
  position: relative; overflow: hidden;
  transition: transform .35s var(--ease-out-expo), box-shadow .35s;
  cursor: default;
}
.svc-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease-out-expo);
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.svc-card:hover::before { transform: scaleX(1); }

.svc-icon {
  width: 72px; height: 72px; border-radius: 16px;
  margin-bottom: 24px; overflow: hidden;
  background: var(--grad-soft);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s;
}
.svc-icon img { width: 52px; height: 52px; object-fit: contain; }
.svc-card:hover .svc-icon { transform: scale(1.08) rotate(-3deg); }

.svc-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.svc-card p  { font-size: .88rem; max-width: none; }

/* ─────────────────────────────────────────
   INTEGRA — AZUL, GRID 3×3, LOGOS
───────────────────────────────────────── */
#integra {
  background-color: #04080f;
  background-image: url('../img/integra-bg.png');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  color: var(--white);
  position: relative; overflow: hidden;
  padding: 100px 0 110px;
}

.integra-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(
    160deg,
    rgba(2,8,30,.95) 0%,
    rgba(5,18,65,.90) 40%,
    rgba(8,30,90,.82) 70%,
    rgba(4,12,50,.88) 100%
  );
}

/* ── header: logos + desc + botón ── */
.integra-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px 48px;
  align-items: center;
  margin-bottom: 52px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  position: relative; z-index: 2;
}

.integra-brand {
  display: flex; align-items: center; gap: 18px;
}
.integra-ardata-logo {
  height: 58px; width: auto;
  filter: brightness(0) invert(1);
  object-fit: contain;
}
.integra-brand-sep {
  font-size: .7rem; font-weight: 600; letter-spacing: .15em;
  text-transform: uppercase; color: rgba(255,255,255,.3);
}
.integra-logo-img {
  height: 40px; width: auto;
  filter: brightness(0) invert(1);
  object-fit: contain;
}
.integra-desc {
  font-size: .95rem; color: rgba(255,255,255,.6);
  line-height: 1.75; max-width: 500px;
}
.integra-btn {
  background: linear-gradient(130deg, #1d4ed8 0%, #2563eb 100%);
  color: var(--white) !important;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(37,99,235,.4);
}
.integra-btn:hover { box-shadow: 0 12px 40px rgba(37,99,235,.55); }

/* ── grid 3×3 ── */
.integra-modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  position: relative; z-index: 2;
}

.imod {
  padding: 26px 24px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  position: relative; overflow: hidden;
  transition: background .3s, border-color .3s, transform .3s var(--ease-out-expo);
  cursor: default;
}
.imod::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, #1d4ed8, #60a5fa);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease-out-expo);
}
.imod:hover {
  background: rgba(37,99,235,.12);
  border-color: rgba(37,99,235,.4);
  transform: translateY(-5px);
}
.imod:hover::before { transform: scaleX(1); }

.imod-num {
  display: block;
  font-family: 'Clash Display', sans-serif;
  font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  color: #60a5fa; margin-bottom: 10px;
}
.imod h4 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: .92rem; font-weight: 700;
  color: rgba(255,255,255,.92);
  letter-spacing: 0; text-transform: none;
  margin-bottom: 7px; line-height: 1.3;
}
.imod p {
  font-size: .81rem; color: rgba(255,255,255,.48);
  line-height: 1.6; max-width: none;
}

@media (max-width: 860px) {
  .integra-header { grid-template-columns: 1fr; gap: 18px; }
  .integra-brand, .integra-desc, .integra-btn { grid-column: 1; }
  .integra-modules-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 560px) {
  .integra-modules-grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────
   TECNOLOGÍA
───────────────────────────────────────── */
#tecnologia { background: var(--off); }

.tech-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}

.tech-img img {
  width: 100%;
  border-radius: var(--r-xl);
  filter: drop-shadow(0 20px 60px rgba(37,99,235,.15));
  animation: hero-float 6s ease-in-out infinite;
}

.pilares {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px;
}

.pilar {
  padding: 22px 20px;
  background: var(--white); border: 1px solid var(--ink-08);
  border-radius: var(--r-md); text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease-out-expo), box-shadow .3s;
}
.pilar:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.pilar-icon { font-size: 1.5rem; margin-bottom: 8px; }
.pilar h4 { font-size: .85rem; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; letter-spacing: 0; text-transform: none; margin-bottom: 4px; }
.pilar p   { font-size: .8rem; max-width: none; }

.tags-wrap { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

.tag-chip {
  padding: 7px 16px; border-radius: 100px;
  background: var(--white); border: 1px solid var(--ink-08);
  font-size: .8rem; font-weight: 500; color: var(--ink-60);
  box-shadow: var(--shadow-card);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  cursor: default;
}
.tag-chip:hover { background: var(--grad); color: var(--white); border-color: transparent; transform: translateY(-2px); }

/* ─────────────────────────────────────────
   EXPERIENCIA
───────────────────────────────────────── */
#experiencia { background: var(--white); }

.exp-intro {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center; margin-bottom: 72px;
}
.exp-img img {
  width: 100%;
  border-radius: var(--r-xl);
  filter: drop-shadow(0 16px 48px rgba(106,42,226,.12));
  animation: hero-float 7s ease-in-out infinite;
  animation-delay: 1s;
}

.exp-cards {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 20px;
}

.exp-card {
  padding: 28px;
  border: 1px solid var(--ink-08);
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease-out-expo), box-shadow .3s;
}
.exp-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.exp-card h3 { font-size: 1rem; margin-bottom: 14px; }
.exp-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.exp-list li {
  font-size: .86rem; color: var(--ink-60); line-height: 1.5;
  padding-left: 16px; position: relative;
}
.exp-list li::before {
  content: ''; position: absolute; left: 0; top: .55em;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--grad);
}

/* ─────────────────────────────────────────
   CONTACTO
───────────────────────────────────────── */
#contacto { background: var(--off); }

.contacto-layout {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 80px; align-items: start;
}

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

.citem {
  display: flex; gap: 16px; align-items: flex-start;
}
.citem-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 12px; background: var(--grad-soft);
  border: 1px solid rgba(106,42,226,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.citem-label { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-25); }
.citem-val { font-size: .95rem; color: var(--ink); margin-top: 2px; }
.citem-val a { color: var(--ink); transition: color .2s; }
.citem-val a:hover { color: var(--violet); }

/* form */
.form-card {
  background: var(--white); border: 1px solid var(--ink-08);
  border-radius: var(--r-lg); padding: 40px;
  box-shadow: var(--shadow-card);
}
.form-card h3 { font-size: 1.4rem; margin-bottom: 28px; }

.fg { margin-bottom: 16px; }
.fg label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-60); margin-bottom: 6px; }
.fg input, .fg textarea, .fg select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--ink-08);
  border-radius: var(--r-sm);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: .92rem; color: var(--ink);
  background: var(--off);
  outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
  -webkit-appearance: none;
}
.fg input:focus, .fg textarea:focus, .fg select:focus {
  border-color: var(--violet);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(106,42,226,.1);
}
.fg textarea { resize: vertical; min-height: 110px; }
.fg select option { background: var(--white); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.btn-form {
  width: 100%; margin-top: 8px;
  padding: 15px;
  background: var(--grad);
  color: var(--white); border: none; border-radius: var(--r-sm);
  font-family: 'Clash Display', sans-serif;
  font-size: 1rem; font-weight: 600; letter-spacing: .02em;
  cursor: pointer;
  transition: transform .25s var(--ease-out-expo), box-shadow .25s;
}
.btn-form:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(106,42,226,.35); }

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
footer {
  background: var(--ink); color: rgba(255,255,255,.4);
  padding: 48px 0;
}
.footer-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 32px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px;
}
.footer-logo {
  font-family: 'Clash Display', sans-serif;
  font-size: 1.3rem; font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-logo-img {
  height: 60px;
  max-width: 120px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: screen;
}
.footer-links { display: flex; gap: 28px; list-style: none; }
.footer-links a { font-size: .82rem; color: rgba(255,255,255,.35); transition: color .2s; }
.footer-links a:hover { color: rgba(255,255,255,.8); }
.footer-copy { font-size: .78rem; }

/* ─────────────────────────────────────────
   REVEAL ANIMATIONS
───────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity .8s var(--ease-out-expo), transform .8s var(--ease-out-expo);
}
.reveal.up    { transform: translateY(32px); }
.reveal.left  { transform: translateX(-32px); }
.reveal.right { transform: translateX(32px); }
.reveal.scale { transform: scale(.95); }
.reveal.visible { opacity: 1 !important; transform: none !important; }

/* ─────────────────────────────────────────
   PROGRESS LINE TOP
───────────────────────────────────────── */
#progress-line {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 300;
  background: var(--grad); width: 0%; transition: width .1s linear;
}

/* ─────────────────────────────────────────
   RESPONSIVE — COMPLETO
───────────────────────────────────────── */

/* ── Tablet grande ── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .integra-modules-grid { grid-template-columns: repeat(2,1fr); }
  .integra-header { grid-template-columns: 1fr 1fr; }
}

/* ── Tablet / mobile grande ── */
@media (max-width: 860px) {
  section { padding: 72px 0; }
  .wrap { padding: 0 20px; }

  /* navbar */
  nav { padding: 14px 0; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(20px);
    padding: 20px 24px; gap: 16px;
    border-top: 1px solid var(--ink-08);
    box-shadow: 0 12px 32px rgba(12,12,18,.1);
  }
  .nav-links.open li { border-bottom: 1px solid var(--ink-08); padding-bottom: 12px; }
  .nav-logo-img { height: 32px; }

  /* cursor off */
  body { cursor: auto; }

  /* hero */
  #hero {
    min-height: 100svh;
    padding-top: 90px; padding-bottom: 60px;
    background-position: 60% 40%;
  }
  #hero::before {
    background: linear-gradient(
      180deg,
    rgba(255,255,255,.82) 0%,
    rgba(255,255,255,.65) 45%,
    rgba(255,255,255,.25) 100%
    );
  }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-title { font-size: clamp(2.2rem, 8vw, 3rem); }
  .hero-desc { font-size: .95rem; }
  .hero-btns { flex-direction: column; gap: 12px; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .hero-stats { flex-wrap: wrap; gap: 20px; margin-top: 36px; padding-top: 28px; }
  .hstat-num { font-size: 1.6rem; }

  /* nosotros */
  #nosotros { padding: 72px 0; }
  .burbuja { display: none; } /* esconde burbujas en mobile para que no se superpongan */
  .nosotros-text { max-width: 100%; }
  .nos-titulo { font-size: clamp(1.6rem, 6vw, 2.2rem); }

  /* servicios */
  .section-header { grid-template-columns: 1fr; gap: 16px; margin-bottom: 36px; }
  .section-header .right { justify-content: flex-start; }
  .services-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .svc-card { padding: 24px 20px; }
  .svc-icon { width: 56px; height: 56px; margin-bottom: 16px; }
  .svc-icon img { width: 40px; height: 40px; }
  .svc-card h3 { font-size: 1rem; }

  /* integra */
  #integra { padding: 72px 0 80px; }
  .integra-header {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 36px;
    padding-bottom: 28px;
  }
  .integra-brand { flex-wrap: wrap; gap: 12px; }
  .integra-ardata-logo { height: 40px; }
  .integra-logo-img { height: 30px; }
  .integra-btn { width: 100%; justify-content: center; }
  .integra-modules-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .imod { padding: 18px 16px; }
  .imod h4 { font-size: .85rem; }

  /* tecnología */
  .tech-layout { grid-template-columns: 1fr; gap: 40px; }
  .tech-img { order: -1; }
  .tech-img img { max-width: 320px; margin: 0 auto; display: block; }
  .pilares { grid-template-columns: 1fr 1fr; }

  /* experiencia */
  .exp-intro { grid-template-columns: 1fr; gap: 36px; margin-bottom: 36px; }
  .exp-img { order: -1; }
  .exp-img img { max-width: 300px; margin: 0 auto; display: block; }
  .exp-cards { grid-template-columns: 1fr; gap: 14px; }

  /* contacto */
  .contacto-layout { grid-template-columns: 1fr; gap: 40px; }
  .form-card { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; }

  /* footer */
  .footer-inner { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .footer-logo-img { height: 44px; }
}

/* ── Mobile pequeño ── */
@media (max-width: 480px) {
  section { padding: 56px 0; }
  .wrap { padding: 0 16px; }

  h1 { font-size: clamp(1.9rem, 9vw, 2.4rem); }
  h2 { font-size: clamp(1.6rem, 7vw, 2rem); }

  /* hero */
  #hero { padding-top: 80px; padding-bottom: 48px; }
  .hero-tag { font-size: .65rem; }
  .hero-stats { gap: 16px; }
  .hstat-num { font-size: 1.4rem; }
  .hstat-label { font-size: .72rem; }

  /* servicios: 1 columna en pantallas muy chicas */
  .services-grid { grid-template-columns: 1fr; }

  /* integra: 1 columna */
  .integra-modules-grid { grid-template-columns: 1fr; }
  .integra-brand { gap: 8px; }
  .integra-ardata-logo { height: 32px; }
  .integra-logo-img { height: 24px; }

  /* nosotros */
  .nos-titulo { font-size: clamp(1.5rem, 7vw, 2rem); }
  .nos-desc { font-size: .92rem; }

  /* pilares */
  .pilares { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pilar { padding: 16px 12px; }

  /* contacto form */
  .form-card { padding: 20px 16px; border-radius: var(--r-md); }
  .citem-icon { width: 38px; height: 38px; font-size: .95rem; }

  /* footer */
  .footer-links { gap: 12px; }
  .footer-links a { font-size: .78rem; }
}
