﻿/* Variables - Azul marino con acentos dorados */
:root {
  --color-primary: #001f3f;
  --color-primary-dark: #001528;
  --color-primary-light: #003366;
  --color-accent: #003d7a;
  --color-accent-warm: #c9a227;
  --color-accent-warm-light: #e8d48b;
  --color-bg: #f8fafc;
  --color-bg-dark: #001f3f;
  --color-text: #1e293b;
  --color-text-muted: #64748b;
  --color-white: #ffffff;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 8px 32px -8px rgba(0, 31, 63, 0.2);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-sm: 8px;
  --radius-full: 9999px;
  --transition: 0.2s ease;
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --animate-duration: 0.6s;
  --ring: 0 0 0 2px rgba(0, 31, 63, 0.15);
}

/* Animaciones sutiles */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes pulse-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes gradient-shift {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.9; }
}

/* AnimaciÃ³n al hacer scroll */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animate-visible {
  opacity: 1;
  transform: translateY(0);
}

.servicios-grid .servicio-card.animate-on-scroll { transition-delay: 0s; }
.servicios-grid .servicio-card:nth-child(1).animate-visible { transition-delay: 0s; }
.servicios-grid .servicio-card:nth-child(2).animate-visible { transition-delay: 0.08s; }
.servicios-grid .servicio-card:nth-child(3).animate-visible { transition-delay: 0.16s; }
.servicios-grid .servicio-card:nth-child(4).animate-visible { transition-delay: 0.24s; }

.automatizacion-grid .automatizacion-card.animate-on-scroll { transition-delay: 0s; }
.automatizacion-grid .automatizacion-card:nth-child(1).animate-visible { transition-delay: 0s; }
.automatizacion-grid .automatizacion-card:nth-child(2).animate-visible { transition-delay: 0.08s; }
.automatizacion-grid .automatizacion-card:nth-child(3).animate-visible { transition-delay: 0.16s; }
.automatizacion-grid .automatizacion-card:nth-child(4).animate-visible { transition-delay: 0.24s; }

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
  width: 10px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary));
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

::selection {
  background: rgba(0, 31, 63, 0.12);
  color: var(--color-primary-dark);
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-white);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(0, 31, 63, 0.03) 1px, transparent 0);
  background-size: 32px 32px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.75rem 0;
  background: var(--color-primary);
  box-shadow: 0 2px 12px rgba(0, 31, 63, 0.2);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  background: var(--color-primary-dark);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(201, 162, 39, 0.15);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 72px;
  width: auto;
}

.header .logo img {
  height: 70px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.header .logo:hover img {
  transform: scale(1.05);
  opacity: 0.95;
}

@media (min-width: 769px) {
  .header .logo img {
    height: 90px;
  }
}

.footer .logo img {
  height: 100px;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s ease;
}

.footer .logo:hover img {
  opacity: 0.9;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-white);
  border-radius: var(--radius-full);
  transition: width var(--transition-smooth);
}

.nav-links a:hover {
  color: var(--color-white);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links .btn-nav {
  color: var(--color-white);
  border: none;
  background: transparent;
  padding: 0.25rem 0;
  position: relative;
}

.nav-links .btn-nav::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-white);
  border-radius: var(--radius-full);
  transition: width var(--transition-smooth);
}

.nav-links .btn-nav:hover {
  background: transparent;
  color: var(--color-white);
  border: none;
}

