/* ============================================================
   INFORMATICA MARTINI — STYLES
   Mobile-first, CSS custom properties, no framework deps
   ============================================================ */

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  transition: background .3s, color .3s;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; content-visibility: auto; }
img[loading="lazy"] { opacity: 0; transition: opacity .4s ease; }
img[loading="lazy"].loaded { opacity: 1; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- CSS VARIABLES — LIGHT ---- */
:root {
  --primary:       #2563eb;
  --primary-dark:  #1d4ed8;
  --primary-light: #eff6ff;
  --accent:        #06b6d4;
  --success:       #10b981;
  --warning:       #f59e0b;
  --danger:        #ef4444;

  --bg:            #ffffff;
  --bg-alt:        #f8fafc;
  --bg-card:       #ffffff;
  --border:        #e2e8f0;

  --text:          #0f172a;
  --text-muted:    #64748b;
  --text-light:    #94a3b8;

  --nav-bg:        rgba(255,255,255,0.92);
  --nav-shadow:    0 1px 20px rgba(0,0,0,0.08);

  --radius:        12px;
  --radius-lg:     20px;
  --shadow:        0 4px 24px rgba(37,99,235,0.08);
  --shadow-lg:     0 8px 48px rgba(37,99,235,0.14);
  --transition:    .25s ease;
}

/* ---- CSS VARIABLES — DARK ---- */
[data-theme="dark"] {
  --primary:       #3b82f6;
  --primary-dark:  #2563eb;
  --primary-light: #1e3a5f;
  --accent:        #22d3ee;

  --bg:            #0b1120;
  --bg-alt:        #111827;
  --bg-card:       #1e293b;
  --border:        #334155;

  --text:          #f1f5f9;
  --text-muted:    #94a3b8;
  --text-light:    #64748b;

  --nav-bg:        rgba(11,17,32,0.95);
  --nav-shadow:    0 1px 20px rgba(0,0,0,0.5);
}

/* ---- UTILITIES ---- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.section    { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: .3rem .9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.section-header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}
.section-header p {
  margin-top: .75rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,.3); }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.btn-ghost {
  background: rgba(255,255,255,.15);
  color: #fff;
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,.25); }

/* Fade-in on scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
  padding: 1.25rem 0;
}
.navbar.scrolled {
  background: var(--nav-bg);
  box-shadow: var(--nav-shadow);
  padding: .75rem 0;
  backdrop-filter: blur(12px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  transition: color var(--transition);
}
.navbar.scrolled .nav-logo { color: var(--text); }
.nav-logo span { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}
.nav-links a:hover::after { width: 100%; }
.navbar.scrolled .nav-links a { color: var(--text-muted); }
.navbar.scrolled .nav-links a:hover { color: var(--primary); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}

/* Theme toggle */
.theme-toggle {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.15);
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  font-size: 1rem;
}
.navbar.scrolled .theme-toggle { background: var(--bg-alt); color: var(--text); }
.theme-toggle:hover { background: var(--primary); color: #fff; }

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

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  transition: color var(--transition);
}
.nav-mobile a:hover { color: var(--primary); }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0b1120 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 0 4rem;
}
.hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.25) 0%, transparent 70%);
  top: -150px; right: -150px;
  animation: pulse 8s ease-in-out infinite;
}
.hero::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6,182,212,.15) 0%, transparent 70%);
  bottom: -100px; left: -100px;
  animation: pulse 6s ease-in-out infinite reverse;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: .7; }
  50% { transform: scale(1.1); opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(37,99,235,.2);
  border: 1px solid rgba(37,99,235,.4);
  color: #93c5fd;
  padding: .4rem 1rem;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  background: #22d3ee;
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero h1 span { color: #60a5fa; }
.hero p {
  font-size: 1.1rem;
  color: #94a3b8;
  margin-bottom: 2.5rem;
  max-width: 540px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 4rem;
  flex-wrap: wrap;
}
.hero-stat { text-align: left; }
.hero-stat strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}
.hero-stat span { font-size: .85rem; color: #64748b; }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.4);
  font-size: .75rem;
  animation: float 2s ease-in-out infinite;
  z-index: 1;
}
@keyframes float { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(-8px)} }
.scroll-indicator i { font-size: 1rem; }

