/* ============================================================
   NEXO DIGITAL — Main Stylesheet
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #0a1628;
  --navy2:      #0d1b33;
  --cyan:       #00bfba;
  --cyan-dark:  #009e9a;
  --cyan-light: #e6faf9;
  --gray-bg:    #f5f7fa;
  --gray-border:#e8ecf4;
  --text-main:  #1a1a2e;
  --text-mid:   #4b5563;
  --text-muted: #9ca3af;
  --white:      #ffffff;
  --radius:     12px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

/* ════ SKIP LINK (Accessibility) ════ */
.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--cyan); color: var(--navy);
  padding: 8px 16px; font-weight: 700; font-size: 0.85rem;
  z-index: 999; transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ════════════════════════════
   NAV
════════════════════════════ */
.site-nav {
  background: var(--white);
  border-bottom: 1px solid var(--gray-border);
  padding: 0 48px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon {
  width: 36px; height: 36px;
  border: 2px solid var(--navy);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { width: 20px; height: 20px; }
.logo-text { line-height: 1.15; }
.logo-text .top { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.05em; color: var(--navy); display: block; }
.logo-text .bot { font-size: 0.63rem; font-weight: 600; letter-spacing: 0.08em; color: var(--navy); display: block; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a {
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.05em;
  color: var(--text-main); text-decoration: none; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--cyan); }
.btn-nav {
  background: var(--navy) !important; color: var(--white) !important;
  padding: 9px 20px; border-radius: 5px;
  font-size: 0.74rem !important; font-weight: 700 !important;
  letter-spacing: 0.06em; text-transform: uppercase !important;
  transition: opacity 0.2s !important;
}
.btn-nav:hover { opacity: 0.82 !important; }

/* ════ HAMBURGER ════ */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.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 nav overlay */
.mobile-nav {
  display: none; position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 99; padding: 32px 24px;
  flex-direction: column; gap: 4px; border-top: 1px solid var(--gray-border);
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--text-main); text-decoration: none; text-transform: uppercase;
  padding: 14px 0; border-bottom: 1px solid var(--gray-border);
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--cyan); }
.mobile-nav .btn-nav-mobile {
  background: var(--navy); color: var(--white) !important;
  padding: 14px 20px; border-radius: 5px; text-align: center;
  margin-top: 16px; border: none; font-size: 0.85rem !important;
}

/* ════════════════════════════
   HERO
════════════════════════════ */
.hero {
  position: relative;
  background: var(--navy2);
  min-height: 420px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 72px 48px 116px;
  overflow: hidden;
}
.hero-code {
  position: absolute; inset: 0; overflow: hidden;
  opacity: 0.22; font-family: 'Courier New', monospace;
  font-size: 0.7rem; color: rgba(100,160,255,0.7);
  line-height: 1.8; padding: 10px 20px;
  white-space: nowrap; pointer-events: none;
  display: flex; flex-direction: column;
}
.hero-code span { display: block; }
.hero-circle-right {
  position: absolute; right: -52px; top: 50%; transform: translateY(-50%);
  width: 190px; height: 190px; border-radius: 50%;
  border: 30px solid var(--cyan); opacity: 0.88; pointer-events: none;
}
.hero-circle-left {
  position: absolute; left: -62px; bottom: 16px;
  width: 165px; height: 165px; border-radius: 50%;
  background: rgba(0,0,0,0.32); pointer-events: none;
}
.hero::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 720px; height: 340px;
  background: radial-gradient(ellipse at 50% 40%, rgba(0,191,186,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 900px; }
.hero h1 {
  font-size: clamp(1.85rem, 3.8vw, 3rem); font-weight: 900;
  line-height: 1.1; letter-spacing: -0.02em;
  color: var(--white); margin-bottom: 16px; text-transform: uppercase;
}
.hero-sub {
  font-size: 0.93rem; color: rgba(255,255,255,0.62);
  max-width: 520px; margin: 0 auto 30px; line-height: 1.65; font-weight: 400;
}
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-cyan {
  background: var(--cyan); color: var(--navy);
  padding: 11px 26px; border-radius: 5px;
  font-size: 0.8rem; font-weight: 700;
  text-decoration: none; letter-spacing: 0.06em; text-transform: uppercase;
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-block;
}
.btn-cyan:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,191,186,0.38); }
.btn-outline-white {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.42);
  padding: 11px 26px; border-radius: 5px;
  font-size: 0.8rem; font-weight: 600;
  text-decoration: none; letter-spacing: 0.06em; text-transform: uppercase;
  transition: border-color 0.2s, background 0.2s;
  display: inline-block;
}
.btn-outline-white:hover { border-color: rgba(255,255,255,0.78); background: rgba(255,255,255,0.07); }