.nav-links .btn-nav:hover::after {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: var(--color-white);
  box-shadow: 0 2px 8px rgba(0, 31, 63, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 31, 63, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 31, 63, 0.3);
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.btn-nav {
  padding: 0.5rem 1rem;
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-whatsapp {
  background: #25d366;
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-whatsapp:hover {
  background: #20bd5a;
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.whatsapp-icon {
  width: 1.35rem;
  height: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.whatsapp-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: var(--radius-full);
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
}

.menu-toggle:hover span {
  background: rgba(255, 255, 255, 0.9);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8.5rem 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 50%, #f8fafc 100%);
  z-index: -1;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 31, 63, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 10%;
  left: -15%;
  width: 50%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(0, 31, 63, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Elementos decorativos lado izquierdo */
.hero-decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-decor-left {
  left: 0;
  width: 45%;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(0, 61, 122, 0.15);
  border: 2px solid rgba(0, 61, 122, 0.2);
  transition: transform 6s ease-out;
}

.hero:hover .hero-shape-1 {
  transform: scale(1.03);
}

.hero:hover .hero-shape-2 {
  transform: scale(1.05);
}

.hero:hover .hero-shape-5 {
  transform: scale(1.04);
}

.hero:hover .hero-shape-6 {
  transform: scale(1.06);
}

.hero:hover .hero-shape-7 {
  transform: scale(1.05);
}

.hero:hover .hero-shape-8 {
  transform: scale(1.04);
}

.hero:hover .hero-shape-9 {
  transform: scale(1.05);
}

.hero:hover .hero-shape-10 {
  transform: scale(1.06);
}

.hero:hover .hero-shape-11 {
  transform: scale(1.04);
}

.hero:hover .hero-shape-12 {
  transform: scale(1.07);
}

.hero:hover .hero-shape-13 {
  transform: scale(1.05);
}

.hero:hover .hero-shape-14 {
  transform: scale(1.06);
}

.hero:hover .hero-shape-15 {
  transform: scale(1.05);
}

.hero:hover .hero-shape-16 {
  transform: scale(1.06);
}

.hero-shape-1 {
  width: 280px;
  height: 280px;
  top: 15%;
  left: -80px;
}

.hero-shape-2 {
  width: 180px;
  height: 180px;
  top: 55%;
  left: 5%;
}

.hero-shape-3 {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 12%;
  background: rgba(0, 61, 122, 0.12);
}

.hero-shape-4 {
  width: 200px;
  height: 200px;
  top: 35%;
  left: 15%;
  background: rgba(0, 61, 122, 0.1);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.hero-shape-5 {
  width: 150px;
  height: 150px;
  top: 70%;
  left: -30px;
  background: rgba(0, 61, 122, 0.08);
  border: 2px solid rgba(0, 61, 122, 0.15);
}

.hero-shape-6 {
  width: 120px;
  height: 120px;
  top: 25%;
  left: 35%;
  background: rgba(0, 61, 122, 0.09);
  border: 2px solid rgba(0, 61, 122, 0.14);
}

.hero-shape-7 {
  width: 90px;
  height: 90px;
  top: 60%;
  left: 42%;
  background: rgba(0, 61, 122, 0.11);
  border: 2px solid rgba(0, 61, 122, 0.16);
}

.hero-shape-8 {
  width: 140px;
  height: 140px;
  top: 10%;
  left: 8%;
  background: rgba(0, 61, 122, 0.07);
  border: 2px solid rgba(0, 61, 122, 0.13);
}

.hero-shape-9 {
  width: 110px;
  height: 110px;
  top: 45%;
  left: 2%;
  background: rgba(0, 61, 122, 0.1);
  border: 2px solid rgba(0, 61, 122, 0.15);
}

.hero-shape-10 {
  width: 95px;
  height: 95px;
  top: 15%;
  left: 25%;
  background: rgba(0, 61, 122, 0.08);
  border: 2px solid rgba(0, 61, 122, 0.14);
}

.hero-shape-11 {
  width: 130px;
  height: 130px;
  top: 55%;
  left: 20%;
  background: rgba(0, 61, 122, 0.09);
  border: 2px solid rgba(0, 61, 122, 0.14);
}

.hero-shape-12 {
  width: 80px;
  height: 80px;
  top: 32%;
  left: 38%;
  background: rgba(0, 61, 122, 0.12);
  border: 2px solid rgba(0, 61, 122, 0.17);
}

.hero-shape-13 {
  width: 105px;
  height: 105px;
  top: 75%;
  left: 28%;
  background: rgba(0, 61, 122, 0.07);
  border: 2px solid rgba(0, 61, 122, 0.12);
}

.hero-shape-14 {
  width: 125px;
  height: 125px;
  top: 5%;
  left: -20px;
  background: rgba(0, 61, 122, 0.1);
  border: 2px solid rgba(0, 61, 122, 0.15);
}

.hero-shape-15 {
  width: 115px;
  height: 115px;
  top: 68%;
  left: 10%;
  background: rgba(0, 61, 122, 0.11);
  border: 2px solid rgba(0, 61, 122, 0.16);
}

.hero-shape-16 {
  width: 100px;
  height: 100px;
  top: 38%;
  left: 48%;
  background: rgba(0, 61, 122, 0.09);
  border: 2px solid rgba(0, 61, 122, 0.14);
}

.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  background: linear-gradient(135deg, rgba(0, 31, 63, 0.06) 0%, rgba(0, 61, 122, 0.08) 100%);
  color: var(--color-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
  border: 1px solid rgba(0, 31, 63, 0.12);
  box-shadow: 0 1px 2px rgba(0, 31, 63, 0.04), inset 0 1px 0 rgba(255,255,255,0.6);
}

.hero-logos {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.hero-logos .hero-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.hero-logos .hero-logo:hover {
  transform: scale(1.08);
}

.hero-logos .hero-logo-appsheet {
  height: 32px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-bg-dark);
  margin-bottom: 1.25rem;
}

.hero-title em {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 50%, var(--color-accent-warm) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: normal;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  padding: 0.5rem 1rem 0.5rem 1.25rem;
  border-left: 3px solid rgba(0, 31, 63, 0.2);
  background: rgba(255, 255, 255, 0.5);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  transition: all 0.25s ease;
}

.stat:first-child {
  border-left: 3px solid rgba(0, 31, 63, 0.2);
  padding-left: 1.25rem;
}

.stat:hover {
  color: var(--color-primary);
  border-color: var(--color-accent-warm);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
}

.stat strong {
  display: block;
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-top: 1.5rem;
}

.trust-item {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  border: 1px solid rgba(0, 31, 63, 0.06);
  transition: all 0.25s ease;
  animation: fadeInUp 0.6s ease-out both;
}

.trust-item:hover {
  background: rgba(255, 255, 255, 1);
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.trust-item:nth-child(1) { animation-delay: 0.2s; }
.trust-item:nth-child(2) { animation-delay: 0.3s; }
.trust-item:nth-child(3) { animation-delay: 0.4s; }

.hero-content .hero-badge {
  animation: fadeInUp 0.5s ease-out both;
}

.hero-content .hero-logos {
  animation: fadeInUp 0.5s ease-out 0.1s both;
}

.hero-content .hero-title {
  animation: fadeInUp 0.5s ease-out 0.15s both;
}

.hero-content .hero-desc {
  animation: fadeInUp 0.5s ease-out 0.25s both;
}

.hero-content .hero-cta {
  animation: fadeInUp 0.5s ease-out 0.35s both;
}

.hero-content .hero-stats {
  animation: fadeInUp 0.5s ease-out 0.4s both;
}

.hero-visual {
  position: absolute;
  right: 4%;
  top: 52%;
  transform: translateY(-50%);
  width: min(420px, 34vw);
  max-width: 90%;
  z-index: 1;
}

.app-showcase {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0, 31, 63, 0.08), 0 0 0 1px rgba(0, 31, 63, 0.05);
  overflow: hidden;
  animation: slideInRight 0.7s ease-out 0.3s both;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.app-showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent) 50%, var(--color-accent-warm));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.app-showcase:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(0, 31, 63, 0.15);
}

.app-screenshot {
  width: 100%;
  height: auto;
  display: block;
}

.app-showcase-text {
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  background: var(--color-white);
  border-top: 1px solid rgba(0, 31, 63, 0.06);
}

.app-showcase-text strong {
  color: var(--color-primary);
}

/* Section base */
.section {
  padding: 5rem 0;
  position: relative;
}

.servicios::before,
.beneficios::before,
.contacto::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--color-accent-warm), transparent);
  opacity: 0.5;
  border-radius: 2px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0 0.25rem 1rem;
  border-left: 4px solid var(--color-accent-warm);
  opacity: 0.95;
  position: relative;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--color-bg-dark);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin-bottom: 2.5rem;
}

/* Confianza / Trust */
.confianza-section {
  padding: 3rem 0;
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-white) 100%);
  position: relative;
}