/* ---- SOBRE MÍ ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-image {
  position: relative;
}
.about-avatar {
  width: 100%;
  max-width: 400px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary-light), var(--bg-alt));
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 6rem;
  font-weight: 800;
  color: var(--primary);
  border: 3px solid var(--border);
  overflow: hidden;
}
.about-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .4s ease; }
.about-avatar:hover img { transform: scale(1.04); }
.about-badge {
  position: absolute;
  bottom: -1rem; right: -1rem;
  background: var(--primary);
  color: #fff;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: .82rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.about-badge strong { display: block; font-size: 1.5rem; font-family: 'Space Grotesk', sans-serif; }

.about-content h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
.about-content p { color: var(--text-muted); margin-bottom: 1rem; }

.about-skills {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1.5rem 0;
}
.skill-tag {
  background: var(--primary-light);
  color: var(--primary);
  padding: .35rem .9rem;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
}

/* ---- SERVICIOS ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { opacity: .04; }
.service-card:hover .service-icon { background: var(--primary); color: #fff; }

.service-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  background: var(--primary-light);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  transition: all var(--transition);
}
.service-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.service-card p { color: var(--text-muted); font-size: .9rem; }

/* ---- PORTAFOLIO ---- */
.portfolio-filter {
  display: flex;
  justify-content: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: .45rem 1.2rem;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.portfolio-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.portfolio-thumb {
  height: 200px;
  background: linear-gradient(135deg, var(--primary-light), var(--bg-alt));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}
.portfolio-thumb img:not(.portfolio-logo) { width: 100%; height: 100%; object-fit: cover; }
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(37,99,235,.85);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay a {
  width: 44px; height: 44px;
  background: #fff;
  color: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: all var(--transition);
}
.portfolio-overlay a:hover { background: var(--primary); color: #fff; }

.portfolio-info { padding: 1.25rem; }
.portfolio-info h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  margin-bottom: .25rem;
}
.portfolio-info p { color: var(--text-muted); font-size: .88rem; margin-bottom: .75rem; }
.portfolio-tags { display: flex; gap: .4rem; flex-wrap: wrap; }
.portfolio-tags span {
  font-size: .75rem;
  font-weight: 600;
  background: var(--primary-light);
  color: var(--primary);
  padding: .2rem .65rem;
  border-radius: 50px;
}

/* ---- POR QUÉ ---- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}
.why-card h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; margin-bottom: .5rem; }
.why-card p { color: var(--text-muted); font-size: .9rem; }

/* ---- SISTEMAS ---- */
.systems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}
.system-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.system-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.system-header {
  padding: 2rem 2rem 1rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
}
.system-header .sys-icon {
  font-size: 2.5rem;
  margin-bottom: .75rem;
}
.system-header h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
}
.system-header p { font-size: .9rem; opacity: .85; margin-top: .25rem; }

.system-features {
  padding: 1.5rem 2rem 2rem;
}
.system-features li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
  color: var(--text-muted);
}
.system-features li:last-child { border-bottom: none; }
.system-features li i { color: var(--success); margin-top: .2rem; flex-shrink: 0; }
.system-cta { padding: 0 2rem 2rem; }