/* Inner page hero (smaller) */
.page-hero {
  position: relative;
  background: var(--navy2);
  min-height: 260px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 56px 48px 56px;
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 720px; height: 340px;
  background: radial-gradient(ellipse at 50% 40%, rgba(0,191,186,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 2; max-width: 800px; }
.page-hero h1 {
  font-size: clamp(1.6rem, 3.2vw, 2.6rem); font-weight: 900;
  line-height: 1.1; letter-spacing: -0.02em;
  color: var(--white); margin-bottom: 12px; text-transform: uppercase;
}
.page-hero-sub {
  font-size: 0.92rem; color: rgba(255,255,255,0.62);
  max-width: 520px; margin: 0 auto; line-height: 1.65; font-weight: 400;
}
.page-hero-circle {
  position: absolute; right: -52px; top: 50%; transform: translateY(-50%);
  width: 150px; height: 150px; border-radius: 50%;
  border: 24px solid var(--cyan); opacity: 0.88; pointer-events: none;
}

/* ════ BREADCRUMB ════ */
.breadcrumb-bar {
  background: var(--gray-bg); border-bottom: 1px solid var(--gray-border);
  padding: 10px 48px;
}
.breadcrumb-inner { max-width: 1080px; margin: 0 auto; }
.breadcrumb-list {
  display: flex; align-items: center; gap: 8px;
  list-style: none; font-size: 0.78rem;
}
.breadcrumb-list li { color: var(--text-muted); }
.breadcrumb-list li a { color: var(--text-mid); text-decoration: none; font-weight: 500; }
.breadcrumb-list li a:hover { color: var(--cyan); }
.breadcrumb-list li.active { color: var(--navy); font-weight: 600; }
.breadcrumb-sep { color: var(--text-muted); }

/* ════════════════════════════
   HERO CARDS
════════════════════════════ */
.hero-cards-section { background: var(--gray-bg); padding: 0 48px; }
.hero-cards-inner {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 22px; transform: translateY(-54px);
}
.hero-card {
  background: var(--white); border-radius: var(--radius);
  padding: 38px 28px 34px; text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid #eef0f4;
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
  display: block;
}
.hero-card:hover { transform: translateY(-5px); box-shadow: 0 18px 52px rgba(0,0,0,0.13); }
.hero-card-icon {
  width: 64px; height: 64px; border-radius: 50%;
  border: 2px solid #dde2ec;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; background: #f8f9fc;
}
.hero-card-icon svg { width: 28px; height: 28px; stroke: var(--cyan); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero-card-title { font-size: 0.82rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); margin-bottom: 10px; }
.hero-card-desc { font-size: 0.855rem; color: var(--text-mid); line-height: 1.6; }

/* ════════════════════════════
   SECCIÓN GENÉRICA
════════════════════════════ */
.section { padding: 80px 48px; }
.section-gray { background: var(--gray-bg); }
.section-navy { background: var(--navy2); }
.inner { max-width: 1080px; margin: 0 auto; }

.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--cyan);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800;
  letter-spacing: -0.025em; line-height: 1.15;
  color: var(--navy); margin-bottom: 14px;
}
.section-title-white { color: var(--white); }
.section-sub { font-size: 0.92rem; color: var(--text-mid); line-height: 1.65; max-width: 520px; }
.section-sub-white { color: rgba(255,255,255,0.6); }
.section-header { margin-bottom: 52px; }
.section-header-center { text-align: center; }
.section-header-center .section-sub { margin: 0 auto; }

