/* ============================================================
   DEPLOY LAB — Main Stylesheet
   Palette: #00D4F5 cyan | #0055CC blue | #060C1A bg dark
   ============================================================ */

/* === RESET & BASE =========================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* — Colors — */
  --bg:          #060C1A;
  --bg-surface:  #091223;
  --bg-card:     #0D1B32;
  --bg-card-h:   #112040;

  --cyan:        #00D4F5;
  --cyan-dim:    #009EBF;
  --blue:        #0055CC;
  --blue-mid:    #0077EE;

  --cyan-glow:   rgba(0, 212, 245, 0.13);
  --cyan-glow2:  rgba(0, 212, 245, 0.28);
  --blue-glow:   rgba(0, 85, 204, 0.18);

  --text:        #EEF2FF;
  --text-muted:  #6B82A8;
  --text-dim:    #3E526A;

  --border:      rgba(0, 212, 245, 0.10);
  --border-h:    rgba(0, 212, 245, 0.28);

  /* — Gradient — */
  --grad:        linear-gradient(135deg, var(--cyan) 0%, var(--blue-mid) 100%);
  --grad-soft:   linear-gradient(135deg, rgba(0,212,245,.08) 0%, rgba(0,119,238,.08) 100%);

  /* — Typography — */
  --font:        'Space Grotesk', system-ui, sans-serif;
  --mono:        'Space Mono', monospace;

  /* — Layout — */
  --sec-pad:     108px;
  --max-w:       1200px;
  --radius:      14px;

  /* — Motion — */
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --t:           0.3s var(--ease);
  --t-slow:      0.65s var(--ease);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: var(--font); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

/* — Scrollbar — */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--cyan-dim); border-radius: 4px; }

/* — Selection — */
::selection { background: rgba(0,212,245,.22); color: var(--cyan); }

/* === UTILITY ================================================ */
.text-gradient {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}
.section-tag::before {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.025em;
  margin-bottom: 18px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 540px;
}

.section-head {
  text-align: center;
  margin-bottom: 64px;
}
.section-head .section-tag  { justify-content: center; }
.section-head .section-sub  { margin: 0 auto; }

.body-text {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* === BUTTONS ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 9px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  outline: none;
  transition: transform var(--t), box-shadow var(--t), background var(--t), border-color var(--t), color var(--t);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad);
  color: #020810;
  box-shadow: 0 0 28px rgba(0,212,245,.2);
}
.btn-primary:hover {
  box-shadow: 0 0 52px rgba(0,212,245,.45);
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 22px var(--cyan-glow);
  transform: translateY(-2px);
}

.btn-full { width: 100%; }

/* === LOGO SHARED ============================================ */
.nav-logo,
.footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* SVG icon sizes */
.dl-icon        { height: 32px; width: auto; flex-shrink: 0; }
.dl-icon--md    { height: 48px; width: auto; }
.dl-icon--lg    { height: 88px; width: auto; position: relative; z-index: 1; }

/* Logo images — mix-blend-mode elimina el fondo blanco sobre oscuro */
.nav-logo-img {
  height: 36px;
  width: auto;
  mix-blend-mode: screen;
}

.about-logo-img {
  height: 90px;
  width: auto;
  mix-blend-mode: screen;
  position: relative;
  z-index: 1;
}

.proj-logo-img {
  height: 48px;
  width: auto;
  mix-blend-mode: screen;
}

.logo-text {
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--text);
}
.logo-text strong {
  color: var(--cyan);
  font-weight: 700;
}

/* === CHIPS / TAGS =========================================== */
.chip {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--bg-card);
  transition: var(--t);
}
.chip:hover { border-color: var(--cyan); color: var(--cyan); }

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

/* === NAVBAR ================================================= */
#navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  padding: 22px 0;
  transition: padding var(--t), background var(--t), border-color var(--t), backdrop-filter var(--t);
}
#navbar.scrolled {
  background: rgba(6, 12, 26, 0.82);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--t);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--cyan);
  transition: width var(--t);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  padding: 7px 18px !important;
  border: 1px solid var(--border) !important;
  border-radius: 7px;
  color: var(--cyan) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--cyan-glow) !important;
  border-color: var(--cyan) !important;
  box-shadow: 0 0 18px var(--cyan-glow);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 901;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--t);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* — Mobile menu — */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(6, 12, 26, 0.97);
  backdrop-filter: blur(20px);
  z-index: 899;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-slow);
}
.mobile-menu.open { opacity: 1; pointer-events: all; }