.confianza-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 31, 63, 0.08), transparent);
}

.confianza-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.confianza-item {
  padding: 1.5rem 1rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 3px rgba(0, 31, 63, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 1px solid rgba(0, 31, 63, 0.06);
}

.confianza-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 31, 63, 0.1);
  border-color: rgba(0, 31, 63, 0.1);
}

.confianza-icon {
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 0.75rem;
  background: linear-gradient(135deg, rgba(0, 31, 63, 0.06) 0%, rgba(201, 162, 39, 0.08) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 31, 63, 0.06);
  transition: all 0.3s ease;
  color: var(--color-primary);
}

.confianza-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--color-primary);
}

.confianza-item:hover .confianza-icon {
  background: linear-gradient(135deg, rgba(0, 31, 63, 0.1) 0%, rgba(201, 162, 39, 0.12) 100%);
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(0, 31, 63, 0.08);
}

.confianza-item p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* Servicios */
.servicios {
  background: var(--color-white);
  overflow: hidden;
}

.servicios::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 56%, rgba(0, 61, 122, 0.08) 0 22px, rgba(0, 61, 122, 0.15) 23px 24px, transparent 25px),
    radial-gradient(circle at 3% 26%, rgba(0, 61, 122, 0.07) 0 16px, rgba(0, 61, 122, 0.14) 17px 18px, transparent 19px),
    radial-gradient(circle at 7% 18%, rgba(0, 61, 122, 0.14) 0 34px, rgba(0, 61, 122, 0.22) 35px 36px, transparent 37px),
    radial-gradient(circle at 11% 30%, rgba(0, 61, 122, 0.11) 0 52px, rgba(0, 61, 122, 0.18) 53px 54px, transparent 55px),
    radial-gradient(circle at 6% 44%, rgba(0, 61, 122, 0.09) 0 28px, rgba(0, 61, 122, 0.16) 29px 30px, transparent 31px),
    radial-gradient(circle at 87% 58%, rgba(0, 61, 122, 0.08) 0 22px, rgba(0, 61, 122, 0.15) 23px 24px, transparent 25px),
    radial-gradient(circle at 97% 27%, rgba(0, 61, 122, 0.07) 0 16px, rgba(0, 61, 122, 0.14) 17px 18px, transparent 19px),
    radial-gradient(circle at 92% 20%, rgba(0, 61, 122, 0.14) 0 34px, rgba(0, 61, 122, 0.22) 35px 36px, transparent 37px),
    radial-gradient(circle at 88% 33%, rgba(0, 61, 122, 0.11) 0 52px, rgba(0, 61, 122, 0.18) 53px 54px, transparent 55px),
    radial-gradient(circle at 94% 46%, rgba(0, 61, 122, 0.09) 0 28px, rgba(0, 61, 122, 0.16) 29px 30px, transparent 31px),
    radial-gradient(circle at 84% 12%, rgba(0, 61, 122, 0.08) 0 18px, rgba(0, 61, 122, 0.15) 19px 20px, transparent 21px),
    radial-gradient(circle at 16% 10%, rgba(0, 61, 122, 0.08) 0 18px, rgba(0, 61, 122, 0.15) 19px 20px, transparent 21px);
  opacity: 0.85;
}

