/* =====================================================
   ZABAT SOFTWARE — Design System
   Paleta: Teal #0D9488 / Cyan #06B6D4 / Dark Navy #030B12
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

/* ── VARIABLES ── */
:root {
  --primary:       #0D9488;
  --primary-light: #14B8A6;
  --primary-glow:  #0D948866;
  --cyan:          #06B6D4;
  --cyan-light:    #22D3EE;
  --emerald:       #10B981;

  --bg:            #030B12;
  --bg2:           #060F1C;
  --surface:       #0A1628;
  --surface2:      #0F1E35;
  --border:        #1A3050;
  --border-light:  #1E3A5F;

  --text:          #E2F0FF;
  --text-muted:    #7BACC4;
  --text-dim:      #3D6480;

  --gradient-hero: linear-gradient(135deg, #030B12 0%, #061020 50%, #030B12 100%);
  --gradient-teal: linear-gradient(135deg, var(--primary), var(--cyan));
  --gradient-card: linear-gradient(135deg, #0A1628 0%, #0F1E35 100%);

  --shadow-sm:  0 1px 3px rgba(0,0,0,.4);
  --shadow-md:  0 4px 20px rgba(0,0,0,.5);
  --shadow-lg:  0 8px 40px rgba(0,0,0,.6);
  --shadow-glow:0 0 40px var(--primary-glow);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --font-head: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --transition: .25s cubic-bezier(.4,0,.2,1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4,h5 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

/* ── UTILITY ── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 100px 0; }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: .75rem;
}
.section-title { color: var(--text); margin-bottom: 1rem; }
.section-subtitle { color: var(--text-muted); font-size: 1.05rem; max-width: 560px; }

/* ── GRADIENT TEXT ── */
.gradient-text {
  background: var(--gradient-teal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition);
  border: none;
}
.btn-primary {
  background: var(--gradient-teal);
  color: #fff;
  box-shadow: 0 4px 24px rgba(13,148,136,.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(13,148,136,.6);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-light);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary-light);
  background: rgba(13,148,136,.08);
}

/* =====================================================
   HEADER / NAVBAR
   ===================================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
}
.header.scrolled {
  background: rgba(3,11,18,.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.nav-logo-icon {
  width: 38px;
  height: 38px;
}
.nav-logo-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: -.02em;
}
.nav-logo-text span { color: var(--primary-light); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  color: var(--text-muted);
  font-size: .9rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gradient-teal);
  border-radius: 2px;
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 1rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: .5rem;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(6,15,28,.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text-muted);
  font-weight: 500;
  padding: .5rem 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--primary-light); }
.mobile-menu .btn { width: 100%; justify-content: center; margin-top: .5rem; }

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

/* Aurora background */
.aurora {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .18;
  animation: aurora-drift 12s ease-in-out infinite alternate;
}
.aurora-blob--1 {
  width: 600px; height: 600px;
  background: var(--primary);
  top: -150px; right: -100px;
  animation-delay: 0s;
}
.aurora-blob--2 {
  width: 400px; height: 400px;
  background: var(--cyan);
  bottom: 0; left: -80px;
  animation-delay: -4s;
}
.aurora-blob--3 {
  width: 300px; height: 300px;
  background: var(--emerald);
  top: 40%; left: 40%;
  animation-delay: -8s;
  opacity: .1;
}
@keyframes aurora-drift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(40px, 30px) scale(1.1); }
}

/* Grid lines */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13,148,136,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,148,136,.06) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-left {}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.5rem;
}
.hero-eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary-light);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 0 0 rgba(13,148,136,.7); }
  50%      { box-shadow: 0 0 0 8px rgba(13,148,136,0); }
}
.hero-eyebrow span {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary-light);
}
.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -.03em;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 3rem;
}
.hero-chip {
  padding: .4rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  font-size: .8rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(10,22,40,.6);
  transition: var(--transition);
}
.hero-chip:hover {
  border-color: var(--primary);
  color: var(--primary-light);
  background: rgba(13,148,136,.08);
}
.hero-stats {
  display: flex;
  gap: 2rem;
}
.stat {
  text-align: left;
}
.stat-value {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-teal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-label {
  font-size: .75rem;
  color: var(--text-dim);
  margin-top: .3rem;
  font-weight: 500;
}

/* Hero right — visual mockup */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-mockup {
  position: relative;
  width: 100%;
  max-width: 520px;
}
.mockup-window {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.7), 0 0 60px rgba(13,148,136,.1);
}
.mockup-bar {
  background: var(--surface2);
  padding: .75rem 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  border-bottom: 1px solid var(--border);
}
.mockup-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.mockup-dot--red   { background: #FF5F57; }
.mockup-dot--yellow{ background: #FFBD2E; }
.mockup-dot--green { background: #28CA41; }
.mockup-title {
  flex: 1;
  text-align: center;
  font-size: .8rem;
  color: var(--text-dim);
  font-weight: 500;
}
.mockup-body { padding: 1.5rem; }

/* Sidebar mockup */
.mockup-layout {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1rem;
  height: 320px;
}
.mockup-sidebar {
  background: rgba(13,148,136,.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.mockup-brand {
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: .5rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
}
.mockup-nav-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .6rem;
  border-radius: var(--radius-sm);
  font-size: .75rem;
  color: var(--text-dim);
  transition: var(--transition);
}
.mockup-nav-item.active {
  background: rgba(13,148,136,.15);
  color: var(--primary-light);
}
.mockup-nav-icon {
  width: 14px; height: 14px;
  border-radius: 3px;
  background: currentColor;
  opacity: .6;
}
.mockup-main { display: flex; flex-direction: column; gap: .75rem; }
.mockup-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.mockup-heading { font-size: .9rem; font-weight: 700; color: var(--text); }
.mockup-subheading { font-size: .65rem; color: var(--text-dim); margin-top: .2rem; }
.mockup-btn {
  background: var(--gradient-teal);
  color: #fff;
  font-size: .65rem;
  font-weight: 600;
  padding: .35rem .75rem;
  border-radius: 999px;
  white-space: nowrap;
}
.mockup-cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: .5rem;
}
.mockup-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .65rem;
}
.mockup-card-label { font-size: .55rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .06em; }
.mockup-card-value { font-size: 1.1rem; font-weight: 700; color: var(--text); font-family: var(--font-head); margin-top: .2rem; }
.mockup-card-sub   { font-size: .55rem; color: var(--text-muted); }
.mockup-table-header {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr 1fr;
  gap: .5rem;
  padding: .4rem 0;
  border-bottom: 1px solid var(--border);
}
.mockup-th { font-size: .6rem; font-weight: 600; color: var(--text-dim); text-transform: uppercase; letter-spacing: .06em; }
.mockup-rows { display: flex; flex-direction: column; gap: .3rem; }
.mockup-row {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr 1fr;
  gap: .5rem;
  padding: .4rem .3rem;
  border-radius: 6px;
  transition: var(--transition);
}
.mockup-row:hover { background: rgba(255,255,255,.03); }
.mockup-td { font-size: .7rem; color: var(--text-muted); display: flex; align-items: center; }
.mockup-badge {
  font-size: .55rem;
  font-weight: 600;
  padding: .15rem .5rem;
  border-radius: 999px;
}
.mockup-badge--green { background: rgba(16,185,129,.15); color: var(--emerald); }
.mockup-badge--teal  { background: rgba(13,148,136,.15); color: var(--primary-light); }

/* Floating tag */
.mockup-float {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: .75rem 1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}
.mockup-float--1 {
  bottom: -20px; left: -30px;
  animation: float1 4s ease-in-out infinite;
}
.mockup-float--2 {
  top: 30px; right: -30px;
  animation: float2 5s ease-in-out infinite;
}
@keyframes float1 {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}
@keyframes float2 {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(8px); }
}
.float-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: var(--gradient-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.float-text { display: flex; flex-direction: column; }
.float-label { font-size: .7rem; color: var(--text-dim); }
.float-value { font-size: .9rem; font-weight: 700; font-family: var(--font-head); color: var(--text); }

/* =====================================================
   CLIENTES MARQUEE
   ===================================================== */
.clients {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
}
.clients-label {
  text-align: center;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 2rem;
}
.marquee-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: .5rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  color: var(--text-dim);
  white-space: nowrap;
  transition: var(--transition);
}
.marquee-item:hover { border-color: var(--primary); color: var(--primary-light); }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* =====================================================
   SERVICIOS
   ===================================================== */
.services { background: var(--bg2); }
.services-head {
  text-align: center;
  margin-bottom: 4rem;
}
.services-head .section-subtitle { margin: 0 auto; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.service-card {
  position: relative;
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: var(--transition);
  overflow: hidden;
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: radial-gradient(600px circle at var(--mouse-x,50%) var(--mouse-y,50%), rgba(13,148,136,.08), transparent 40%);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover {
  border-color: rgba(13,148,136,.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.5), 0 0 40px rgba(13,148,136,.08);
}
.service-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
}
.service-icon {
  width: 54px; height: 54px;
  border-radius: var(--radius-md);
  background: rgba(13,148,136,.12);
  border: 1px solid rgba(13,148,136,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: rgba(13,148,136,.2);
  box-shadow: 0 0 20px rgba(13,148,136,.3);
}
.service-icon svg { width: 26px; height: 26px; color: var(--primary-light); }
.service-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .8rem;
  border-radius: 999px;
  background: rgba(13,148,136,.1);
  border: 1px solid rgba(13,148,136,.2);
  font-size: .72rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 1rem;
}
.service-title {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .75rem;
}
.service-desc {
  color: var(--text-muted);
  font-size: .93rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.pill {
  padding: .25rem .7rem;
  border-radius: 999px;
  background: var(--surface2);
  border: 1px solid var(--border);
  font-size: .72rem;
  color: var(--text-dim);
}
.service-arrow {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-top: 1.5rem;
  opacity: 0;
  transform: translateX(-8px);
  transition: var(--transition);
}
.service-card:hover .service-arrow { opacity: 1; transform: translateX(0); }
.service-visual {
  width: 200px;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.mini-bar {
  height: 8px;
  border-radius: 4px;
  background: var(--gradient-teal);
  opacity: .6;
}

/* =====================================================
   POR QUÉ ZABAT
   ===================================================== */
.why { background: var(--bg); }
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.why-left .section-title { margin-bottom: 1.5rem; }
.why-left .section-subtitle { margin-bottom: 2.5rem; }
.why-list { display: flex; flex-direction: column; gap: 1.25rem; }
.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.why-check {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(13,148,136,.15);
  border: 1px solid rgba(13,148,136,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: .2rem;
}
.why-check svg { width: 12px; height: 12px; color: var(--primary-light); }
.why-item-text strong { display: block; font-weight: 600; color: var(--text); margin-bottom: .25rem; font-size: .95rem; }
.why-item-text span { color: var(--text-muted); font-size: .875rem; }

/* Why right: metrics */
.why-right { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.metric-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}
.metric-card:hover {
  border-color: rgba(13,148,136,.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.metric-card--accent {
  background: rgba(13,148,136,.08);
  border-color: rgba(13,148,136,.25);
  grid-column: 1 / -1;
}
.metric-number {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient-teal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: .5rem;
}
.metric-label { font-size: .85rem; color: var(--text-muted); line-height: 1.4; }

/* =====================================================
   PROCESO
   ===================================================== */
.process { background: var(--bg2); }
.process-head { text-align: center; margin-bottom: 4rem; }
.process-head .section-subtitle { margin: 0 auto; }
.process-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.process-track::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  z-index: 0;
}
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 .5rem;
}
.process-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-dim);
  transition: var(--transition);
  position: relative;
}
.process-step:hover .process-num {
  border-color: var(--primary);
  color: var(--primary-light);
  box-shadow: 0 0 20px rgba(13,148,136,.3);
  background: rgba(13,148,136,.1);
}
.process-icon {
  position: absolute;
  bottom: -8px; right: -8px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--gradient-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
}
.process-title { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--text); margin-bottom: .5rem; }
.process-desc  { font-size: .8rem; color: var(--text-muted); line-height: 1.5; }

/* =====================================================
   SECTORES
   ===================================================== */
.sectors { background: var(--bg); }
.sectors-head { text-align: center; margin-bottom: 4rem; }
.sectors-head .section-subtitle { margin: 0 auto; }
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.sector-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}
.sector-card:hover {
  border-color: rgba(13,148,136,.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
}
.sector-emoji {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}
.sector-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: .5rem;
}
.sector-pain {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.sector-solution {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--primary-light);
}
.sector-solution::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary-light);
  flex-shrink: 0;
}

