/* =============================================
   INFORMATICA SHIVAX — Estilos principales
   ============================================= */

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

:root {
  --primary-50:  #eef2ff;
  --primary-100: #e0e7ff;
  --primary-200: #c7d2fe;
  --primary-300: #a5b4fc;
  --primary-400: #818cf8;
  --primary-500: #6366f1;
  --primary-600: #4f46e5;
  --primary-700: #4338ca;
  --primary-800: #3730a3;
  --primary-900: #312e81;
  --primary-950: #1e1b4b;
  --navy-800: #1e2a4a;
  --navy-900: #0f172a;
  --navy-950: #0a1128;
  --cyan-400: #22d3ee;
  --cyan-500: #06b6d4;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: #fff;
  color: #0f172a;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

::selection { background: var(--primary-500); color: #fff; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: var(--primary-400); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-600); }

/* --- UTILITIES --- */
.glass {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
}
.gradient-text {
  background: linear-gradient(135deg, #6366f1, #06b6d4, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.7); }
  50%       { box-shadow: 0 0 0 12px rgba(34,197,94,0); }
}
.pulse-green { animation: pulse-green 2s infinite; }

@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}
@keyframes bounce-y {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

/* =============================================
   NAVBAR
   ============================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: all 0.5s;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  border-bottom: 1px solid #f1f5f9;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; padding: 0 2rem;
  max-width: 1280px; margin: 0 auto;
}
@media (min-width: 640px) { .nav-inner { height: 80px; } }

.nav-logo img {
  height: 40px; width: auto;
  transition: filter 0.3s;
}
/* Solo el logo SVG del tema (monocromo) se invierte: blanco sobre el hero,
   oscuro al hacer scroll. */
.nav-logo .shivax-logo-fallback { filter: brightness(0) invert(1); }
.site-header.scrolled .nav-logo .shivax-logo-fallback { filter: brightness(0); }
/* El logo subido por el usuario (Personalizar → Identidad del sitio) es claro:
   sobre el hero oscuro va tal cual (con sombra); al hacer scroll el header se
   vuelve blanco, así que oscurecemos el logo para que no desaparezca. */
.nav-logo img.custom-logo { filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3)); }
.site-header.scrolled .nav-logo img.custom-logo { filter: brightness(0); }
@media (min-width: 640px) { .nav-logo img { height: 48px; } }

.nav-links {
  display: none; list-style: none; gap: 0.25rem;
  align-items: center;
}
@media (min-width: 768px) { .nav-links { display: flex; } }

.nav-links a {
  padding: 0.5rem 1rem; border-radius: 8px;
  font-size: 0.875rem; font-weight: 500;
  color: rgba(255,255,255,0.9);
  transition: all 0.3s;
}
.nav-links a:hover { background: rgba(255,255,255,0.1); color: #fff; }
.site-header.scrolled .nav-links a { color: #374151; }
.site-header.scrolled .nav-links a:hover { background: var(--primary-50); color: var(--primary-600); }

.nav-cta {
  display: none;
  align-items: center; gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: linear-gradient(to right, #22c55e, #16a34a);
  color: #fff; font-size: 0.875rem; font-weight: 600;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(34,197,94,0.25);
  transition: all 0.3s;
}
.nav-cta:hover {
  background: linear-gradient(to right, #16a34a, #15803d);
  box-shadow: 0 4px 20px rgba(34,197,94,0.4);
  transform: translateY(-1px);
}
@media (min-width: 768px) { .nav-cta { display: flex; } }

.nav-cta svg { width: 16px; height: 16px; }

/* Mobile hamburger */
.nav-hamburger {
  display: flex; 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 0.3s;
}
.site-header.scrolled .nav-hamburger span { background: var(--navy-900); }
@media (min-width: 768px) { .nav-hamburger { display: none; } }

/* Mobile menu */
.mobile-menu {
  display: none; flex-direction: column;
  position: fixed; inset: 0; z-index: 49;
  background: #fff;
  padding: 6rem 2rem 2rem;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 0.75rem 1rem; border-radius: 12px;
  font-size: 1rem; font-weight: 500; color: #374151;
  transition: all 0.2s;
}
.mobile-menu a:hover { background: var(--primary-50); color: var(--primary-600); }
.mobile-menu .mobile-wa-btn {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  margin-top: 1rem; padding: 0.875rem;
  background: linear-gradient(to right, #22c55e, #16a34a);
  color: #fff; font-weight: 600; border-radius: 12px;
}
.mobile-menu .mobile-wa-btn svg { width: 20px; height: 20px; }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  padding: 8rem 1.5rem 2rem;
}
.hero-bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,17,40,0.95) 0%, rgba(15,23,42,0.9) 50%, rgba(30,27,75,0.85) 100%);
}
.hero-decor-1 {
  position: absolute; top: 5rem; right: 2.5rem;
  width: 24rem; height: 24rem;
  background: rgba(99,102,241,0.1);
  border-radius: 50%; filter: blur(48px); pointer-events: none;
}
.hero-decor-2 {
  position: absolute; bottom: 5rem; left: 2.5rem;
  width: 20rem; height: 20rem;
  background: rgba(6,182,212,0.1);
  border-radius: 50%; filter: blur(48px); pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 10;
  max-width: 1280px; margin: 0 auto; width: 100%;
  padding: 2rem 0;
}
@media (min-width: 640px) { .hero-inner { padding: 2.5rem 0; } }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  color: rgba(255,255,255,0.8); font-size: 0.875rem; font-weight: 500;
  margin-bottom: 2rem;
}
.hero-badge .stars { display: flex; gap: 2px; }
.hero-badge .stars svg { width: 16px; height: 16px; fill: #facc15; color: #facc15; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.75rem);
  font-weight: 700; line-height: 1.05;
  letter-spacing: -0.025em; color: #fff;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.7); line-height: 1.75;
  max-width: 42rem; margin-bottom: 2.5rem;
}
.hero-sub strong { color: #fff; font-weight: 500; }

.hero-props {
  display: flex; flex-wrap: wrap; gap: 1rem;
  margin-bottom: 2.5rem;
}
.hero-prop {
  display: flex; align-items: center; gap: 0.5rem;
  color: rgba(255,255,255,0.8); font-size: 0.875rem; font-weight: 500;
}
.hero-prop svg { width: 16px; height: 16px; color: var(--cyan-400); }

.hero-ctas { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .hero-ctas { flex-direction: row; } }

.btn-wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(to right, #22c55e, #16a34a);
  color: #fff; font-weight: 700; font-size: 1.125rem;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(34,197,94,0.3);
  transition: all 0.3s;
}
.btn-wa:hover {
  background: linear-gradient(to right, #16a34a, #15803d);
  box-shadow: 0 20px 50px rgba(34,197,94,0.5);
  transform: translateY(-2px);
}
.btn-wa svg { width: 28px; height: 28px; }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 1rem 2rem;
  border: 2px solid rgba(255,255,255,0.2);
  color: #fff; font-weight: 600; font-size: 1.125rem;
  border-radius: 16px;
  transition: all 0.3s;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.1); }
.btn-outline svg { width: 20px; height: 20px; }

.hero-online {
  display: flex; align-items: center; gap: 0.5rem;
  margin-top: 2rem;
}
.online-dot { position: relative; display: flex; }
.online-dot::before {
  content: ''; position: absolute;
  width: 12px; height: 12px; border-radius: 50%;
  background: #4ade80; opacity: 0.75;
  animation: ping 1.5s cubic-bezier(0,0,.2,1) infinite;
}
.online-dot-inner {
  width: 12px; height: 12px; border-radius: 50%;
  background: #22c55e; display: block;
}
.hero-online span { color: #4ade80; font-size: 0.875rem; font-weight: 500; }

.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
}
.hero-scroll svg {
  width: 20px; height: 20px; color: rgba(255,255,255,0.4);
  animation: bounce-y 2s infinite;
}

/* --- Entrada escalonada del hero (equivale a los initial/animate de framer-motion) --- */
@keyframes shivax-hero-in {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
.hero-badge,
.hero-title,
.hero-sub,
.hero-props,
.hero-ctas,
.hero-online,
.hero-scroll {
  opacity: 0;
  animation: shivax-hero-in 0.7s ease forwards;
}
.hero-badge  { animation-delay: 0.2s; }
.hero-title  { animation-delay: 0.3s; }
.hero-sub    { animation-delay: 0.45s; }
.hero-props  { animation-delay: 0.6s; }
.hero-ctas   { animation-delay: 0.7s; }
.hero-online { animation-delay: 1.2s; animation-duration: 0.6s; }
.hero-scroll { animation-delay: 1.5s; animation-duration: 0.6s; }

/* Respeta la preferencia de movimiento reducido del usuario. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .hero-badge, .hero-title, .hero-sub, .hero-props,
  .hero-ctas, .hero-online, .hero-scroll { opacity: 1; }
}

/* =============================================
   TRUST BAR
   ============================================= */
.trust-bar { position: relative; z-index: 20; }
.trust-bar-inner {
  max-width: 72rem; margin: -4rem auto 0;
  padding: 0 1.5rem;
}
.trust-card {
  background: #fff; border-radius: 16px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.08);
  border: 1px solid #f1f5f9;
  padding: 1.5rem 2rem;
}
.trust-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem;
}
@media (min-width: 768px) { .trust-grid { grid-template-columns: repeat(4,1fr); } }

.trust-item { text-align: center; }
.trust-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--primary-50); margin: 0 auto 0.75rem;
  transition: transform 0.3s;
}
.trust-item:hover .trust-icon { transform: scale(1.1); }
.trust-icon svg { width: 24px; height: 24px; color: var(--primary-600); }
.trust-num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700; color: var(--navy-900);
}
.trust-label { font-size: 0.875rem; color: #6b7280; margin-top: 0.25rem; font-weight: 500; }

/* =============================================
   PROBLEM SECTION
   ============================================= */
.problem-section { padding: 7rem 1.5rem; background: linear-gradient(to bottom, #f9fafb, #fff); }
.problem-grid {
  display: grid; gap: 3rem; align-items: center;
  max-width: 1280px; margin: 0 auto;
}
@media (min-width: 1024px) { .problem-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }

.problem-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.375rem 1rem; border-radius: 999px;
  background: #fef2f2; color: #dc2626;
  font-size: 0.875rem; font-weight: 600; margin-bottom: 1.5rem;
}
.problem-eyebrow svg { width: 16px; height: 16px; }
.problem-title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  font-weight: 700; color: var(--navy-900);
  line-height: 1.2; margin-bottom: 1rem;
}
.problem-title span { color: #ef4444; }
.problem-desc { color: #4b5563; font-size: 1.125rem; line-height: 1.75; margin-bottom: 2rem; }

.problem-list { display: flex; flex-direction: column; gap: 1rem; }
.problem-item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 1rem; border-radius: 12px;
  background: #fff; border: 1px solid #fee2e2;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: all 0.3s;
}
.problem-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); border-color: #fca5a5; }
.problem-x {
  width: 24px; height: 24px; border-radius: 50%;
  background: #fee2e2; color: #ef4444;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; flex-shrink: 0; margin-top: 2px;
}
.problem-item p { color: #374151; font-weight: 500; }

/* Solution card */
.solution-card {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
  border-radius: 24px; padding: 2.5rem; color: #fff;
  position: relative; overflow: hidden;
}
.solution-card::before {
  content: ''; position: absolute;
  top: 0; right: 0; width: 16rem; height: 16rem;
  background: rgba(255,255,255,0.05);
  border-radius: 50%; transform: translate(50%,-50%);
}
.solution-card::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; width: 12rem; height: 12rem;
  background: rgba(255,255,255,0.05);
  border-radius: 50%; transform: translate(-50%,50%);
}
.solution-inner { position: relative; z-index: 1; }
.solution-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.375rem 1rem; border-radius: 999px;
  background: rgba(255,255,255,0.15);
  font-size: 0.875rem; font-weight: 600; margin-bottom: 1.5rem;
}
.solution-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700; line-height: 1.2; margin-bottom: 1rem;
}
.solution-card p { color: rgba(255,255,255,0.8); font-size: 1.125rem; line-height: 1.75; margin-bottom: 2rem; }
.solution-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.solution-list li {
  display: flex; align-items: center; gap: 0.75rem; font-weight: 500;
}
.solution-list li::before {
  content: '✓'; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(74,222,128,0.2); color: #86efac;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem; flex-shrink: 0;
}
.solution-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #fff; color: var(--primary-700);
  font-weight: 700; border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all 0.3s;
}
.solution-btn:hover { background: #f9fafb; transform: translateY(-2px); }
.solution-btn svg { width: 16px; height: 16px; }

/* =============================================
   SERVICES
   ============================================= */
.services-section { padding: 7rem 1.5rem; background: #fff; }
.section-header { text-align: center; max-width: 48rem; margin: 0 auto 4rem; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.375rem 1rem; border-radius: 999px;
  background: var(--primary-50); color: var(--primary-600);
  font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 700; color: var(--navy-900);
  line-height: 1.1; margin-bottom: 1rem;
}
.section-sub { color: #4b5563; font-size: 1.125rem; line-height: 1.75; }

.services-grid {
  display: grid; gap: 1.5rem;
  max-width: 1280px; margin: 0 auto;
}
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3,1fr); } }