.servicios .container {
  position: relative;
  z-index: 1;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.servicio-card {
  padding: 1.75rem;
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-bg) 100%);
  border-radius: var(--radius-lg);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  border: 1px solid rgba(0, 31, 63, 0.08);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 31, 63, 0.04);
}

.servicio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-accent-warm) 100%);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  transition: height 0.35s ease;
}

.servicio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow), 0 12px 40px -12px rgba(0, 31, 63, 0.15);
  border-color: rgba(0, 31, 63, 0.12);
}

.servicio-card:hover::before {
  height: 100%;
}

.servicio-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(0, 31, 63, 0.06);
  border-radius: var(--radius);
  transition: background 0.3s ease, transform 0.3s ease;
  color: var(--color-primary);
}

.servicio-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-primary);
}

.servicio-card:hover .servicio-icon {
  background: rgba(0, 31, 63, 0.1);
  transform: scale(1.08);
}

.servicio-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-bg-dark);
  margin-bottom: 0.5rem;
}

.servicio-card p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* Beneficios */
.beneficios {
  background: var(--color-bg);
  overflow: hidden;
}

.beneficios::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 22%, rgba(148, 163, 184, 0.12) 0 24px, rgba(148, 163, 184, 0.18) 25px 26px, transparent 27px),
    radial-gradient(circle at 14% 40%, rgba(148, 163, 184, 0.1) 0 42px, rgba(148, 163, 184, 0.16) 43px 44px, transparent 45px),
    radial-gradient(circle at 5% 62%, rgba(148, 163, 184, 0.08) 0 18px, rgba(148, 163, 184, 0.15) 19px 20px, transparent 21px),
    radial-gradient(circle at 92% 20%, rgba(148, 163, 184, 0.12) 0 24px, rgba(148, 163, 184, 0.18) 25px 26px, transparent 27px),
    radial-gradient(circle at 86% 42%, rgba(148, 163, 184, 0.1) 0 42px, rgba(148, 163, 184, 0.16) 43px 44px, transparent 45px),
    radial-gradient(circle at 95% 64%, rgba(148, 163, 184, 0.08) 0 18px, rgba(148, 163, 184, 0.15) 19px 20px, transparent 21px);
  opacity: 0.8;
}

.beneficios .container {
  position: relative;
  z-index: 1;
}

.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.beneficio {
  transition: transform 0.3s ease;
}

.beneficio:hover {
  transform: translateX(6px);
}

.beneficio-num {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.7;
  margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  transition: opacity 0.3s ease;
}

.beneficio:hover .beneficio-num {
  opacity: 1;
}

.beneficio h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-bg-dark);
  margin-bottom: 0.5rem;
}

.beneficio p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* Soluciones */
.soluciones {
  overflow: hidden;
}

.soluciones::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 7% 24%, rgba(148, 163, 184, 0.1) 0 20px, rgba(148, 163, 184, 0.16) 21px 22px, transparent 23px),
    radial-gradient(circle at 13% 48%, rgba(148, 163, 184, 0.08) 0 34px, rgba(148, 163, 184, 0.14) 35px 36px, transparent 37px),
    radial-gradient(circle at 4% 72%, rgba(148, 163, 184, 0.07) 0 14px, rgba(148, 163, 184, 0.13) 15px 16px, transparent 17px),
    radial-gradient(circle at 93% 22%, rgba(148, 163, 184, 0.1) 0 20px, rgba(148, 163, 184, 0.16) 21px 22px, transparent 23px),
    radial-gradient(circle at 87% 46%, rgba(148, 163, 184, 0.08) 0 34px, rgba(148, 163, 184, 0.14) 35px 36px, transparent 37px),
    radial-gradient(circle at 96% 70%, rgba(148, 163, 184, 0.07) 0 14px, rgba(148, 163, 184, 0.13) 15px 16px, transparent 17px);
  opacity: 0.75;
}

.soluciones .container {
  position: relative;
  z-index: 1;
}

.soluciones-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.soluciones-card {
  padding: 2rem;
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-bg) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 31, 63, 0.08);
  box-shadow: 0 4px 16px rgba(0, 31, 63, 0.06);
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.soluciones-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent-warm));
  opacity: 0.6;
}

.soluciones-card:hover {
  box-shadow: var(--shadow-glow);
  border-color: rgba(0, 31, 63, 0.12);
  transform: translateY(-2px);
}

.soluciones-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.soluciones-card-desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-top: 1.25rem;
  margin-bottom: 0;
  line-height: 1.5;
}

.soluciones-content .section-title {
  margin-bottom: 1rem;
}

.soluciones-content p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.soluciones-list {
  list-style: none;
}

.soluciones-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  color: var(--color-text);
  transition: color 0.25s ease;
  display: flex;
  align-items: center;
}

.soluciones-list li:hover {
  color: var(--color-primary);
}

.list-bullet {
  position: absolute;
  left: 0;
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 31, 63, 0.2);
  flex-shrink: 0;
}

.list-bullet::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--color-white);
  border-radius: 50%;
}