.mobile-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  transition: color var(--t);
}
.mobile-close:hover { color: var(--cyan); }

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.mobile-menu a {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: color var(--t);
}
.mobile-menu a:hover { color: var(--cyan); }

/* === HERO =================================================== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 110px 28px 72px;
  overflow: hidden;
}

#particles-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(0,212,245,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,245,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 50%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 50%, black 20%, transparent 100%);
}

.hero-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,212,245,.08) 0%, transparent 70%);
  top: -200px;
  left: -100px;
  animation: orb-drift 14s ease-in-out infinite;
}
.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,85,204,.1) 0%, transparent 70%);
  bottom: -100px;
  right: -80px;
  animation: orb-drift 18s ease-in-out infinite reverse;
}
@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0); }
  33%       { transform: translate(40px, -30px); }
  66%       { transform: translate(-30px, 20px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  width: 100%;
}

/* — Badge — */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: .06em;
  color: var(--cyan);
  background: rgba(0,212,245,.05);
  backdrop-filter: blur(10px);
  margin-bottom: 28px;
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: blink-dot 2.2s ease-in-out infinite;
}
@keyframes blink-dot {
  0%,100% { opacity: 1; box-shadow: 0 0 8px var(--cyan); }
  50%      { opacity: .35; box-shadow: 0 0 2px var(--cyan); }
}

/* — Title — */
.hero-title {
  font-size: clamp(3.8rem, 9vw, 7.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.045em;
  margin-bottom: 22px;
}

/* — Typing — */
.hero-typing {
  font-family: var(--mono);
  font-size: clamp(.85rem, 2vw, 1.1rem);
  color: var(--cyan);
  margin-bottom: 20px;
  min-height: 1.6em;
}
.cursor {
  color: var(--cyan);
  animation: cursor-blink 1s step-end infinite;
}
@keyframes cursor-blink {
  0%,100% { opacity: 1; }
  50%      { opacity: 0; }
}

/* — Description — */
.hero-desc {
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

/* — Actions — */
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

/* — Stats pill — */
.hero-stats {
  display: inline-flex;
  align-items: center;
  padding: 18px 36px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: rgba(6,12,26,.65);
  backdrop-filter: blur(14px);
  gap: 0;
}
.stat { display: flex; flex-direction: column; align-items: center; padding: 0 28px; }
.stat-row { display: flex; align-items: baseline; line-height: 1; }
.stat-num {
  font-family: var(--mono);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
}
.stat-suf {
  font-family: var(--mono);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cyan);
  margin-left: 1px;
}
.stat-label {
  font-size: .72rem;
  color: var(--text-muted);
  margin-top: 5px;
  letter-spacing: .04em;
  font-weight: 500;
}
.stat-sep {
  width: 1px;
  height: 38px;
  background: var(--border);
  flex-shrink: 0;
}

/* — Scroll hint — */
.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
}
.scroll-hint span {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.scroll-bar {
  width: 1px;
  height: 38px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: scroll-drop 2.2s ease-in-out infinite;
}
@keyframes scroll-drop {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51%  { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* === NOSOTROS =============================================== */
#nosotros {
  padding: var(--sec-pad) 0;
}

.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}

.about-text-col .section-tag { display: flex; }

/* — Visual column — */
.about-visual-col {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.about-main-card {
  width: 230px;
  height: 230px;
  border-radius: 26px;
  border: 1px solid var(--border-h);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 80px rgba(0,212,245,.07);
}
.about-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.about-card-glow {
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle, rgba(0,212,245,.13) 0%, transparent 70%);
  animation: glow-breathe 5s ease-in-out infinite;
}
@keyframes glow-breathe {
  0%,100% { opacity: .5; transform: scale(.85); }
  50%      { opacity: 1;  transform: scale(1.1); }
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(9, 18, 35, 0.92);
  backdrop-filter: blur(12px);
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
}
.float-card--top { top: 20px;  right: 0px;  animation: float-up   4.5s ease-in-out infinite; }
.float-card--bot { bottom: 40px; left: 0px; animation: float-down 4.5s ease-in-out infinite 2.2s; }
@keyframes float-up   { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes float-down { 0%,100% { transform: translateY(0); } 50% { transform: translateY(9px);  } }

.float-card-icon { font-size: 1.4rem; }
.float-card-title { font-size: .84rem; font-weight: 600; color: var(--text); }
.float-card-sub   { font-size: .72rem; color: var(--text-muted); }

/* === SERVICIOS ============================================== */
#servicios {
  padding: var(--sec-pad) 0;
  background: linear-gradient(180deg, transparent, rgba(0,212,245,.025) 50%, transparent);
}

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

.svc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform var(--t), border-color var(--t), background var(--t), box-shadow var(--t);
}
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
  opacity: 0;
  transition: opacity var(--t);
}
.svc-card:hover {
  transform: translateY(-7px);
  border-color: var(--border-h);
  background: var(--bg-card-h);
  box-shadow: 0 24px 64px rgba(0,0,0,.4), 0 0 44px var(--cyan-glow);
}
.svc-card:hover::before { opacity: 1; }