/* =====================================================
   CASO REAL
   ===================================================== */
.case-study { background: var(--bg2); }
.case-study-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.case-left {}
.case-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem 1rem;
  border-radius: 999px;
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.25);
  font-size: .75rem;
  font-weight: 600;
  color: var(--emerald);
  margin-bottom: 1.5rem;
}
.case-title { font-size: 2rem; color: var(--text); margin-bottom: 1rem; }
.case-client { color: var(--primary-light); font-weight: 600; font-size: 1rem; margin-bottom: 1rem; }
.case-desc { color: var(--text-muted); line-height: 1.7; margin-bottom: 2rem; }
.case-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
.case-result {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
}
.case-result-value {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--gradient-teal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.case-result-label { font-size: .72rem; color: var(--text-dim); margin-top: .25rem; }

.case-right {}
.case-window {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.case-bar {
  background: var(--surface2);
  padding: .75rem 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  border-bottom: 1px solid var(--border);
}
.case-bar-title {
  flex: 1;
  text-align: center;
  font-size: .75rem;
  color: var(--text-dim);
  font-weight: 500;
}
.case-inner {
  display: grid;
  grid-template-columns: 180px 1fr;
  height: 340px;
}
.case-sidebar {
  background: #fff;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  border-right: 1px solid #e5e7eb;
}
.case-sb-brand {
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 800;
  color: #ec4899;
  margin-bottom: 1rem;
}
.case-sb-sub { font-size: .65rem; font-weight: 600; color: #6b7280; text-transform: uppercase; letter-spacing: .06em; margin-top: -.5rem; margin-bottom: .25rem; }
.case-sb-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .6rem;
  border-radius: 8px;
  font-size: .78rem;
  color: #6b7280;
  cursor: pointer;
  transition: .2s;
}
.case-sb-item.active { background: rgba(13,148,136,.12); color: var(--primary); font-weight: 600; }
.case-sb-footer {
  margin-top: auto;
  font-size: .65rem;
  color: var(--primary);
  font-weight: 700;
}
.case-main {
  background: #f9fafb;
  padding: 1.5rem;
  overflow: hidden;
}
.case-main-title { font-size: 1rem; font-weight: 700; color: #111827; }
.case-main-sub { font-size: .7rem; color: #6b7280; margin-bottom: 1rem; }
.case-stat-row {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: .5rem;
  margin-bottom: 1rem;
}
.case-stat-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: .6rem;
}
.case-stat-card label { font-size: .55rem; text-transform: uppercase; letter-spacing: .06em; color: #9ca3af; display: block; }
.case-stat-card span { font-size: 1.2rem; font-weight: 700; color: #111827; font-family: var(--font-head); }
.case-table-h {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr 1fr;
  gap: .5rem;
  padding: .4rem .5rem;
  border-bottom: 1px solid #e5e7eb;
}
.case-th { font-size: .6rem; font-weight: 600; color: #9ca3af; text-transform: uppercase; }
.case-rows { display: flex; flex-direction: column; gap: .25rem; }
.case-row {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr 1fr;
  gap: .5rem;
  padding: .45rem .5rem;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #f3f4f6;
}
.case-td { font-size: .7rem; color: #374151; display: flex; align-items: center; }
.case-badge {
  padding: .15rem .5rem;
  border-radius: 999px;
  font-size: .6rem;
  font-weight: 600;
}
.case-badge--active { background: rgba(16,185,129,.1); color: #059669; }
.case-badge--end    { background: rgba(239,68,68,.1);  color: #dc2626; }
.case-sb-z { display: flex; align-items: center; gap: .4rem; }
.case-sb-z svg { width: 16px; height: 16px; }

/* =====================================================
   CONTACTO
   ===================================================== */
.contact { background: var(--bg); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}
.contact-left .section-title { margin-bottom: 1rem; }
.contact-left .section-subtitle { margin-bottom: 2rem; }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(13,148,136,.1);
  border: 1px solid rgba(13,148,136,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; color: var(--primary-light); }
.contact-item-text strong { display: block; font-weight: 600; color: var(--text); margin-bottom: .2rem; font-size: .9rem; }
.contact-item-text span, .contact-item-text a {
  font-size: .875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.contact-item-text a:hover { color: var(--primary-light); }

/* Form */
.contact-form {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.25rem; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--text-muted); }
.form-group input, .form-group select, .form-group textarea {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .8rem 1rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .9rem;
  transition: var(--transition);
  outline: none;
  width: 100%;
  resize: vertical;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13,148,136,.15);
  background: rgba(13,148,136,.05);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-dim); }
.form-group select option { background: var(--surface); }
.form-submit {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  justify-content: center;
}
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}
.form-success.show { display: block; }
.form-success-icon { font-size: 3rem; margin-bottom: 1rem; }
.form-success h3 { color: var(--text); margin-bottom: .5rem; font-family: var(--font-head); }
.form-success p { color: var(--text-muted); font-size: .9rem; }

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand-desc {
  color: var(--text-muted);
  font-size: .875rem;
  line-height: 1.7;
  margin: 1rem 0 1.5rem;
  max-width: 280px;
}
.footer-socials {
  display: flex;
  gap: .75rem;
}
.footer-social {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.footer-social:hover {
  border-color: var(--primary);
  background: rgba(13,148,136,.1);
}
.footer-social svg { width: 16px; height: 16px; color: var(--text-muted); transition: color var(--transition); }
.footer-social:hover svg { color: var(--primary-light); }
.footer-col h4 {
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.footer-col ul { display: flex; flex-direction: column; gap: .75rem; }
.footer-col ul a {
  font-size: .875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--primary-light); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy { font-size: .8rem; color: var(--text-dim); }
.footer-copy span { color: var(--primary-light); }
.footer-tagline { font-size: .8rem; color: var(--text-dim); font-style: italic; }

/* =====================================================
   SCROLL ANIMATIONS
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 3rem; }
  .hero-right { order: -1; }
  .hero-mockup { max-width: 480px; margin: 0 auto; }
  .hero-stats { justify-content: flex-start; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card--featured { grid-column: 1; grid-template-columns: 1fr; }
  .service-visual { display: none; }
  .why-inner { grid-template-columns: 1fr; gap: 3rem; }
  .process-track { grid-template-columns: 1fr; gap: 2rem; }
  .process-track::before { display: none; }
  .process-step { flex-direction: row; text-align: left; gap: 1.5rem; }
  .process-num { margin-bottom: 0; flex-shrink: 0; }
  .sectors-grid { grid-template-columns: 1fr 1fr; }
  .case-study-inner { grid-template-columns: 1fr; gap: 3rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .sectors-grid { grid-template-columns: 1fr; }
  .why-right { grid-template-columns: 1fr 1fr; }
  .metric-card--accent { grid-column: 1 / -1; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
  .case-inner { grid-template-columns: 1fr; height: auto; }
  .case-sidebar { display: none; }
  .mockup-layout { grid-template-columns: 1fr; height: auto; }
  .mockup-sidebar { display: none; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .case-results { grid-template-columns: 1fr; }
  .case-stat-row { grid-template-columns: 1fr 1fr; }
  .mockup-cards { grid-template-columns: 1fr 1fr; }
}