.service-card {
  background: #fff; border-radius: 16px;
  border: 1px solid #f1f5f9; padding: 2rem 2.5rem;
  position: relative; overflow: hidden;
  transition: all 0.5s;
}
.service-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}
.service-card.popular {
  box-shadow: 0 4px 20px rgba(99,102,241,0.15);
  ring: 2px solid var(--primary-500);
  border: 2px solid var(--primary-500);
}
.service-popular-badge {
  position: absolute; top: -1px; left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 1rem;
  background: linear-gradient(to right, var(--primary-500), var(--primary-600));
  color: #fff; font-size: 0.75rem; font-weight: 700;
  border-radius: 0 0 8px 8px;
}
.service-icon-wrap {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transition: transform 0.3s;
}
.service-card:hover .service-icon-wrap { transform: scale(1.1); }
.service-icon-wrap svg { width: 28px; height: 28px; color: #fff; }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 700; color: var(--navy-900); margin-bottom: 0.5rem;
}
.service-card > p { color: #4b5563; font-size: 0.875rem; line-height: 1.65; margin-bottom: 1rem; }
.service-benefits { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; }
.service-benefits li {
  display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem;
}
.benefit-check {
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; flex-shrink: 0;
}
.service-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1rem; border-top: 1px solid #f1f5f9;
}
.service-price {
  font-family: var(--font-display);
  font-size: 1.125rem; font-weight: 700; color: var(--navy-900);
}
.service-cta-btn {
  display: inline-flex; align-items: center; gap: 0.375rem;
  padding: 0.5rem 1rem; border-radius: 12px;
  font-size: 0.875rem; font-weight: 600;
  transition: all 0.3s;
}
.service-cta-btn:hover { transform: translateY(-2px); }
.service-cta-btn svg { width: 16px; height: 16px; }
.service-cta-btn.wa-btn-small {
  background: linear-gradient(to right, #22c55e, #16a34a); color: #fff;
  box-shadow: 0 4px 12px rgba(34,197,94,0.25);
}
.service-cta-btn.default-btn { background: #f3f4f6; color: #374151; }
.service-cta-btn.default-btn:hover { background: var(--primary-600); color: #fff; }

.services-bottom { text-align: center; margin-top: 3rem; }
.services-bottom p { color: #9ca3af; margin-bottom: 1rem; }
.services-bottom a {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--primary-600); font-weight: 600; transition: all 0.2s;
}
.services-bottom a:hover { color: var(--primary-700); gap: 0.75rem; }
.services-bottom a svg { width: 16px; height: 16px; }

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-section { padding: 7rem 1.5rem; background: linear-gradient(to bottom, #f9fafb, #fff); }
.how-grid {
  display: grid; gap: 2rem;
  max-width: 1280px; margin: 0 auto;
}
@media (min-width: 768px) { .how-grid { grid-template-columns: repeat(3,1fr); } }

.how-step { text-align: center; position: relative; }
@media (min-width: 768px) {
  .how-step:not(:last-child)::after {
    content: ''; position: absolute;
    top: 2.5rem; left: 62%; right: -38%;
    height: 2px;
    background: linear-gradient(to right, #bbf7d0, var(--primary-200), #a5f3fc);
  }
}
.how-icon-wrap {
  position: relative; display: inline-flex;
  align-items: center; justify-content: center; margin-bottom: 1.5rem;
}
.how-icon-box {
  width: 80px; height: 80px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15); position: relative; z-index: 1;
}
.how-icon-box svg { width: 36px; height: 36px; color: #fff; }
.how-step-num {
  position: absolute; top: -8px; right: -8px; z-index: 2;
  width: 32px; height: 32px; border-radius: 50%;
  background: #fff; border: 1px solid #f1f5f9;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 0.875rem; font-weight: 700; color: var(--navy-900);
}
.how-step h3 {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 700; color: var(--navy-900); margin-bottom: 0.75rem;
}
.how-step p { color: #4b5563; line-height: 1.7; max-width: 20rem; margin: 0 auto; }

.how-cta { text-align: center; margin-top: 3.5rem; }
.how-cta-note { margin-top: 0.75rem; font-size: 0.875rem; color: #9ca3af; }

/* =============================================
   WHY CHOOSE US
   ============================================= */
.why-section {
  padding: 7rem 1.5rem;
  background: var(--navy-900); position: relative; overflow: hidden;
}
.why-decor-1 {
  position: absolute; top: 0; left: 0;
  width: 24rem; height: 24rem;
  background: rgba(99,102,241,0.1);
  border-radius: 50%; filter: blur(48px);
}
.why-decor-2 {
  position: absolute; bottom: 0; right: 0;
  width: 20rem; height: 20rem;
  background: rgba(6,182,212,0.1);
  border-radius: 50%; filter: blur(48px);
}
.why-section .section-title { color: #fff; }
.why-section .section-sub { color: rgba(255,255,255,0.6); }
.why-section .section-eyebrow { background: rgba(255,255,255,0.1); color: #67e8f9; }

.why-grid {
  display: grid; gap: 1.5rem;
  max-width: 1280px; margin: 0 auto; position: relative; z-index: 1;
}
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(3,1fr); } }

.why-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px; padding: 1.5rem;
  transition: all 0.5s;
}
.why-card:hover { background: rgba(255,255,255,0.12); }
.why-card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-400), var(--cyan-400));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; transition: transform 0.3s;
}
.why-card:hover .why-card-icon { transform: scale(1.1); }
.why-card-icon svg { width: 24px; height: 24px; color: #fff; }
.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem;
}
.why-card p { color: rgba(255,255,255,0.6); font-size: 0.875rem; line-height: 1.65; }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-section { padding: 7rem 1.5rem; background: linear-gradient(to bottom, #fff, #f9fafb); }

.rating-summary {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1.5rem; background: #fff;
  border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 1px solid #f1f5f9; margin-top: 1.5rem;
}
.rating-stars { display: flex; gap: 4px; }
.rating-stars svg { width: 20px; height: 20px; fill: #facc15; color: #facc15; }
.rating-num { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; color: var(--navy-900); }
.rating-sep { color: #d1d5db; }
.rating-count { font-size: 0.875rem; color: #6b7280; font-weight: 500; }

.testimonials-grid {
  display: grid; gap: 1.5rem;
  max-width: 1280px; margin: 0 auto;
}
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3,1fr); } }

.testimonial-card {
  background: #fff; border-radius: 16px;
  border: 1px solid #f1f5f9; padding: 2rem;
  position: relative; transition: all 0.5s;
}
.testimonial-card:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.t-quote {
  position: absolute; top: 1rem; right: 1.5rem;
  font-size: 3rem; color: var(--primary-100);
  font-family: Georgia, serif; line-height: 1;
}
.t-stars { display: flex; gap: 2px; margin-bottom: 1rem; }
.t-stars svg { width: 16px; height: 16px; fill: #facc15; color: #facc15; }
.t-text {
  color: #374151; line-height: 1.75;
  margin-bottom: 1.5rem; position: relative; z-index: 1;
  font-size: 0.9375rem;
}
.t-author { display: flex; align-items: center; gap: 0.75rem; }
.t-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-400), var(--primary-600));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 0.875rem;
  flex-shrink: 0; font-family: var(--font-display);
}
.t-name { font-size: 0.875rem; font-weight: 600; color: var(--navy-900); }
.t-verified {
  display: flex; align-items: center; gap: 4px;
  font-size: 0.75rem; color: #9ca3af; margin-top: 2px;
}
.t-verified svg { width: 12px; height: 12px; fill: #1877F2; }

.testimonials-pagination {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  margin-top: 2rem;
}
.pagination-btn {
  padding: 0.5rem; border-radius: 12px;
  background: #fff; border: 1px solid #e5e7eb;
  color: #374151; cursor: pointer; transition: all 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.pagination-btn:hover { background: var(--primary-50); color: var(--primary-600); }
.pagination-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.pagination-btn svg { width: 20px; height: 20px; }
.pagination-dots { display: flex; gap: 0.5rem; }
.pagination-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: #d1d5db; cursor: pointer; transition: all 0.3s; border: none;
}
.pagination-dot.active { background: var(--primary-500); transform: scale(1.25); }

.testimonials-fb-link {
  text-align: center; margin-top: 2rem;
}
.testimonials-fb-link a {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--primary-600); font-weight: 600; transition: all 0.2s;
}
.testimonials-fb-link a:hover { color: var(--primary-700); }
.testimonials-fb-link a svg { width: 16px; height: 16px; }

/* =============================================
   TECH LOGOS
   ============================================= */
.tech-section {
  padding: 6rem 1.5rem;
  background: linear-gradient(to bottom, #fff, #f9fafb);
  border-top: 1px solid #f1f5f9; border-bottom: 1px solid #f1f5f9;
}
.tech-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem;
  max-width: 1280px; margin: 0 auto;
}
@media (min-width: 640px) { .tech-grid { grid-template-columns: repeat(4,1fr); } }

.tech-card {
  position: relative; border-radius: 16px; overflow: hidden;
  background: #1a1a2e; cursor: default;
  aspect-ratio: 4/3;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.5s;
}
.tech-card:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.2); transform: translateY(-4px); }
.tech-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.8; transition: all 0.7s;
}
.tech-card:hover img { opacity: 1; transform: scale(1.1); }
.tech-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%);
  transition: all 0.5s;
}
.tech-card:hover .tech-overlay { background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.05) 100%); }
.tech-label {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 1rem;
}
.tech-name {
  font-family: var(--font-display); font-weight: 700;
  color: #fff; font-size: clamp(0.8rem, 1.5vw, 1rem); line-height: 1.2;
}
.tech-desc { color: rgba(255,255,255,0.7); font-size: 0.75rem; margin-top: 2px; }