.svc-card--featured {
  border-color: rgba(0,212,245,.22);
  background: linear-gradient(180deg, rgba(0,212,245,.07) 0%, var(--bg-card) 100%);
}
.svc-card--featured::before { opacity: .55; }

.svc-badge {
  position: absolute;
  top: 18px; right: 18px;
  padding: 3px 11px;
  background: var(--grad);
  color: #020810;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  border-radius: 100px;
}

.svc-icon {
  width: 52px;
  height: 52px;
  border: 1px solid var(--border);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  margin-bottom: 22px;
  transition: var(--t);
}
.svc-icon svg { width: 22px; height: 22px; stroke: var(--cyan); }
.svc-card:hover .svc-icon {
  border-color: var(--cyan);
  background: rgba(0,212,245,.1);
  box-shadow: 0 0 18px var(--cyan-glow);
}

.svc-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.svc-card > p {
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.7;
  margin-bottom: 22px;
}

.svc-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
  margin-bottom: 24px;
}
.svc-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .83rem;
  color: var(--text-muted);
}
.svc-list li::before {
  content: '';
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
}

.svc-footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .83rem;
  font-weight: 600;
  color: var(--cyan);
  transition: gap var(--t);
}
.svc-link:hover { gap: 10px; }
.arrow { display: inline-block; transition: transform var(--t); }
.svc-link:hover .arrow { transform: translateX(3px); }

/* === PROYECTOS ============================================== */
#proyectos { padding: var(--sec-pad) 0; }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 52px;
}

.proj-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.proj-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-h);
  box-shadow: 0 18px 52px rgba(0,0,0,.35);
}

.proj-thumb {
  height: 210px;
  position: relative;
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-card) 100%);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}
.proj-thumb-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,245,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,245,.028) 1px, transparent 1px);
  background-size: 28px 28px;
}

.proj-logo-wrap {
  position: relative;
  z-index: 1;
}
.proj-logo-box {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(0,212,245,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.proj-coming {
  position: relative;
  z-index: 1;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: rgba(6,12,26,.7);
}

.proj-info { padding: 18px 22px; }
.proj-type {
  display: block;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 7px;
}
.proj-info h3 { font-size: .97rem; font-weight: 600; margin-bottom: 5px; color: var(--text-muted); }
.proj-info p  { font-size: .82rem; color: var(--text-dim); }

.projects-cta { text-align: center; }
.projects-cta p { color: var(--text-muted); font-size: 1rem; margin-bottom: 22px; }

/* === PROCESO ================================================ */
#proceso {
  padding: var(--sec-pad) 0;
  background: linear-gradient(180deg, transparent, rgba(0,212,245,.025) 50%, transparent);
}

.process-line {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
}

.process-line::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 30px;
  bottom: 30px;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom,
    transparent 0%,
    var(--border) 10%,
    var(--border) 90%,
    transparent 100%);
}