.soluciones-list li::before {
  display: none;
}

.integration-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.integration-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.integration-logo:hover {
  transform: scale(1.1);
}

.integration-logo-appsheet {
  height: 26px;
}

.integration-badges .badge {
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(0, 31, 63, 0.04) 0%, rgba(0, 31, 63, 0.08) 100%);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  border: 1px solid rgba(0, 31, 63, 0.12);
  transition: all 0.25s ease;
}

.integration-badges .badge:hover {
  background: rgba(0, 31, 63, 0.1);
  border-color: rgba(0, 31, 63, 0.25);
  transform: translateY(-1px);
}

/* Automatización */
.automatizacion {
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-bg) 100%);
  overflow: hidden;
}

.automatizacion::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 22%, rgba(148, 163, 184, 0.12) 0 24px, rgba(148, 163, 184, 0.18) 25px 26px, transparent 27px),
    radial-gradient(circle at 14% 40%, rgba(148, 163, 184, 0.1) 0 42px, rgba(148, 163, 184, 0.16) 43px 44px, transparent 45px),
    radial-gradient(circle at 5% 62%, rgba(148, 163, 184, 0.08) 0 18px, rgba(148, 163, 184, 0.15) 19px 20px, transparent 21px),
    radial-gradient(circle at 92% 20%, rgba(148, 163, 184, 0.12) 0 24px, rgba(148, 163, 184, 0.18) 25px 26px, transparent 27px),
    radial-gradient(circle at 86% 42%, rgba(148, 163, 184, 0.1) 0 42px, rgba(148, 163, 184, 0.16) 43px 44px, transparent 45px),
    radial-gradient(circle at 95% 64%, rgba(148, 163, 184, 0.08) 0 18px, rgba(148, 163, 184, 0.15) 19px 20px, transparent 21px);
  opacity: 0.8;
}

.automatizacion .container {
  position: relative;
  z-index: 1;
}

.automatizacion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.automatizacion-card {
  padding: 1.75rem;
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-bg) 100%);
  border-radius: var(--radius-lg);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  border: 1px solid rgba(0, 31, 63, 0.08);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 31, 63, 0.04);
}

.automatizacion-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--color-accent-warm) 0%, var(--color-primary) 100%);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  transition: height 0.35s ease;
}

.automatizacion-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow), 0 12px 40px -12px rgba(0, 31, 63, 0.15);
  border-color: rgba(0, 31, 63, 0.12);
}

.automatizacion-card:hover::before {
  height: 100%;
}

.automatizacion-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(201, 162, 39, 0.1);
  border-radius: var(--radius);
  transition: background 0.3s ease, transform 0.3s ease;
  color: var(--color-accent-warm);
}

.automatizacion-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-accent-warm);
}

.automatizacion-card:hover .automatizacion-icon {
  background: rgba(201, 162, 39, 0.15);
  transform: scale(1.08);
}

.automatizacion-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-bg-dark);
  margin-bottom: 0.5rem;
}

.automatizacion-card p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.automatizacion-destacado {
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.08) 0%, rgba(0, 61, 122, 0.08) 100%);
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  color: var(--color-text);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.automatizacion-destacado strong {
  color: var(--color-primary);
  font-weight: 700;
}

/* CTA */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 50%, #002244 100%);
  color: var(--color-white);
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(201, 162, 39, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 40%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cta-desc {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.cta-section .btn-primary {
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.cta-section .btn-primary:hover {
  background: var(--color-bg);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.cta-section .btn-primary:active {
  transform: translateY(0);
}

/* Contacto */
.contacto-wrap {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 2rem;
  align-items: start;
  margin: 0 auto;
}

.contacto-google {
  position: relative;
}

.contacto-google-card {
  position: relative;
  overflow: hidden;
  padding: 3rem 3rem 2.5rem;
  background: linear-gradient(145deg, var(--color-white) 0%, #f1f5f9 48%, rgba(201, 162, 39, 0.06) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 31, 63, 0.1);
  box-shadow: 0 12px 40px -12px rgba(0, 31, 63, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  transition: box-shadow 0.35s var(--transition-smooth), transform 0.35s var(--transition-smooth), border-color 0.3s ease;
}

.contacto-google-card:hover {
  box-shadow: 0 20px 48px -16px rgba(0, 31, 63, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.7) inset;
  border-color: rgba(0, 31, 63, 0.14);
  transform: translateY(-2px);
}

.contacto-google-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 140px;
  background: conic-gradient(from 210deg at 50% 50%, rgba(66, 133, 244, 0.12), rgba(52, 168, 83, 0.1), rgba(251, 188, 5, 0.12), rgba(234, 67, 53, 0.08), rgba(66, 133, 244, 0.12));
  border-radius: 0 0 0 100%;
  pointer-events: none;
}

.contacto-google-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  position: relative;
}

.contacto-google-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  color: var(--color-primary);
  background: linear-gradient(135deg, rgba(0, 31, 63, 0.08) 0%, rgba(201, 162, 39, 0.15) 100%);
  border-radius: var(--radius);
  border: 1px solid rgba(0, 31, 63, 0.08);
}

.contacto-google-icon svg {
  width: 26px;
  height: 26px;
}

.contacto-google-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent-warm);
  margin: 0 0 0.25rem;
}

.contacto-google-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--color-bg-dark);
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.contacto-google-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0 0 1.25rem;
  position: relative;
  max-width: 42ch;
}