.tech-footer {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 1rem 2rem;
  margin-top: 2.5rem; font-size: 0.875rem; color: #9ca3af; font-weight: 500;
  max-width: 1280px; margin-left: auto; margin-right: auto;
}
.tech-footer-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; }

/* =============================================
   GUARANTEE
   ============================================= */
.guarantee-section {
  padding: 7rem 1.5rem;
  background: linear-gradient(135deg, var(--primary-50), #fff, #ecfeff);
}
.guarantee-grid {
  display: grid; gap: 1.5rem;
  max-width: 1280px; margin: 0 auto;
}
@media (min-width: 640px) { .guarantee-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .guarantee-grid { grid-template-columns: repeat(4,1fr); } }

.guarantee-card {
  background: #fff; border-radius: 16px;
  border: 1px solid #f1f5f9; padding: 1.5rem;
  text-align: center; transition: all 0.5s;
}
.guarantee-card:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.08); transform: translateY(-4px); }
.guarantee-icon {
  width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 1px solid #bbf7d0;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s;
}
.guarantee-card:hover .guarantee-icon { transform: scale(1.1); }
.guarantee-icon svg { width: 32px; height: 32px; color: #16a34a; }
.guarantee-card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem; font-weight: 700; color: var(--navy-900); margin-bottom: 0.5rem;
}
.guarantee-card p { color: #4b5563; font-size: 0.875rem; line-height: 1.65; }

/* =============================================
   FAQ
   ============================================= */
.faq-section { padding: 7rem 1.5rem; background: #fff; }
.faq-list { max-width: 48rem; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }

.faq-item {
  border-radius: 16px; overflow: hidden;
  border: 1px solid #f1f5f9; transition: border-color 0.3s;
}
.faq-item.open { border-color: #e0e7ff; background: rgba(238,242,255,0.3); }

.faq-question {
  width: 100%; background: none; border: none;
  padding: 1.25rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  text-align: left; cursor: pointer;
  font-family: var(--font-body); font-size: 0.9375rem; font-weight: 500;
  color: var(--navy-900); transition: color 0.2s;
}
.faq-question:hover, .faq-item.open .faq-question { color: var(--primary-700); }
.faq-arrow {
  width: 28px; height: 28px; border-radius: 6px; flex-shrink: 0;
  background: #f3f4f6;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.faq-arrow svg { width: 16px; height: 16px; color: #9ca3af; transition: transform 0.3s; }
.faq-item.open .faq-arrow { background: #e0e7ff; }
.faq-item.open .faq-arrow svg { color: var(--primary-600); transform: rotate(180deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: #4b5563; font-size: 0.9375rem; line-height: 1.75;
}

/* =============================================
   FINAL CTA
   ============================================= */
.final-cta {
  padding: 7rem 1.5rem;
  background: var(--navy-900); position: relative; overflow: hidden; text-align: center;
}
.final-cta-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(99,102,241,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.final-cta-inner { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; }
.final-cta .section-eyebrow { background: rgba(255,255,255,0.1); color: #67e8f9; }
.final-cta .section-title { color: #fff; font-size: clamp(1.875rem, 5vw, 3rem); margin-bottom: 1.5rem; }
.final-cta .section-sub { color: rgba(255,255,255,0.6); max-width: 40rem; margin: 0 auto 2.5rem; }
.final-cta .section-sub strong { color: #fff; font-weight: 500; }

.final-cta-props {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.final-cta-props .hero-prop { color: rgba(255,255,255,0.7); }
.final-cta-props .hero-prop svg { color: var(--cyan-400); }

.final-cta-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem;
  padding: 1.25rem 2.5rem;
  background: linear-gradient(to right, #22c55e, #16a34a);
  color: #fff; font-weight: 700; font-size: 1.25rem;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(34,197,94,0.3);
  transition: all 0.3s;
}
.final-cta-btn:hover {
  background: linear-gradient(to right, #16a34a, #15803d);
  box-shadow: 0 20px 50px rgba(34,197,94,0.5);
  transform: translateY(-2px);
}
.final-cta-btn svg { width: 32px; height: 32px; }

.final-cta-note { margin-top: 1.5rem; color: rgba(255,255,255,0.4); font-size: 0.8125rem; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer { background: var(--navy-950); border-top: 1px solid rgba(255,255,255,0.05); }
.footer-main { padding: 4rem 1.5rem; max-width: 1280px; margin: 0 auto; }
.footer-grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr repeat(3,1fr); } }

.footer-brand img { height: 48px; width: auto; filter: brightness(0) invert(1); margin-bottom: 1.5rem; }
.footer-brand p { color: #6b7280; font-size: 0.875rem; line-height: 1.75; max-width: 18rem; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.social-btn {
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center;
  color: #6b7280; transition: all 0.3s;
}
.social-btn:hover { color: #fff; }
.social-btn svg { width: 20px; height: 20px; }
.social-btn.fb:hover { background: #1877F2; }
.social-btn.ig:hover { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
.social-btn.wa:hover { background: #25D366; }

.footer-col h5 {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.075em; text-transform: uppercase;
  color: #6b7280; margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col li a { font-size: 0.875rem; color: #6b7280; transition: color 0.3s; }
.footer-col li a:hover { color: #fff; }
.footer-col li.has-icon { display: flex; align-items: flex-start; gap: 0.75rem; }
.footer-col li.has-icon svg { width: 16px; height: 16px; color: var(--primary-400); flex-shrink: 0; margin-top: 2px; }
.footer-col li.has-icon .link-info { display: flex; flex-direction: column; gap: 2px; }
.footer-col li.has-icon .link-info a { font-size: 0.875rem; color: #9ca3af; }
.footer-col li.has-icon .link-info a:hover { color: #fff; }
.footer-col li.has-icon .link-sub { font-size: 0.75rem; color: #4b5563; }

.footer-bottom {
  padding: 1.5rem; border-top: 1px solid rgba(255,255,255,0.05);
  max-width: 1280px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 1rem;
  font-size: 0.8125rem; color: #6b7280;
}

/* =============================================
   WHATSAPP FLOAT
   ============================================= */
.wa-float { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 100; }
.wa-float-tooltip {
  display: none; position: absolute; bottom: 4.5rem; right: 0;
  background: #fff; border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
  padding: 1rem; max-width: 220px;
  border: 1px solid #f1f5f9;
}
.wa-float-tooltip.show { display: block; }
.wa-tooltip-close {
  position: absolute; top: 0.5rem; right: 0.5rem;
  background: none; border: none; cursor: pointer;
  color: #9ca3af; padding: 2px;
}
.wa-tooltip-close svg { width: 16px; height: 16px; }
.wa-tooltip-title { font-size: 0.875rem; font-weight: 600; color: var(--navy-900); padding-right: 1.5rem; }
.wa-tooltip-sub { font-size: 0.75rem; color: #6b7280; margin-top: 0.25rem; }
.wa-tooltip-btn {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  margin-top: 0.75rem; padding: 0.5rem;
  background: #25D366; color: #fff;
  font-size: 0.875rem; font-weight: 600; border-radius: 10px;
  transition: background 0.2s;
}
.wa-tooltip-btn:hover { background: #1da851; }
.wa-tooltip-btn svg { width: 18px; height: 18px; }

.wa-float-btn {
  width: 64px; height: 64px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 25px rgba(37,211,102,0.4);
  transition: all 0.3s;
  animation: pulse-green 2s infinite;
}
.wa-float-btn:hover { transform: scale(1.1); }
.wa-float-btn svg { width: 34px; height: 34px; fill: #fff; }

/* =============================================
   CORRECCIONES v1.1 (fixes de auditoría)
   ============================================= */

/* Skip link accesibilidad */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: .5rem 1rem;
  background: var(--primary-600);
  color: #fff;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* Mobile menu — usar hidden attribute + clase .open */
.mobile-menu[hidden] { display: none !important; }
.mobile-menu { display: none; }
.mobile-menu.open { display: flex; }

/* Fix: pulse-green como animación de glow en WA float (no transform) */
@keyframes wa-glow {
  0%,100% { box-shadow: 0 8px 25px rgba(37,211,102,.4); }
  50%      { box-shadow: 0 8px 35px rgba(37,211,102,.7); }
}
.wa-float-btn { animation: wa-glow 2.5s ease-in-out infinite; }

/* Online dot — reemplaza pulse-green en hero */
@keyframes ping-dot {
  75%,100% { transform: scale(2); opacity: 0; }
}
.online-dot { position: relative; display: inline-flex; }
.online-dot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #22c55e;
  animation: ping-dot 1.5s cubic-bezier(0,0,.2,1) infinite;
}
.online-dot-inner {
  position: relative;
  z-index: 1;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #22c55e;
  display: block;
}

/* Hero badge stars — garantizar fill visible */
.hero-stars svg { display: inline-block; vertical-align: middle; }

/* Responsive: hero max-width */
.hero-max { max-width: 680px; }

/* Site main — evitar flash blanco bajo nav fijo */
.site-main { padding-top: 0; }

/* Logo en nav: limitar tamaño */
.nav-logo .custom-logo { max-height: 48px; width: auto; display: block; }
.site-header.scrolled .nav-logo .custom-logo { filter: brightness(0); }
.nav-logo img { max-height: 48px; width: auto; }

/* Page content (page.php) */
.page-content h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 1.5rem;
}
.page-content .entry-content {
  color: #374151;
  line-height: 1.8;
  font-size: 1rem;
}
.page-content .entry-content p { margin-bottom: 1rem; }
.page-content .entry-content h2,.page-content .entry-content h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy-900);
  margin: 1.5rem 0 .75rem;
}

/* =============================================
   CONTENIDO: BLOG / SINGLE / ARCHIVE / BÚSQUEDA
   (plantillas nuevas; no altera páginas existentes)
   ============================================= */
.content-wrap {
  max-width: 800px;
  margin: 120px auto 80px;
  padding: 0 1.5rem;
}
.content-wrap-wide { max-width: 1080px; }

.content-header { text-align: center; margin-bottom: 3rem; }
.content-header .content-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .375rem 1rem; border-radius: 999px;
  background: var(--primary-50); color: var(--primary-600);
  font-size: .875rem; font-weight: 600; margin-bottom: 1rem;
}
.content-title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 700; color: var(--navy-900); line-height: 1.1;
}

.post-list { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .post-list { grid-template-columns: repeat(2, 1fr); } }

.post-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid #f1f5f9;
  border-radius: 16px; overflow: hidden;
  transition: box-shadow .4s, transform .4s;
}
.post-card:hover { box-shadow: 0 20px 40px rgba(0,0,0,.08); transform: translateY(-4px); }
.post-card .post-thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.post-card .post-body { padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.post-card .post-meta { font-size: .75rem; color: #9ca3af; font-weight: 500; }
.post-card h2 {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 700; color: var(--navy-900); line-height: 1.3;
}
.post-card h2 a:hover { color: var(--primary-600); }
.post-card .post-excerpt { color: #4b5563; font-size: .9375rem; line-height: 1.7; }
.post-card .post-more {
  margin-top: auto; padding-top: .5rem;
  display: inline-flex; align-items: center; gap: .375rem;
  color: var(--primary-600); font-weight: 600; font-size: .875rem;
}
.post-card .post-more:hover { gap: .625rem; }

.single-post .post-hero img { width: 100%; border-radius: 16px; margin-bottom: 2rem; }
.single-post .post-meta { color: #9ca3af; font-size: .875rem; margin-bottom: 1.5rem; }

.wp-pagination {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem;
  margin-top: 3rem;
}
.wp-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 .5rem;
  border-radius: 12px; border: 1px solid #e5e7eb; background: #fff;
  color: #374151; font-weight: 600;
}
.wp-pagination .page-numbers:hover { background: var(--primary-50); color: var(--primary-600); }
.wp-pagination .page-numbers.current {
  background: linear-gradient(to right, var(--primary-500), var(--primary-600));
  color: #fff; border-color: transparent;
}

/* =============================================
   BARRA DE ANUNCIO (opcional)
   ============================================= */
.shivax-announce {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.4rem 1rem;
  background: linear-gradient(to right, var(--primary-600), var(--primary-500), var(--cyan-500));
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: center;
  line-height: 1.3;
}
.shivax-announce:hover { color: #fff; opacity: 0.95; }
/* Empuja el header fijo debajo de la barra */
.has-announce .site-header { top: 38px; }

/* =============================================
   VOLVER ARRIBA
   ============================================= */
.shivax-top {
  position: fixed;
  left: 1.5rem;
  bottom: 1.5rem;
  z-index: 60;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  opacity: 1;
  transition: background 0.25s, transform 0.25s, opacity 0.25s;
}
.shivax-top[hidden] { opacity: 0; transform: translateY(12px); pointer-events: none; display: inline-flex; }
.shivax-top:hover { background: var(--primary-600); transform: translateY(-2px); }
.shivax-top svg { width: 20px; height: 20px; }
@media (max-width: 640px) { .shivax-top { left: 1rem; bottom: 1rem; width: 42px; height: 42px; } }

/* =============================================
   AVISO DE COOKIES
   ============================================= */
.shivax-cookies {
  position: fixed;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 70;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(15, 23, 42, 0.97);
  color: #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.3s, transform 0.3s;
}
.shivax-cookies.is-visible { opacity: 1; transform: none; }
.shivax-cookies[hidden] { display: none; }
.shivax-cookies__text { font-size: 0.8125rem; line-height: 1.5; margin: 0; }
.shivax-cookies__text a { color: var(--primary-300); text-decoration: underline; }
.shivax-cookies__ok {
  flex-shrink: 0;
  padding: 0.6rem 1.25rem;
  border: none;
  border-radius: 10px;
  background: linear-gradient(to right, var(--primary-500), var(--primary-600));
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: box-shadow 0.25s, transform 0.25s;
}
.shivax-cookies__ok:hover { box-shadow: 0 6px 18px rgba(99, 102, 241, 0.4); transform: translateY(-1px); }
@media (max-width: 560px) { .shivax-cookies { flex-direction: column; align-items: stretch; text-align: center; } }

/* =============================================
   PÁGINA 404
   ============================================= */
.shivax-404 { max-width: 640px; margin: 0 auto; text-align: center; }
.shivax-404__code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 9rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary-500), var(--cyan-500), var(--primary-400));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.shivax-404__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--navy-900);
  margin: 0.5rem 0 0.75rem;
}
.shivax-404__text { color: #6b7280; font-size: 1.0625rem; line-height: 1.7; margin: 0 auto 2rem; max-width: 30rem; }
.shivax-404__search { max-width: 420px; margin: 0 auto 2rem; }
.shivax-404__search form { display: flex; gap: 0.5rem; }
.shivax-404__search input[type="search"] {
  flex: 1; min-width: 0;
  padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
}
.shivax-404__search input[type="search"]:focus { outline: none; border-color: var(--primary-400); box-shadow: 0 0 0 3px rgba(99,102,241,0.15); }
.shivax-404__search button {
  padding: 0.75rem 1.25rem;
  border: none; border-radius: 12px;
  background: linear-gradient(to right, var(--primary-500), var(--primary-600));
  color: #fff; font-weight: 600; cursor: pointer;
}
.shivax-404__actions { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: center; }
.shivax-404__link { color: var(--primary-600); font-weight: 600; }
.shivax-404__link:hover { color: var(--primary-700); text-decoration: underline; }

/* =============================================
   PULIDO VISUAL & MOVIMIENTO
   ============================================= */
/* Barra de progreso de scroll */
.shivax-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px; width: 0;
  z-index: 100;
  background: linear-gradient(to right, var(--primary-500), var(--cyan-500), var(--primary-400));
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.5);
  transition: width 0.1s linear;
}
.has-announce .shivax-progress { top: 38px; }

/* Texto gradiente animado (shimmer sutil) */
.gradient-text {
  background-size: 200% auto;
  animation: shivax-grad 6s linear infinite;
}
@keyframes shivax-grad { to { background-position: 200% center; } }

/* Enlace de nav activo (scrollspy) */
.nav-links a.is-active { color: #fff; }
.site-header.scrolled .nav-links a.is-active,
.shivax-solid-nav .site-header .nav-links a.is-active {
  color: var(--primary-600);
  background: var(--primary-50);
}

/* Hover premium en tarjetas de servicio */
.service-card {
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s, border-color 0.4s;
  will-change: transform;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px rgba(15, 23, 42, 0.13);
}
.service-icon-wrap { transition: transform 0.4s cubic-bezier(0.16,1,0.3,1); }
.service-card:hover .service-icon-wrap { transform: scale(1.08) rotate(-3deg); }

/* Hover en tarjetas de tecnología / por qué elegirnos / garantía */
.tech-card, .why-card, .guarantee-card { transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s; }
.tech-card:hover, .guarantee-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(15,23,42,0.1); }
.why-card:hover { transform: translateY(-4px); }

/* Brillo al pasar por botones principales (WhatsApp / CTA) */
.btn-wa, .nav-cta, .final-cta-btn { position: relative; overflow: hidden; }
.btn-wa::after, .nav-cta::after, .final-cta-btn::after {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.btn-wa:hover::after, .nav-cta:hover::after, .final-cta-btn:hover::after { left: 140%; }

/* Icono flotante WhatsApp: entrada con rebote + halo */
.wa-float-btn { will-change: transform; }
.wa-float-btn:hover { transform: scale(1.08); }

/* Reveal: curva más suave */
.shivax-reveal { transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1) !important; }

/* Trust item hover */
.trust-item .trust-icon { transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), background 0.35s; }
.trust-item:hover .trust-icon { transform: translateY(-3px) scale(1.06); }

/* Testimonios: transición suave entre páginas (autoplay) */
#testimonials-grid { transition: opacity 0.45s ease; }

/* =============================================
   MARQUEE DE TECNOLOGÍAS
   ============================================= */
.tech-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.tech-track { display: flex; gap: 1.5rem; width: max-content; }
.tech-track.is-animated { animation: tech-scroll 45s linear infinite; }
.tech-marquee:hover .tech-track.is-animated { animation-play-state: paused; }
@keyframes tech-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tech-track .tech-card {
  flex: 0 0 auto;
  width: 260px;
  margin: 0;
}
@media (max-width: 640px) { .tech-track .tech-card { width: 200px; } }
@media (prefers-reduced-motion: reduce) {
  .tech-track { flex-wrap: wrap; justify-content: center; width: auto; }
}