/* ---- TESTIMONIOS ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: all var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem; right: 1.5rem;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: var(--primary-light);
  line-height: 1;
  [data-theme="dark"] & { color: rgba(37,99,235,.2); }
}
.testimonial-text { color: var(--text-muted); font-size: .95rem; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
}
.testimonial-meta strong { display: block; font-weight: 600; font-size: .9rem; }
.testimonial-meta span { font-size: .8rem; color: var(--text-muted); }
.testimonial-stars { color: var(--warning); font-size: .85rem; margin-bottom: .75rem; }

/* ---- CONTACTO ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}
.contact-info h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.contact-info p { color: var(--text-muted); margin-bottom: 2rem; }

.contact-items { display: flex; flex-direction: column; gap: 1rem; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.contact-item-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: var(--primary-light);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item-text span { display: block; font-size: .78rem; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: .05em; }
.contact-item-text strong { font-size: .95rem; }

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.form-group label { font-size: .85rem; font-weight: 600; color: var(--text); }
.form-group input,
.form-group textarea,
.form-group select {
  padding: .75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.form-group textarea { min-height: 140px; resize: vertical; }

.form-submit { width: 100%; justify-content: center; padding: 1rem; font-size: 1rem; }

.form-alert {
  padding: .9rem 1.25rem;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 500;
  display: none;
  margin-top: 1rem;
}
.form-alert.success { background: #d1fae5; color: #065f46; display: block; }
.form-alert.error   { background: #fee2e2; color: #991b1b; display: block; }
[data-theme="dark"] .form-alert.success { background: rgba(16,185,129,.15); color: #6ee7b7; }
[data-theme="dark"] .form-alert.error   { background: rgba(239,68,68,.15); color: #fca5a5; }

/* ---- FOOTER ---- */
.footer {
  background: #0b1120;
  color: #94a3b8;
  padding: 4rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 2rem;
}
.footer-logo {
  display: inline-flex;
  width: 48px; height: 48px;
  background: var(--primary);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: var(--radius);
  align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.footer-brand p { font-size: .9rem; line-height: 1.7; max-width: 280px; margin-bottom: 1.25rem; }
.footer-social { display: flex; gap: .75rem; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: #94a3b8;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--primary); color: #fff; }

.footer-links h4, .footer-contact h4 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1.25rem;
  font-size: .95rem;
}
.footer-links ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-links a { font-size: .9rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--primary); }
.footer-contact ul { display: flex; flex-direction: column; gap: .75rem; }
.footer-contact li { display: flex; align-items: center; gap: .75rem; font-size: .9rem; }
.footer-contact i { color: var(--primary); width: 16px; text-align: center; }
.footer-bottom { text-align: center; font-size: .82rem; }

/* ---- WHATSAPP FLOAT ---- */
.whatsapp-float {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 56px; height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  z-index: 900;
  transition: all var(--transition);
  animation: waBounce 3s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.6); }