.contacto-google-perks {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contacto-google-perks li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text);
  line-height: 1.45;
}

.contacto-google-check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.1rem;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--color-primary);
  background: rgba(0, 31, 63, 0.06);
  border-radius: var(--radius-sm);
}

.contacto-google-actions {
  margin-top: 0.25rem;
}

.contacto-google-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.contacto-google-btn-icon {
  display: flex;
  opacity: 0.95;
}

.contacto-google-footnote {
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  max-width: 40ch;
}

.contacto-lateral {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contacto-info,
.contacto-plataforma,
.contacto-ventajas {
  padding: 2rem 2rem;
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-bg) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 31, 63, 0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.contacto-info:hover,
.contacto-plataforma:hover,
.contacto-ventajas:hover {
  box-shadow: var(--shadow-glow);
  border-color: rgba(0, 31, 63, 0.12);
}

.contacto-info h4,
.contacto-plataforma h4,
.contacto-ventajas h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.contacto-info p {
  margin-bottom: 0.5rem;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

.contacto-info p:first-of-type {
  color: var(--color-text);
}

.contacto-logos {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.contacto-logos img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.contacto-plataforma p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0;
}

.contacto-ventajas ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contacto-ventajas li {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
  padding-left: 0;
  padding: 0.25rem 0;
  border-bottom: 1px solid rgba(0, 31, 63, 0.05);
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.contacto-ventajas li:hover {
  color: var(--color-primary);
  padding-left: 0.25rem;
}

.contacto-ventajas li:last-child {
  margin-bottom: 0;
  border-bottom: none;
}

/* Footer */
.footer {
  position: relative;
  padding: 3rem 0;
  background: linear-gradient(180deg, var(--color-primary-dark) 0%, #000d1a 100%);
  color: var(--color-white);
  border-top: 1px solid rgba(201, 162, 39, 0.2);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-accent-warm), transparent);
  opacity: 0.4;
}

.footer-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-content .logo-footer {
  margin-bottom: 0.5rem;
}

.footer-copy {
  font-size: 0.9375rem;
  opacity: 0.9;
  margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-visual {
    display: none;
  }

  .hero-decor-left {
    width: 60%;
  }

  .hero-shape-1 {
    width: 200px;
    height: 200px;
  }

  .hero-shape-2 {
    width: 120px;
    height: 120px;
  }

  .hero-shape-3,
  .hero-shape-4 {
    display: none;
  }

  .soluciones-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero-decor-left {
    opacity: 0.6;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-primary-dark);
    flex-direction: column;
    padding: 5rem 2rem;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.3);
    transition: right var(--transition);
  }

  .nav-links.open {
    right: 0;
  }

  .hero {
    padding: 7.5rem 0 4rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .contacto-wrap {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.5rem 0;
  }
}

/* Demo interactiva AppSheet */
.hero-visual {
  width: min(500px, 40vw);
}

.app-preview-frame {
  position: relative;
  overflow: hidden;
}

.app-preview-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 21, 40, 0.08), rgba(0, 21, 40, 0.4));
}

.app-preview-overlay {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  color: var(--color-white);
}

.app-preview-overlay p {
  font-size: 0.86rem;
  max-width: 28ch;
}