/* ════════════════════════════
   ¿POR QUÉ ELEGIRME?
════════════════════════════ */
.why-section { background: var(--gray-bg); padding: 0 48px 80px; }
.why-inner { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.why-title { font-size: 1.65rem; font-weight: 800; letter-spacing: -0.02em; color: var(--navy); margin-bottom: 30px; }
.why-list { display: flex; flex-direction: column; gap: 14px; list-style: none; }
.why-item { display: flex; align-items: center; gap: 12px; font-size: 0.92rem; font-weight: 500; color: var(--text-main); }
.why-check {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--cyan); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--white); font-size: 0.65rem; font-weight: 800;
}
.why-right { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.project-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.08); border: 1px solid var(--gray-border); transition: transform 0.2s, box-shadow 0.2s; }
.project-card:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(0,0,0,0.13); }
.project-thumb { height: 130px; display: flex; align-items: center; justify-content: center; }
.thumb-fintech { background: linear-gradient(135deg,#e8f4fd 0%,#b8d9f5 50%,#d4eaf5 100%); }
.thumb-crm { background: linear-gradient(135deg,#f0f8ff 0%,#c8e6f5 50%,#e8f4fd 100%); }
.thumb-elearn { background: linear-gradient(135deg,#f0fff4 0%,#b2f5ea 50%,#c6f6d5 100%); }
.thumb-saas { background: linear-gradient(135deg,#fdf4ff 0%,#e9d8fd 50%,#f3e8ff 100%); }
.mock-ui { width: 85%; background: var(--white); border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,0.15); overflow: hidden; }
.mock-header { background: #1a2744; height: 18px; display: flex; align-items: center; padding: 0 8px; gap: 4px; }
.mock-dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,0.3); }
.mock-body { padding: 8px; display: flex; flex-direction: column; gap: 4px; }
.mock-row { height: 6px; border-radius: 3px; background: #e8ecf5; }
.mock-row-blue { background: #4a90e2; width: 60%; }
.mock-row-sm { width: 40%; }
.mock-chart { display: flex; align-items: flex-end; gap: 3px; height: 30px; padding: 4px 0; }
.mock-bar { flex: 1; border-radius: 2px; background: #4a90e2; opacity: 0.7; }
.crm-ui { width: 88%; background: var(--white); border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,0.15); overflow: hidden; }
.crm-header { background: #f8f9fc; border-bottom: 1px solid #eee; padding: 6px 8px; display: flex; gap: 4px; align-items: center; }
.crm-tab { font-size: 0.45rem; padding: 2px 6px; border-radius: 3px; font-weight: 600; background: #eee; color: #888; }
.crm-tab-active { background: var(--cyan); color: var(--white); }
.crm-body { padding: 6px 8px; display: flex; flex-direction: column; gap: 4px; }
.crm-row { display: flex; gap: 4px; align-items: center; }
.crm-avatar { width: 12px; height: 12px; border-radius: 50%; background: #c8d6ec; flex-shrink: 0; }
.crm-line { height: 5px; border-radius: 3px; background: #e8ecf5; flex: 1; }
.crm-badge { height: 8px; width: 20px; border-radius: 3px; background: #e8f5e8; flex-shrink: 0; }
.project-info { padding: 14px 16px 16px; }
.project-label { font-size: 0.78rem; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.project-sub { font-size: 0.72rem; color: var(--text-muted); font-weight: 500; }

/* ════════════════════════════
   SERVICIOS DETALLE
════════════════════════════ */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.svc-card {
  background: var(--white); border: 1px solid var(--gray-border);
  border-radius: var(--radius); padding: 36px 28px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative; overflow: hidden;
  text-decoration: none; display: block; color: inherit;
}
.svc-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--cyan);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(0,0,0,0.09); border-color: rgba(0,191,186,0.3); }
.svc-card:hover::after { transform: scaleX(1); }
.svc-icon {
  width: 52px; height: 52px; border-radius: 10px;
  background: var(--cyan-light); border: 1px solid rgba(0,191,186,0.25);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.svc-icon svg { width: 26px; height: 26px; stroke: var(--cyan); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc-title { font-size: 1rem; font-weight: 800; color: var(--navy); margin-bottom: 10px; letter-spacing: -0.01em; }
.svc-desc { font-size: 0.865rem; color: var(--text-mid); line-height: 1.65; margin-bottom: 22px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 0.72rem; font-weight: 600;
  background: var(--gray-bg); color: var(--text-mid);
  padding: 4px 10px; border-radius: 100px;
  border: 1px solid var(--gray-border);
}
.svc-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.8rem; font-weight: 700; color: var(--cyan);
  margin-top: 18px; text-decoration: none; letter-spacing: 0.03em;
}
.svc-link:hover { gap: 10px; }

/* ════════════════════════════
   ESTADÍSTICAS
════════════════════════════ */
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; }
.stat-item {
  text-align: center; padding: 52px 20px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }
.stat-num { font-size: 3rem; font-weight: 900; color: var(--cyan); letter-spacing: -0.04em; display: block; line-height: 1; margin-bottom: 10px; }
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.55); font-weight: 500; line-height: 1.4; }

/* ════════════════════════════
   PROCESO
════════════════════════════ */
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; position: relative; }
.process-grid::before {
  content: ''; position: absolute;
  top: 28px; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(to right, var(--cyan), rgba(0,191,186,0.2), var(--cyan));
  opacity: 0.3;
}
.process-step { padding: 20px 24px 0; position: relative; }
.step-number {
  width: 56px; height: 56px; border-radius: 50%;
  border: 2px solid var(--cyan);
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 900; color: var(--cyan);
  margin-bottom: 22px; position: relative; z-index: 1;
}
.step-title { font-size: 0.95rem; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.step-desc { font-size: 0.855rem; color: var(--text-mid); line-height: 1.65; }

/* ════════════════════════════
   PORTAFOLIO
════════════════════════════ */
.portfolio-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.pf-card {
  background: var(--white); border: 1px solid var(--gray-border);
  border-radius: var(--radius); overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.pf-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(0,0,0,0.1); }
.pf-thumb {
  height: 180px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
img.pf-thumb { object-fit: cover; width: 100%; display: block; }
.pf-thumb-1 { background: linear-gradient(135deg,#e0f2fe 0%,#bae6fd 100%); }
.pf-thumb-2 { background: linear-gradient(135deg,#f0fdf4 0%,#bbf7d0 100%); }
.pf-thumb-3 { background: linear-gradient(135deg,#fef9c3 0%,#fde68a 100%); }
.pf-thumb-4 { background: linear-gradient(135deg,#fdf4ff 0%,#e9d8fd 100%); }
.pf-thumb-5 { background: linear-gradient(135deg,#fff7ed 0%,#fed7aa 100%); }
.pf-thumb-6 { background: linear-gradient(135deg,#f0fdfa 0%,#99f6e4 100%); }
.pf-mock {
  width: 80%; background: var(--white);
  border-radius: 10px; box-shadow: 0 6px 24px rgba(0,0,0,0.14); overflow: hidden;
}
.pf-mock-bar {
  height: 22px; background: var(--navy); display: flex;
  align-items: center; padding: 0 10px; gap: 5px;
}
.pf-mock-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.3); }
.pf-mock-body { padding: 10px; display: flex; flex-direction: column; gap: 5px; }
.pf-mock-row { height: 7px; border-radius: 4px; background: #e8ecf5; }
.pf-mock-accent { background: var(--cyan); opacity: 0.6; }
.pf-body { padding: 20px 22px 22px; }
.pf-tag { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--cyan); margin-bottom: 6px; }
.pf-title { font-size: 0.95rem; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.pf-desc { font-size: 0.83rem; color: var(--text-mid); line-height: 1.55; }
.pf-visit { display:inline-block; margin-top:14px; font-size:0.78rem; font-weight:700; color:var(--cyan-dark); text-decoration:none; letter-spacing:0.02em; transition:color 0.2s; }
.pf-visit:hover { color:var(--navy); }

/* Portfolio filters */
.portfolio-filters {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; justify-content: center;
}
.filter-btn {
  font-size: 0.78rem; font-weight: 600;
  padding: 7px 16px; border-radius: 100px;
  border: 1.5px solid var(--gray-border);
  background: var(--white); color: var(--text-mid);
  cursor: pointer; transition: all 0.2s; letter-spacing: 0.04em;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--cyan); border-color: var(--cyan);
  color: var(--navy); font-weight: 700;
}

/* ════════════════════════════
   TESTIMONIOS
════════════════════════════ */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testi-card {
  background: var(--white); border: 1px solid var(--gray-border);
  border-radius: var(--radius); padding: 32px 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.testi-card:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(0,0,0,0.08); }
.testi-stars { color: #f59e0b; font-size: 0.85rem; margin-bottom: 16px; letter-spacing: 2px; }
.testi-text { font-size: 0.9rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 22px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700; color: var(--white); flex-shrink: 0;
}
.av-1 { background: linear-gradient(135deg,#667eea,#764ba2); }
.av-2 { background: linear-gradient(135deg,#11998e,#38ef7d); }
.av-3 { background: linear-gradient(135deg,#f093fb,#f5576c); }
.av-4 { background: linear-gradient(135deg,#4facfe,#00f2fe); }
.av-5 { background: linear-gradient(135deg,#f7971e,#ffd200); }
.av-6 { background: linear-gradient(135deg,#43e97b,#38f9d7); }
.testi-name { font-size: 0.85rem; font-weight: 700; color: var(--navy); }
.testi-role { font-size: 0.75rem; color: var(--text-muted); }

/* ════════════════════════════
   CTA BANNER
════════════════════════════ */
.cta-section {
  background: var(--navy2); padding: 80px 48px;
  text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(0,191,186,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section::after {
  content: ''; position: absolute; right: -60px; top: 50%; transform: translateY(-50%);
  width: 200px; height: 200px; border-radius: 50%;
  border: 32px solid rgba(0,191,186,0.18); pointer-events: none;
}
.cta-eyebrow { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); margin-bottom: 12px; }
.cta-title { font-size: clamp(1.6rem,3.5vw,2.6rem); font-weight: 900; color: var(--white); letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 16px; text-transform: uppercase; }
.cta-sub { font-size: 0.92rem; color: rgba(255,255,255,0.58); max-width: 480px; margin: 0 auto 36px; line-height: 1.65; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-note { font-size: 0.78rem; color: rgba(255,255,255,0.35); margin-top: 18px; }

/* ════════════════════════════
   FOOTER
════════════════════════════ */
footer { background: var(--navy); padding: 64px 48px 32px; }
.footer-top {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 52px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-text .top, .footer-brand .logo-text .bot { color: var(--white); }
.footer-brand .logo-icon { border-color: rgba(255,255,255,0.3); }
.footer-brand .logo-icon svg { stroke: var(--white); }
.footer-desc { font-size: 0.86rem; color: rgba(255,255,255,0.45); line-height: 1.7; margin-top: 16px; max-width: 260px; }
.footer-socials { display: flex; gap: 10px; margin-top: 22px; }
.social-btn {
  width: 34px; height: 34px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); font-size: 0.75rem; font-weight: 700;
  text-decoration: none; transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.social-btn:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(0,191,186,0.07); }
.footer-col-title { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); margin-bottom: 20px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-links a { font-size: 0.85rem; color: rgba(255,255,255,0.48); text-decoration: none; font-weight: 500; transition: color 0.2s; }
.footer-links a:hover { color: var(--cyan); }
.footer-bottom {
  max-width: 1080px; margin: 28px auto 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem; color: rgba(255,255,255,0.3); flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { color: var(--cyan); text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }
.footer-available {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.78rem; color: rgba(255,255,255,0.4);
}
.dot-available { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; animation: pulse-green 2s infinite; }
@keyframes pulse-green { 0%,100%{opacity:1;} 50%{opacity:0.5;} }

/* ════════════════════════════
   FEATURES GRID (service pages)
════════════════════════════ */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.feature-card {
  background: var(--white); border: 1px solid var(--gray-border);
  border-radius: var(--radius); padding: 32px 26px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(0,0,0,0.08); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--cyan-light); border: 1px solid rgba(0,191,186,0.25);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.feature-icon svg { width: 24px; height: 24px; stroke: var(--cyan); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature-title { font-size: 0.92rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.feature-desc { font-size: 0.845rem; color: var(--text-mid); line-height: 1.65; }

/* Included list */
.included-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.included-item {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.88rem; color: var(--text-main); font-weight: 500;
  background: var(--white); border: 1px solid var(--gray-border);
  border-radius: 8px; padding: 14px 16px;
}
.included-check {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--cyan); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; margin-top: 1px;
  color: var(--white); font-size: 0.6rem; font-weight: 800;
}

/* Tech stack grid */
.tech-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.tech-badge {
  display: flex; align-items: center; gap: 7px;
  background: var(--white); border: 1.5px solid var(--gray-border);
  border-radius: 8px; padding: 10px 16px;
  font-size: 0.82rem; font-weight: 700; color: var(--navy);
  transition: border-color 0.2s, transform 0.2s;
}
.tech-badge:hover { border-color: var(--cyan); transform: translateY(-2px); }
.tech-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }

/* ════════════════════════════
   FAQ ACCORDION
════════════════════════════ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white); border: 1px solid var(--gray-border);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: rgba(0,191,186,0.4); }
.faq-question {
  width: 100%; text-align: left; background: none; border: none;
  padding: 20px 24px; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 0.92rem; font-weight: 700; color: var(--navy);
  transition: color 0.2s;
}
.faq-question:hover { color: var(--cyan); }
.faq-icon {
  width: 24px; height: 24px; border-radius: 50%;
  border: 1.5px solid var(--gray-border); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: var(--text-mid);
  transition: transform 0.3s, background 0.2s, border-color 0.2s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--cyan); border-color: var(--cyan); color: var(--white); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.88rem; color: var(--text-mid); line-height: 1.7;
}

/* ════════════════════════════
   CONTACT FORM
════════════════════════════ */
.contact-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
.contact-form-wrap { background: var(--white); border-radius: var(--radius); padding: 40px; box-shadow: 0 8px 32px rgba(0,0,0,0.08); border: 1px solid var(--gray-border); }
.form-title { font-size: 1.3rem; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.form-subtitle { font-size: 0.88rem; color: var(--text-mid); margin-bottom: 28px; line-height: 1.6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-label { font-size: 0.78rem; font-weight: 700; color: var(--navy); letter-spacing: 0.04em; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--gray-border); border-radius: 8px;
  font-size: 0.88rem; font-family: 'Inter', sans-serif;
  color: var(--text-main); background: var(--gray-bg);
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--cyan); background: var(--white);
  box-shadow: 0 0 0 3px rgba(0,191,186,0.12);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239ca3af' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-submit { width: 100%; padding: 13px; background: var(--navy); color: var(--white); border: none; border-radius: 8px; font-size: 0.88rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; transition: opacity 0.2s; margin-top: 8px; }
.form-submit:hover { opacity: 0.85; }
.form-honeypot { display: none !important; }
.form-note { font-size: 0.75rem; color: var(--text-muted); text-align: center; margin-top: 12px; }
.g-recaptcha { margin: 4px 0 8px; }

/* Alert messages */
.alert {
  padding: 14px 18px; border-radius: 8px; margin-bottom: 20px;
  font-size: 0.88rem; font-weight: 600;
}
.alert-success { background: #ecfdf5; border: 1px solid #6ee7b7; color: #065f46; }
.alert-error   { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }

/* Contact info cards */
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info-card {
  background: var(--gray-bg); border: 1px solid var(--gray-border);
  border-radius: var(--radius); padding: 24px;
  display: flex; gap: 16px; align-items: flex-start;
}
.contact-info-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--cyan-light); border: 1px solid rgba(0,191,186,0.25);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-icon svg { width: 22px; height: 22px; stroke: var(--cyan); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-info-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 4px; }
.contact-info-value { font-size: 0.92rem; font-weight: 600; color: var(--navy); }
.contact-info-sub { font-size: 0.8rem; color: var(--text-mid); margin-top: 2px; }

/* ════════════════════════════
   SOBRE MÍ (Nosotros)
════════════════════════════ */
.about-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.about-photo-wrap {
  position: relative;
  background: linear-gradient(135deg, var(--navy2) 0%, #1a3a5c 100%);
  border-radius: var(--radius); overflow: hidden;
  min-height: 380px; display: flex; align-items: center; justify-content: center;
}
.about-avatar-placeholder {
  width: 160px; height: 160px; border-radius: 50%;
  background: rgba(0,191,186,0.2); border: 3px solid var(--cyan);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; color: var(--cyan);
}
.about-badge {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  background: var(--white); border-radius: 8px; padding: 10px 18px;
  white-space: nowrap; box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  font-size: 0.82rem; font-weight: 700; color: var(--navy);
  display: flex; align-items: center; gap: 8px;
}
.skills-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 28px; }
.skill-badge {
  text-align: center; background: var(--gray-bg);
  border: 1px solid var(--gray-border); border-radius: 8px;
  padding: 14px 10px; font-size: 0.78rem; font-weight: 700;
  color: var(--navy); transition: border-color 0.2s;
}
.skill-badge:hover { border-color: var(--cyan); }
.skill-num { font-size: 1.2rem; font-weight: 900; color: var(--cyan); display: block; margin-bottom: 2px; }

/* Timeline */
.timeline { display: flex; flex-direction: column; gap: 0; position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 22px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--cyan), rgba(0,191,186,0.1));
}
.timeline-item { display: flex; gap: 22px; padding-bottom: 32px; position: relative; }
.timeline-dot {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--cyan); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 0.75rem; font-weight: 900; color: var(--cyan);
  position: relative; z-index: 1;
}
.timeline-content { padding-top: 10px; }
.timeline-year { font-size: 0.72rem; font-weight: 700; color: var(--cyan); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }
.timeline-title { font-size: 0.95rem; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.timeline-desc { font-size: 0.845rem; color: var(--text-mid); line-height: 1.65; }

/* Values grid */
.values-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.value-card {
  background: var(--white); border: 1px solid var(--gray-border);
  border-radius: var(--radius); padding: 28px 24px;
  transition: transform 0.2s;
}
.value-card:hover { transform: translateY(-3px); }
.value-icon { font-size: 1.8rem; margin-bottom: 12px; }
.value-title { font-size: 0.92rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.value-desc { font-size: 0.845rem; color: var(--text-mid); line-height: 1.65; }

/* ════════════════════════════
   PROCESO PAGE
════════════════════════════ */
.process-full { display: flex; flex-direction: column; gap: 32px; }
.process-full-item {
  display: grid; grid-template-columns: 80px 1fr; gap: 32px; align-items: start;
  background: var(--white); border: 1px solid var(--gray-border);
  border-radius: var(--radius); padding: 36px 36px 36px 0; overflow: hidden;
}
.process-num-col {
  background: var(--cyan-light); height: 100%; min-height: 100px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; font-weight: 900; color: var(--cyan);
}
.process-detail-title { font-size: 1.05rem; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.process-detail-desc { font-size: 0.88rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 16px; }
.process-detail-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.process-detail-list li { font-size: 0.855rem; color: var(--text-mid); display: flex; gap: 10px; }
.process-detail-list li::before { content: '→'; color: var(--cyan); font-weight: 700; flex-shrink: 0; }

/* ════════════════════════════
   REVEAL ANIMATION
════════════════════════════ */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
[data-reveal].visible { opacity: 1; transform: translateY(0); }

/* ════════════════════════════
   RESPONSIVE
════════════════════════════ */
@media (max-width: 1100px) {
  .hero-cards-inner { grid-template-columns: repeat(3,1fr) !important; }
}
@media (max-width: 960px) {
  .site-nav { padding: 0 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 64px 24px 110px; }
  .hero-circle-right { width: 110px; height: 110px; border-width: 20px; right: -35px; }
  .hero-circle-left { display: none; }
  .hero-cards-inner { grid-template-columns: 1fr; max-width: 380px; }
  .hero-cards-section { padding: 0 24px; }
  .why-section { padding: 0 24px 72px; }
  .why-inner { grid-template-columns: 1fr; gap: 40px; }
  .why-right { grid-template-columns: 1fr 1fr; }
  .section { padding: 60px 24px; }
  .services-grid, .portfolio-grid, .testi-grid, .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid::before { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cta-section { padding: 60px 24px; }
  .contact-layout { grid-template-columns: 1fr; }
  .about-layout { grid-template-columns: 1fr; }
  .breadcrumb-bar { padding: 10px 24px; }
  .page-hero { padding: 48px 24px; }
  .included-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: repeat(2,1fr); }
  .process-full-item { grid-template-columns: 60px 1fr; padding: 28px 24px 28px 0; }
}
@media (max-width: 600px) {
  .why-right { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-cards-inner { transform: translateY(-30px); }
  .skills-grid { grid-template-columns: 1fr 1fr; }
}