@keyframes waBounce {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-image { display: flex; justify-content: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-stats { gap: 1.5rem; }
  .systems-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .contact-form { padding: 1.5rem; }
}

/* ---- TYPING CURSOR ---- */
.typing-cursor {
  color: #60a5fa;
  font-weight: 300;
  animation: cursorBlink .75s step-end infinite;
  margin-left: 1px;
}
@keyframes cursorBlink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ---- PROCESO DE TRABAJO ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  position: relative;
}
.steps-grid::after {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #7c3aed, #0891b2, #059669, #d97706);
  z-index: 0;
  pointer-events: none;
  border-radius: 4px;
}
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 .5rem;
  position: relative;
  z-index: 1;
}
.step-icon-wrap {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  color: #fff;
  font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  position: relative;
  transition: all var(--transition);
  box-shadow: 0 8px 24px rgba(37,99,235,.35);
}
/* color único por paso */
.step-item:nth-child(1) .step-icon-wrap { background: linear-gradient(135deg, #2563eb, #1d4ed8); box-shadow: 0 8px 24px rgba(37,99,235,.35); }
.step-item:nth-child(2) .step-icon-wrap { background: linear-gradient(135deg, #7c3aed, #6d28d9); box-shadow: 0 8px 24px rgba(124,58,237,.35); }
.step-item:nth-child(3) .step-icon-wrap { background: linear-gradient(135deg, #0891b2, #06b6d4); box-shadow: 0 8px 24px rgba(8,145,178,.35); }
.step-item:nth-child(4) .step-icon-wrap { background: linear-gradient(135deg, #059669, #10b981); box-shadow: 0 8px 24px rgba(5,150,105,.35); }
.step-item:nth-child(5) .step-icon-wrap { background: linear-gradient(135deg, #d97706, #f59e0b); box-shadow: 0 8px 24px rgba(217,119,6,.35); }

.step-icon-wrap > span {
  position: absolute;
  top: -5px; right: -5px;
  width: 22px; height: 22px;
  background: #fff;
  color: var(--text);
  border-radius: 50%;
  font-size: .6rem;
  font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
.step-item:hover .step-icon-wrap {
  transform: translateY(-6px) scale(1.08);
  filter: brightness(1.1);
}
.step-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: .4rem;
  color: var(--text);
}
.step-desc {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.55;
}
@media (max-width: 900px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .steps-grid::after { display: none; }
}
@media (max-width: 540px) {
  .steps-grid { grid-template-columns: 1fr; gap: 1rem; }
  .step-item { flex-direction: row; text-align: left; gap: 1.25rem; align-items: flex-start; }
  .step-icon-wrap { flex-shrink: 0; margin-bottom: 0; }
  .step-body { flex: 1; padding-top: .25rem; }
}

/* ---- FAQ ---- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.faq-item.open { box-shadow: var(--shadow); border-color: var(--primary); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  transition: color var(--transition);
}
.faq-question:hover { color: var(--primary); }
.faq-item.open .faq-question { color: var(--primary); }
.faq-icon {
  font-size: .85rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform .3s ease, color var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--primary); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer-inner {
  padding: 1rem 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: .93rem;
  line-height: 1.7;
  border-top: 1px solid var(--border);
}

/* ---- PAGE LOADER ---- */
#page-loader {
  position: fixed;
  inset: 0;
  background: #0f172a;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .5s ease, visibility .5s ease;
}
#page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; }
.loader-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -2px;
  animation: loaderPulse .9s ease-in-out infinite;
}
.loader-logo span { color: #2563eb; }
.loader-track {
  width: 160px;
  height: 3px;
  background: rgba(255,255,255,.1);
  border-radius: 4px;
  margin: 1.5rem auto 0;
  overflow: hidden;
}
.loader-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #2563eb, #06b6d4);
  border-radius: 4px;
  animation: loaderBar 1.1s ease forwards;
}
@keyframes loaderPulse { 0%,100%{opacity:1} 50%{opacity:.5} }
@keyframes loaderBar   { 0%{width:0} 100%{width:100%} }

/* ---- TECH STACK ---- */
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin: 1.5rem 0;
}
.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  padding: .75rem .9rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 68px;
  transition: all var(--transition);
  cursor: default;
}
.tech-item:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.tech-item i { font-size: 1.75rem; line-height: 1; }
.tech-item span {
  font-size: .7rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ---- BACK TO TOP ---- */
#back-to-top {
  position: fixed;
  bottom: 6.5rem;
  right: 2rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  box-shadow: 0 4px 16px rgba(37,99,235,.35);
  z-index: 890;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s ease, visibility .3s ease, transform .3s ease;
}
#back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#back-to-top:hover   { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(37,99,235,.5); }

/* ---- AVAIL BAND ---- */
.avail-band {
  background: linear-gradient(90deg, #0f172a, #1e3a5f, #0f172a);
  border-bottom: 1px solid rgba(37,99,235,.25);
  padding: .6rem 0;
}
.avail-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: .82rem;
  color: #94a3b8;
}
.avail-status {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #22d3ee;
  font-weight: 600;
}
.avail-status .dot { width:7px; height:7px; background:#22d3ee; border-radius:50%; animation: blink 1.5s ease-in-out infinite; }
.avail-sep { color: rgba(255,255,255,.2); }
.avail-band i { color: #60a5fa; margin-right: .2rem; }
.avail-cta {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: #fff;
  font-weight: 600;
  background: var(--primary);
  padding: .22rem .85rem;
  border-radius: 50px;
  font-size: .78rem;
  transition: background var(--transition);
}
.avail-cta:hover { background: var(--primary-dark); }
.badge-sep { opacity: .4; margin: 0 .1rem; }
@media (max-width: 600px) { .avail-sep { display: none; } .avail-inner { gap: .75rem; } }

/* ---- PRECIOS ---- */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  transition: all var(--transition);
}
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan-card.featured { border-color: var(--primary); box-shadow: var(--shadow-lg); }
.plan-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .25rem 1rem;
  border-radius: 50px;
  white-space: nowrap;
}
.plan-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: .4rem;
}
.plan-desc { font-size: .85rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.plan-price { margin-bottom: 2rem; }
.plan-price strong { font-family: 'Space Grotesk', sans-serif; font-size: 2rem; font-weight: 800; color: var(--primary); }
.plan-price span { font-size: .82rem; color: var(--text-muted); margin-left: .25rem; }
.plan-features { display: flex; flex-direction: column; gap: .65rem; margin-bottom: 2rem; }
.plan-features li { display: flex; align-items: flex-start; gap: .65rem; font-size: .88rem; color: var(--text-muted); }
.plan-features li i { color: var(--success); margin-top: .15rem; flex-shrink: 0; }
@media (max-width: 900px) { .plans-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }

/* ---- BLOG ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-thumb {
  height: 155px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.blog-thumb-1 { background: linear-gradient(135deg, #1e3a5f, #2563eb); }
.blog-thumb-2 { background: linear-gradient(135deg, #064e3b, #059669); }
.blog-thumb-3 { background: linear-gradient(135deg, #4c1d95, #7c3aed); }
.blog-body { padding: 1.5rem; }
.blog-meta { display: flex; align-items: center; gap: .75rem; font-size: .75rem; color: var(--text-muted); margin-bottom: .75rem; }
.blog-tag { background: var(--primary-light); color: var(--primary); padding: .15rem .65rem; border-radius: 50px; font-weight: 600; }
.blog-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1rem; font-weight: 700; line-height: 1.4; margin-bottom: .6rem; }
.blog-excerpt { font-size: .85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1.25rem; }
.blog-link { font-size: .85rem; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: .35rem; transition: gap var(--transition); }
.blog-link:hover { gap: .65rem; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; } }

/* ---- MODAL ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-content {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 500px;
  position: relative;
  transform: translateY(20px) scale(.97);
  transition: transform .3s ease;
  box-shadow: 0 24px 64px rgba(0,0,0,.35);
  max-height: 90vh;
  overflow-y: auto;
}
.modal-overlay.open .modal-content { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bg-alt);
  color: var(--text-muted);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
  transition: all var(--transition);
}
.modal-close:hover { background: var(--danger); color: #fff; }
.modal-content h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.4rem; font-weight: 700; margin-bottom: .4rem; }

/* ---- WIZARD DE COTIZACIÓN ---- */
.wizard { width: 100%; }
.wizard-progress { display: flex; align-items: center; justify-content: center; margin-bottom: 2rem; }
.wiz-step { display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.wiz-step span { font-size: .75rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; transition: color .3s; }
.wiz-dot {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-alt); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 700; color: var(--text-muted); transition: all .3s;
}
.wiz-step.active .wiz-dot { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 0 0 4px rgba(37,99,235,.15); }
.wiz-step.done .wiz-dot { background: var(--success); border-color: var(--success); color: #fff; }
.wiz-step.active span, .wiz-step.done span { color: var(--text); }
.wiz-line { flex: 1; height: 2px; background: var(--border); margin: 0 .5rem; margin-bottom: 1.4rem; transition: background .3s; max-width: 60px; }
.wiz-line.done { background: var(--success); }
.wiz-panel { display: none; }
.wiz-panel.active { display: block; }
.wiz-panel h4 { font-family: 'Space Grotesk', sans-serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; color: var(--text); }
.wiz-options { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: .5rem; }
.wiz-opt {
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  padding: .9rem 1.1rem; border: 2px solid var(--border); border-radius: var(--radius);
  cursor: pointer; min-width: 100px; text-align: center;
  transition: all var(--transition); background: var(--bg-card);
}
.wiz-opt i { font-size: 1.4rem; color: var(--primary); }
.wiz-opt span { font-size: .8rem; font-weight: 600; color: var(--text); }
.wiz-opt input[type="radio"] { display: none; }
.wiz-opt:hover { border-color: var(--primary); background: var(--primary-light); }
.wiz-opt:has(input:checked) { border-color: var(--primary); background: var(--primary-light); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.wiz-opt:has(input:checked) i, .wiz-opt:has(input:checked) span { color: var(--primary); }
.wiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 1.5rem; gap: 1rem; }
.wiz-nav .btn-outline {
  background: transparent; border: 2px solid var(--border); color: var(--text-muted);
  padding: .6rem 1.2rem; border-radius: var(--radius); cursor: pointer;
  font-weight: 600; font-size: .9rem; transition: all var(--transition);
  display: flex; align-items: center; gap: .4rem;
}
.wiz-nav .btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* ---- CHATBOT WIDGET ---- */
#chatbot-widget { position: fixed; bottom: 5.5rem; right: 1.5rem; z-index: 1100; display: flex; flex-direction: column; align-items: flex-end; gap: .75rem; }
#chat-toggle {
  width: 56px; height: 56px; border-radius: 50%; border: none;
  background: linear-gradient(135deg, var(--primary), #7c3aed);
  color: #fff; font-size: 1.35rem; cursor: pointer;
  box-shadow: 0 6px 20px rgba(37,99,235,.45);
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s, box-shadow .2s;
}
#chat-toggle:hover { transform: scale(1.08); box-shadow: 0 8px 28px rgba(37,99,235,.55); }
#chat-window {
  width: 340px; max-height: 500px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  transform: scale(.92) translateY(12px);
  opacity: 0; pointer-events: none;
  transition: transform .25s ease, opacity .25s ease;
  transform-origin: bottom right;
}
#chat-window.open { transform: scale(1) translateY(0); opacity: 1; pointer-events: all; }
.chat-header {
  background: linear-gradient(135deg, var(--primary), #7c3aed);
  padding: .9rem 1rem; display: flex; align-items: center; gap: .75rem; color: #fff;
}
.chat-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.chat-title { font-weight: 700; font-size: .95rem; line-height: 1.2; }
.chat-status { font-size: .75rem; opacity: .85; display: flex; align-items: center; gap: .3rem; }
.chat-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; display: inline-block; }
#chat-close-btn { margin-left: auto; background: none; border: none; color: rgba(255,255,255,.8); cursor: pointer; font-size: 1rem; padding: .2rem; }
#chat-close-btn:hover { color: #fff; }
#chat-messages {
  flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .65rem;
  scroll-behavior: smooth;
}
#chat-messages::-webkit-scrollbar { width: 4px; }
#chat-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.chat-msg { display: flex; }
.chat-msg.user { justify-content: flex-end; }
.chat-bubble {
  max-width: 82%; padding: .6rem .9rem; border-radius: 14px;
  font-size: .875rem; line-height: 1.55; color: var(--text);
  background: var(--bg-alt);
}
.chat-msg.user .chat-bubble { background: var(--primary); color: #fff; border-radius: 14px 14px 2px 14px; }
.chat-msg.bot  .chat-bubble { border-radius: 14px 14px 14px 2px; }
/* Typing indicator */
.typing-indicator { display: flex; align-items: center; gap: 4px; padding: .5rem .8rem; }
.typing-indicator span {
  width: 7px; height: 7px; border-radius: 50%; background: var(--text-muted);
  animation: typingBounce .9s infinite ease-in-out;
}
.typing-indicator span:nth-child(2) { animation-delay: .15s; }
.typing-indicator span:nth-child(3) { animation-delay: .3s; }
@keyframes typingBounce { 0%,60%,100% { transform: translateY(0); } 30% { transform: translateY(-6px); } }
.chat-input-wrap {
  display: flex; gap: .5rem; padding: .75rem; border-top: 1px solid var(--border);
  background: var(--bg-card);
}
#chat-input {
  flex: 1; padding: .5rem .85rem; border-radius: 20px;
  border: 1px solid var(--border); background: var(--bg-alt); color: var(--text);
  font-size: .875rem; outline: none; transition: border-color .2s;
}
#chat-input:focus { border-color: var(--primary); }
#chat-send {
  width: 36px; height: 36px; border-radius: 50%; border: none;
  background: var(--primary); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: .85rem;
  flex-shrink: 0; transition: background .2s;
}
#chat-send:hover { background: var(--primary-dark); }
@media (max-width: 400px) {
  #chat-window { width: calc(100vw - 2rem); }
  #chatbot-widget { right: 1rem; bottom: 5rem; }
}
.modal-content > p { color: var(--text-muted); font-size: .9rem; margin-bottom: 1.75rem; }

/* ---- CLIENTS BAND ---- */
.clients-band {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}
.clients-label {
  text-align: center;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1.1rem;
}
.clients-scroll {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem 2rem;
}
.client-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem 1rem;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: all var(--transition);
}
.client-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.ci-emoji { font-size: 1.1rem; line-height: 1; }
.client-item span:last-child {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
.client-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  padding: 2px;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .clients-scroll { gap: .5rem 1rem; }
  .client-item { padding: .35rem .75rem; }
}

/* ---- HERO SECTORS ---- */
.hero-sectors {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 2rem;
}
.sector-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.75);
  padding: .3rem .85rem;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 500;
  backdrop-filter: blur(6px);
  transition: all var(--transition);
}
.sector-badge i { font-size: .8rem; color: #93c5fd; }
.sector-badge:hover {
  background: rgba(37,99,235,.25);
  border-color: rgba(96,165,250,.5);
  color: #fff;
}

/* ---- PORTFOLIO LOGO ---- */
.portfolio-logo {
  width: auto !important;
  height: auto !important;
  max-width: 72%;
  max-height: 110px;
  object-fit: contain !important;
  background: #fff;
  border-radius: 14px;
  padding: .85rem 1.5rem;
  box-shadow: 0 6px 24px rgba(0,0,0,.13);
  position: relative;
  z-index: 1;
}

/* ---- PORTFOLIO RESULT BADGE ---- */
.portfolio-result-badge {
  position: absolute;
  bottom: .75rem;
  left: .75rem;
  right: .75rem;
  background: rgba(16,185,129,.92);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: .35rem .75rem;
  border-radius: 50px;
  text-align: center;
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  letter-spacing: .01em;
  transition: opacity var(--transition);
}

/* ---- CTA CIERRE ---- */
.cta-cierre {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0b1120 100%);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-cierre::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.2) 0%, transparent 70%);
  top: -200px; left: -100px;
  pointer-events: none;
}
.cta-cierre::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6,182,212,.12) 0%, transparent 70%);
  bottom: -150px; right: -100px;
  pointer-events: none;
}
.cta-cierre .container { position: relative; z-index: 1; }
.cta-cierre h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.cta-cierre > .container > p {
  color: #94a3b8;
  font-size: 1rem;
  margin-bottom: 2.5rem;
}
.cta-cierre-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.btn-lg {
  padding: 1rem 2rem !important;
  font-size: 1rem !important;
}
.btn-wa {
  background: #25d366;
  color: #fff;
}
.btn-wa:hover { background: #1da851; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,.35); }
.cta-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cta-trust-row span {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  color: #64748b;
  font-weight: 500;
}
.cta-trust-row i { color: #22d3ee; font-size: .85rem; }