.process-step {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: start;
  gap: 0;
  padding: 28px 0;
  position: relative;
}

/* Odd steps: number on left, content on right */
.process-step:nth-child(odd) .step-num   { grid-column: 1; grid-row: 1; justify-self: end; margin-right: 24px; }
.process-step:nth-child(odd) .step-body  { grid-column: 3; grid-row: 1; margin-left: 24px; }

/* Even steps: content on left, number on right */
.process-step:nth-child(even) .step-num  { grid-column: 3; grid-row: 1; justify-self: start; margin-left: 24px; }
.process-step:nth-child(even) .step-body { grid-column: 1; grid-row: 1; margin-right: 24px; text-align: right; }

.step-num {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 700;
  color: var(--cyan);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
}
.process-step:hover .step-num {
  border-color: var(--cyan);
  background: rgba(0,212,245,.1);
  box-shadow: 0 0 22px var(--cyan-glow);
}

.step-body { padding-top: 10px; }
.step-body h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 8px; }
.step-body p  { color: var(--text-muted); font-size: .87rem; line-height: 1.75; }

/* === CONTACTO =============================================== */
#contacto { padding: var(--sec-pad) 0; }

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: start;
}

.contact-info .section-tag { display: flex; }
.contact-info .section-title { margin-top: 0; }

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

.contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-muted);
  font-size: .9rem;
  transition: var(--t);
}
.contact-row:hover {
  border-color: var(--cyan);
  color: var(--text);
  background: var(--cyan-glow);
}
.contact-row-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-row-icon svg { width: 16px; height: 16px; stroke: var(--cyan); }

/* — Form — */
.contact-form-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
}

.form-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: .76rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: .03em;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: .88rem;
  font-family: var(--font);
  color: var(--text);
  outline: none;
  resize: none;
  transition: border-color var(--t), box-shadow var(--t);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group select option { background: var(--bg-card); color: var(--text); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,212,245,.1);
}

/* === FOOTER ================================================= */
footer {
  padding: 62px 0 30px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .footer-logo-link { margin-bottom: 16px; }
.footer-brand p { color: var(--text-muted); font-size: .84rem; line-height: 1.65; }

.footer-col h4 {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: .84rem; color: var(--text-dim); transition: color var(--t); }
.footer-col a:hover { color: var(--cyan); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: .78rem;
  color: var(--text-dim);
}

/* === REVEAL ANIMATIONS ====================================== */
.reveal-fade, .reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
.reveal-fade  { transform: translateY(24px); }
.reveal-up    { transform: translateY(40px); }
.reveal-left  { transform: translateX(-44px); }
.reveal-right { transform: translateX(44px); }

.reveal-fade.visible,
.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: none;
}

/* === RESPONSIVE ============================================= */
@media (max-width: 1024px) {
  .about-wrap        { grid-template-columns: 1fr; gap: 52px; }
  .about-visual-col  { min-height: 300px; }
  .services-grid     { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .projects-grid     { grid-template-columns: 1fr 1fr; }
  .contact-wrap      { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid       { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --sec-pad: 72px; }
  .nav-links  { display: none; }
  .nav-toggle { display: flex; }

  .hero-stats {
    padding: 14px 18px;
    border-radius: 18px;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
  }
  .stat-sep { display: none; }
  .stat { padding: 0 14px; }

  .process-line::before { left: 29px; transform: none; }
  .process-step {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: flex-start;
  }
  .process-step:nth-child(odd)  .step-num,
  .process-step:nth-child(even) .step-num  { grid-column: unset; grid-row: unset; justify-self: unset; margin: 0; flex-shrink: 0; }
  .process-step:nth-child(odd)  .step-body,
  .process-step:nth-child(even) .step-body { grid-column: unset; grid-row: unset; margin: 0; text-align: left; padding-top: 12px; }

  .projects-grid { grid-template-columns: 1fr; }
  .form-duo { grid-template-columns: 1fr; }
  .contact-form-box { padding: 26px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .float-card   { display: none; }
  .hero-stats   { border-radius: 14px; }
}