.overlay-badge {
  display: inline-flex;
  margin-bottom: 0.4rem;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.interactive-app {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  background: linear-gradient(180deg, #fcfdff 0%, #eef4fb 100%);
}

.hero-visual-bubbles {
  position: absolute;
  right: -52px;
  bottom: -168px;
  width: 290px;
  height: 300px;
  pointer-events: none;
}

.hero-visual-bubble {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: rgba(0, 61, 122, 0.12);
  border: 2px solid rgba(0, 61, 122, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.hero-visual-bubble.bubble-lg {
  width: 118px;
  height: 118px;
  right: 20px;
  bottom: 8px;
}

.hero-visual-bubble.bubble-md {
  width: 72px;
  height: 72px;
  right: 102px;
  bottom: 52px;
}

.hero-visual-bubble.bubble-sm {
  width: 52px;
  height: 52px;
  right: 0;
  bottom: 64px;
}

.hero-visual-bubble.bubble-4 {
  width: 92px;
  height: 92px;
  right: 126px;
  bottom: 6px;
}

.hero-visual-bubble.bubble-5 {
  width: 44px;
  height: 44px;
  right: 214px;
  bottom: 54px;
}

.hero-visual-bubble.bubble-6 {
  width: 66px;
  height: 66px;
  right: 168px;
  bottom: 112px;
}

.hero-visual-bubble.bubble-7 {
  width: 38px;
  height: 38px;
  right: 92px;
  bottom: 132px;
}

.hero-visual-bubble.bubble-8 {
  width: 58px;
  height: 58px;
  right: 26px;
  bottom: 144px;
}

.hero-visual-bubble.bubble-9 {
  width: 84px;
  height: 84px;
  right: 182px;
  bottom: 176px;
}

.hero-visual-bubble.bubble-10 {
  width: 34px;
  height: 34px;
  right: 118px;
  bottom: 212px;
}

.hero-visual-bubble.bubble-11 {
  width: 72px;
  height: 72px;
  right: 42px;
  bottom: 214px;
}

.hero-visual-bubble.bubble-12 {
  width: 48px;
  height: 48px;
  right: 222px;
  bottom: 242px;
}

.hero-visual-bubble.bubble-13 {
  width: 28px;
  height: 28px;
  right: 178px;
  bottom: 272px;
}

.hero-visual-bubble.bubble-14 {
  width: 40px;
  height: 40px;
  right: 86px;
  bottom: 276px;
}

.hero-visual-bubble.bubble-15 {
  width: 22px;
  height: 22px;
  right: 18px;
  bottom: 250px;
}

.interactive-app-topbar,
.line-dashboard-head,
.module-content-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.interactive-app-kicker,
.module-summary-label,
.module-content-label,
.line-dashboard-label,
.module-sidebar-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
}

.interactive-app-status,
.module-content-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-full);
  background: rgba(201, 162, 39, 0.16);
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 700;
}

.module-selector,
.chart-controls {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.module-selector {
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.module-chip,
.chart-control {
  border: 1px solid rgba(0, 31, 63, 0.1);
  background: var(--color-white);
  color: var(--color-text);
  padding: 0.58rem 0.78rem;
  border-radius: 14px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.module-chip:hover,
.chart-control:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 31, 63, 0.22);
  box-shadow: var(--shadow-sm);
}

.module-chip.active,
.chart-control.active {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: var(--color-white);
  border-color: transparent;
  box-shadow: 0 10px 20px -12px rgba(0, 31, 63, 0.9);
}

.interactive-panel {
  background: var(--color-white);
  border: 1px solid rgba(0, 31, 63, 0.08);
  border-radius: 24px;
  padding: 1rem;
  box-shadow: 0 10px 30px -20px rgba(0, 31, 63, 0.45);
}

.module-summary {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 1rem;
}

.module-summary-text,
.app-showcase-text {
  color: var(--color-text-muted);
}

.dashboard-scene,
.module-scene {
  display: none;
}

.dashboard-scene.active,
.module-scene.active {
  display: block;
  animation: fadeIn 0.25s ease;
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.dashboard-metric,
.module-mini-card,
.module-highlight,
.line-dashboard-card,
.module-content-card,
.module-sidebar {
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(0, 31, 63, 0.08);
}

.dashboard-metric,
.line-dashboard-card,
.module-content-card,
.module-sidebar,
.module-mini-card,
.module-highlight {
  padding: 0.72rem;
}

.dashboard-metric-label,
.module-mini-card-label {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.dashboard-metric-value,
.module-mini-card-value {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-bg-dark);
}

.dashboard-metric-trend,
.module-mini-card-copy {
  display: inline-flex;
  margin-top: 0.35rem;
  font-size: 0.8rem;
}

.dashboard-metric-trend {
  color: #157347;
}

.module-mini-card-copy {
  color: var(--color-text-muted);
}
.line-chart-wrap {
  position: relative;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
  border-radius: 16px;
  padding: 0.4rem;
  border: 1px solid rgba(0, 31, 63, 0.06);
}

.line-chart {
  width: 100%;
  height: auto;
  display: block;
}

.chart-grid-line {
  stroke: rgba(0, 31, 63, 0.08);
  stroke-width: 1;
}

.chart-axis-label {
  fill: var(--color-text-muted);
  font-size: 10px;
  font-family: var(--font-sans);
}

.chart-line {
  fill: none;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-area {
  opacity: 0.18;
}

.chart-point {
  cursor: pointer;
  transition: r 0.2s ease, opacity 0.2s ease;
}

.chart-point:hover,
.chart-point.active {
  r: 6;
  opacity: 1;
}

.chart-tooltip {
  position: absolute;
  min-width: 130px;
  padding: 0.58rem 0.7rem;
  border-radius: 14px;
  background: rgba(0, 21, 40, 0.96);
  color: var(--color-white);
  font-size: 0.8rem;
  pointer-events: none;
  box-shadow: 0 12px 25px -10px rgba(0, 0, 0, 0.5);
  transform: translate(-50%, calc(-100% - 12px));
}

.module-layout {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 0.7rem;
}

.module-menu {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.module-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.58rem 0.7rem;
  border-radius: 14px;
  background: rgba(0, 31, 63, 0.04);
  color: var(--color-text);
  font-size: 0.78rem;
  font-weight: 600;
}

.module-menu-item.active {
  background: linear-gradient(135deg, rgba(0, 31, 63, 0.95), rgba(0, 61, 122, 0.95));
  color: var(--color-white);
}

.module-highlight {
  margin-bottom: 0.8rem;
  background: linear-gradient(135deg, rgba(0, 31, 63, 0.96), rgba(0, 61, 122, 0.92));
  color: var(--color-white);
}

.module-highlight-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

.module-highlight-value {
  display: block;
  margin-top: 0.3rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.module-highlight-copy {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

.module-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}
@media (max-width: 1200px) {
  .hero {
    min-height: auto;
    padding-bottom: 5rem;
  }

  .hero-visual {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: 100%;
    max-width: 680px;
    margin: 3rem auto 0;
  }

  .hero-content {
    max-width: 100%;
  }
}

@media (max-width: 1024px) {
  .soluciones-wrap,
  .contacto-wrap,
  .module-layout {
    grid-template-columns: 1fr;
  }

  .module-sidebar {
    order: 2;
  }
}

@media (max-width: 768px) {
  .hero-cta,
  .chart-controls {
    flex-direction: column;
  }

  .dashboard-metrics,
  .module-mini-grid {
    grid-template-columns: 1fr;
  }

  .interactive-app,
  .interactive-panel,
  .line-dashboard-card,
  .module-content-card,
  .module-sidebar {
    padding: 0.85rem;
  }
}

@media (max-width: 600px) {
  .line-dashboard-head,
  .interactive-app-topbar,
  .module-content-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

.interactive-app-topbar h3,
.module-content-head h4,
.line-dashboard-head h4 {
  font-size: 0.95rem;
}

.module-summary-text,
.app-showcase-text,
.app-preview-overlay p {
  font-size: 0.8rem;
}

.hero-visual .app-showcase {
  max-width: 500px;
  margin-left: auto;
}

.line-chart {
  max-height: 180px;
}

/* Ultra compact hero demo */
@media (min-width: 1025px) {
  .hero-visual {
    right: 2%;
    top: 51%;
    width: 420px;
    transform: translateY(-50%);
    transform-origin: top right;
  }

  .hero-visual .app-showcase {
    max-width: 420px;
  }

  .hero-visual .app-preview-frame {
    height: 105px;
  }

  .hero-visual .app-screenshot {
    height: 100%;
    object-fit: cover;
    object-position: top center;
  }

  .hero-visual .interactive-app {
    gap: 0.45rem;
    padding: 0.55rem;
  }

  .hero-visual .interactive-panel {
    padding: 0.55rem;
    border-radius: 18px;
  }

  .hero-visual .module-selector,
  .hero-visual .chart-controls {
    gap: 0.35rem;
  }

  .hero-visual .dashboard-metrics {
    gap: 0.35rem;
    margin-bottom: 0.4rem;
  }

  .hero-visual .dashboard-metric,
  .hero-visual .line-dashboard-card,
  .hero-visual .module-content-card,
  .hero-visual .module-sidebar,
  .hero-visual .module-mini-card,
  .hero-visual .module-highlight {
    padding: 0.48rem;
  }

  .hero-visual .module-layout {
    grid-template-columns: 132px 1fr;
    gap: 0.45rem;
  }

  .hero-visual .module-menu-item {
    padding: 0.42rem 0.56rem;
    font-size: 0.72rem;
  }

  .hero-visual .module-mini-grid {
    gap: 0.4rem;
  }

  .hero-visual .line-chart {
    max-height: 108px;
  }

  .hero-visual .module-summary {
    margin-bottom: 0.45rem;
  }

  .hero-visual .app-showcase-text {
    display: none;
  }

  .hero-visual .module-summary-text,
  .hero-visual .app-preview-overlay p,
  .hero-visual .module-mini-card-copy,
  .hero-visual .dashboard-metric-trend {
    font-size: 0.72rem;
  }

  .hero-visual .interactive-app-topbar h3,
  .hero-visual .module-content-head h4,
  .hero-visual .line-dashboard-head h4 {
    font-size: 0.88rem;
  }

  .hero-visual .module-chip,
  .hero-visual .chart-control {
    padding: 0.44rem 0.62rem;
    font-size: 0.72rem;
  }

  .hero-visual .module-mini-card-value,
  .hero-visual .dashboard-metric-value,
  .hero-visual .module-highlight-value {
    font-size: 1.02rem;
  }
}


/* Compact demo overrides */
.hero-visual {
  width: min(420px, 34vw);
}

.hero-visual .app-showcase {
  max-width: 420px;
  margin-left: auto;
}

.app-preview-overlay {
  display: none;
}

.hero-visual .hero-visual-bubbles {
  right: -48px;
  bottom: -188px;
  width: 290px;
  height: 300px;
}

.interactive-app {
  padding: 0.8rem;
}

.interactive-panel {
  padding: 0.8rem;
}

.dashboard-metrics {
  gap: 0.55rem;
  margin-bottom: 0.7rem;
}

.dashboard-metric,
.line-dashboard-card,
.module-content-card,
.module-sidebar,
.module-mini-card,
.module-highlight {
  padding: 0.72rem;
  border-radius: 16px;
}

.module-layout {
  grid-template-columns: 150px 1fr;
  gap: 0.7rem;
}

.module-menu-item {
  padding: 0.58rem 0.7rem;
  font-size: 0.78rem;
}

.module-mini-grid {
  gap: 0.65rem;
}

.interactive-app-topbar h3,
.module-content-head h4,
.line-dashboard-head h4 {
  font-size: 0.95rem;
}

.module-summary-text,
.app-showcase-text,
.app-preview-overlay p {
  font-size: 0.8rem;
}

.line-chart {
  max-height: 180px;
}

