/* =========================================================
   visual-boost.css
   TETRA 4.0 — Hoja de estilos principal
   ========================================================= */

/* =========================
   VARIABLES
   ========================= */
:root {
  --gray-bg: #d5d5d5;
  --blue-primary: #006096;
  --blue-light: #9dbedb;
  --white: #FFFFFF;
  --blue-medium: #4f7da8;
  --dark: #0a1628;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* =========================
   RESET
   ========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--white);
  color: #1a1a1a;
  line-height: 1.6;
  overflow-x: hidden;
}

/* =========================
   ANIMATIONS
   ========================= */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes float-reverse {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(20px) rotate(-5deg); }
}

@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes bounceIn {
  0% { opacity: 0; transform: scale(0.3); }
  50% { transform: scale(1.1); }
  70% { transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes attention {
  0%, 100% { transform: scale(1); }
  10% { transform: scale(1.1); }
  20% { transform: scale(1); }
  30% { transform: scale(1.1); }
  40% { transform: scale(1); }
}

/* =========================
   NAV — Cápsula Técnica
   ========================= */
nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1300px, calc(100vw - 48px));
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid #9dbedb;
  border-radius: 16px;
  padding: 8px 8px 8px 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  box-shadow:
    0 4px 24px rgba(0, 96, 150, 0.10),
    0 1px 6px rgba(0, 96, 150, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  z-index: 1000;
}

/* Isotipo — badge hexagonal */
.logo {
  width: 52px;
  height: 52px;
  min-width: 52px;
  flex-shrink: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eaf4fb;
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  filter: drop-shadow(0 0 2px #9dbedb) drop-shadow(0 0 4px rgba(0, 96, 150, 0.18));
  transition: filter 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo:hover {
  filter: drop-shadow(0 0 3px #006096) drop-shadow(0 0 8px rgba(0, 96, 150, 0.3));
  transform: scale(1.08) rotate(10deg);
}

.logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo:hover img {
  transform: rotate(-10deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Nav link — text scroll animation */
.nav-link {
  color: #2d4a6b;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.125rem;
  padding: 0 25px;
  height: 45px;
  line-height: 45px;
  border-radius: 10px;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  display: inline-block;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nav-link::after {
  display: none;
}

/* nav-txt-a: en flujo → fija el ancho del link */
.nav-link .nav-txt-a {
  display: block;
  height: 45px;
  line-height: 45px;
  transition: transform 0.38s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
}

/* nav-txt-b: absoluto, mismo tamaño → clip perfecto */
.nav-link .nav-txt-b {
  position: absolute;
  inset: 0;
  height: 45px;
  line-height: 45px;
  text-align: center;
  transform: translateY(-100%);
  transition: transform 0.38s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
  color: #006096;
}

.nav-link:not(.active):hover .nav-txt-a {
  transform: translateY(100%);
}

.nav-link:not(.active):hover .nav-txt-b {
  transform: translateY(0%);
}

.nav-link:hover {
  background: #eaf4fb;
  color: #006096;
  border-color: #9dbedb;
}

.nav-link.active {
  background: #eaf4fb;
  border-color: #9dbedb;
  color: #006096;
  font-weight: 600;
  box-shadow: inset 0 1px 3px rgba(0, 96, 150, 0.08);
}

.nav-cta {
  background: #006096;
  color: #ffffff;
  padding: 11px 22px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  flex-shrink: 0;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 10px rgba(0, 96, 150, 0.25);
}

.nav-cta.visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.nav-cta:hover {
  background: #004f7a;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 96, 150, 0.35);
}

/* =========================
   HERO
   ========================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 3rem 40px;
  background:
    radial-gradient(circle at 12% 18%, rgba(34, 163, 255, 0.12), transparent 24%),
    radial-gradient(circle at 85% 72%, rgba(14, 107, 168, 0.10), transparent 28%),
    linear-gradient(180deg, #fbfdff 0%, #f4f8fc 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 107, 168, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 107, 168, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 44%, rgba(0,0,0,0) 92%);
  -webkit-mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 44%, rgba(0,0,0,0) 92%);
  pointer-events: none;
  opacity: 0.55;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(246, 249, 252, 0) 0%, rgba(246, 249, 252, 0.95) 100%);
  pointer-events: none;
}

/* Decorative elements */
.hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
}

.shape-1 {
  width: 600px;
  height: 600px;
  background: var(--blue-light);
  top: -200px;
  right: -200px;
  animation: float 8s ease-in-out infinite;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: var(--blue-primary);
  bottom: -100px;
  left: -100px;
  opacity: 0.2;
  animation: float-reverse 10s ease-in-out infinite;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: #25D366;
  top: 50%;
  left: 10%;
  opacity: 0.15;
  animation: float 6s ease-in-out infinite;
}

/* Parallax container */
.parallax-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  transition: transform 0.1s ease-out;
}

.parallax-layer.depth-1 { z-index: 1; }
.parallax-layer.depth-2 { z-index: 2; }
.parallax-layer.depth-3 { z-index: 3; }

/* Floating isotipo icons */
.floating-icon {
  position: absolute;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 10px 20px rgba(0, 96, 150, 0.2));
  transition: transform 0.3s ease-out;
}

.depth-1 .floating-icon { opacity: 0.08; animation: float 10s ease-in-out infinite; }
.icon-1 { top: 5%; right: 5%; width: 160px; animation-delay: 0s; }
.icon-2 { top: 70%; right: 8%; width: 140px; animation-delay: 2s; }
.icon-3 { top: 10%; left: 5%; width: 150px; animation-delay: 1s; }
.icon-4 { bottom: 8%; left: 10%; width: 130px; animation-delay: 3s; }

.depth-2 .floating-icon { opacity: 0.12; animation: float 7s ease-in-out infinite; }
.icon-5 { top: 20%; right: 15%; width: 100px; animation-delay: 0.5s; }
.icon-6 { top: 50%; left: 8%; width: 90px; animation-delay: 1.5s; }
.icon-7 { bottom: 20%; right: 20%; width: 110px; animation-delay: 2.5s; }
.icon-8 { top: 35%; left: 15%; width: 85px; animation-delay: 0.8s; }

.depth-3 .floating-icon { opacity: 0.18; animation: float 5s ease-in-out infinite; }
.icon-9 { top: 12%; right: 25%; width: 60px; animation-delay: 0.3s; }
.icon-10 { top: 60%; left: 20%; width: 55px; animation-delay: 1.2s; }
.icon-11 { bottom: 15%; left: 25%; width: 65px; animation-delay: 2s; }
.icon-12 { top: 45%; right: 10%; width: 50px; animation-delay: 0.7s; }

/* Gradient orbs */
.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: float 12s ease-in-out infinite;
}

.orb-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--blue-primary) 0%, transparent 70%);
  top: -10%; right: -5%; opacity: 0.3;
}

.orb-2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, var(--blue-light) 0%, transparent 70%);
  bottom: -5%; left: -5%; opacity: 0.4; animation-delay: 2s;
}

.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--blue-medium) 0%, transparent 70%);
  top: 40%; left: 50%; transform: translateX(-50%); opacity: 0.25; animation-delay: 4s;
}

.orb-4 {
  width: 250px; height: 250px;
  background: radial-gradient(circle, #25D366 0%, transparent 70%);
  bottom: 20%; right: 15%; opacity: 0.2; animation-delay: 1s;
}

.orb-5 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, var(--gray-bg) 0%, transparent 70%);
  top: 15%; left: 30%; opacity: 0.3; animation-delay: 3s;
}

.hero-content {
  max-width: 1000px;
  text-align: center;
  position: relative;
  z-index: 3;
}

.hero-logo {
  width: clamp(475px, 65%, 812px);
  height: auto;
  margin-top: -15px;
  margin-bottom: 35px;
  animation: fadeInUp 0.8s ease-out;
  filter:
    drop-shadow(0 10px 24px rgba(14, 107, 168, 0.08))
    drop-shadow(0 2px 8px rgba(10, 23, 51, 0.04));
}

@keyframes hex-pulse-fill {
  0%, 68%, 100% { fill: #ffffff; }
  76%, 90%      { fill: #22c55e; }
}

.hero-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: min(575px, calc(100% - 40px));
  margin: 0 auto 25px auto;
  clip-path: polygon(
    12px 0%, calc(100% - 12px) 0%,
    100% 12px, 100% calc(100% - 12px),
    calc(100% - 12px) 100%, 12px 100%,
    0% calc(100% - 12px), 0% 12px
  );
  background: #006096;
  box-shadow:
    0 0 0 1.5px rgba(157, 190, 219, 0.5),
    inset 0 3px 0 rgba(255, 255, 255, 0.18),
    0 6px 24px rgba(0, 96, 150, 0.25);
  color: #ffffff;
  padding: 16px 35px 15px;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.badge-icon {
  flex-shrink: 0;
}

.badge-hex-polygon {
  fill: transparent;
  animation: hex-pulse-fill 2s ease-in-out infinite;
}

.badge-dot {
  display: none;
}

.hero h1 {
  font-size: clamp(3rem, 6.875vw, 4.375rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 18px;
  line-height: 1.1;
  letter-spacing: -1.5px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-medium) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero > .hero-content > p {
  font-size: 1.5rem;
  color: #444;
  margin-bottom: 32px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* PROCESO EN HERO */
.hero-process {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-step {
  text-align: center;
  max-width: 225px;
}

.hero-step-circle {
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  position: relative;
  overflow: visible;
  transition: transform 0.3s;
}

.hero-step-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hero-step:hover .hero-step-circle { transform: scale(1.08); }

.hero-step-number {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 35px;
  height: 35px;
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-medium) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.06rem;
  z-index: 2;
}

.hero-step h4 {
  font-size: 1.375rem;
  color: var(--dark);
  margin-bottom: 6px;
  font-weight: 700;
}

.hero-step p {
  color: #555;
  font-size: 1.125rem;
  line-height: 1.4;
}

.hero-step-connector {
  display: flex;
  align-items: flex-start;
  padding-top: 45px;
}

/* CTA en Hero */
.hero-cta-container { animation: fadeInUp 0.8s ease-out 0.5s both; }

.hero-cta-small {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  padding: 20px 45px;
  clip-path: polygon(
    14px 0%, calc(100% - 14px) 0%,
    100% 14px, 100% calc(100% - 14px),
    calc(100% - 14px) 100%, 14px 100%,
    0% calc(100% - 14px), 0% 14px
  );
  text-decoration: none;
  font-size: 1.375rem;
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 10px 24px rgba(37, 211, 102, 0.40));
  position: relative;
  overflow: hidden;
}

.hero-cta-animated {
  animation: bounceIn 0.8s ease-out 0.7s both, attention 3s ease-in-out 2s infinite;
}

.hero-cta-small::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.hero-cta-small:hover::before { left: 100%; }

.hero-cta-small:hover {
  transform: translateY(-3px) scale(1.02);
  filter: drop-shadow(0 14px 32px rgba(37, 211, 102, 0.55));
}

/* Trust section */
.hero-trust {
  margin-top: 40px;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-trust .trust-text {
  font-size: 1.25rem;
  color: #555;
  margin-bottom: 17px;
  font-weight: 500;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 38px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-primary);
  font-weight: 600;
  font-size: 1.19rem;
}

.trust-item svg { width: 25px; height: 25px; }

/* Scroll indicator */
@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0);   opacity: 0.5; }
  50%       { transform: translateX(-50%) translateY(10px); opacity: 1;   }
}

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  color: var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(0, 96, 150, 0.35);
  border-radius: 50%;
  text-decoration: none;
  animation: scroll-bounce 2s ease-in-out infinite;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.scroll-indicator:hover {
  border-color: var(--blue-primary);
  color: var(--blue-primary);
  animation-play-state: paused;
  opacity: 1;
}

.scroll-indicator svg {
  display: block;
}

/* =========================
   STATS
   ========================= */
.stats-section {
  padding: 70px 3rem;
  background: var(--blue-primary);
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.stat-item { text-align: center; color: white; }

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, white 0%, var(--blue-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label { font-size: 0.95rem; opacity: 0.85; }

/* =========================
   DIFERENCIADORES
   ========================= */
.diff-section {
  padding: 110px 3rem;
  background: linear-gradient(160deg, #f8fbfd 0%, #ffffff 55%, #f4f9fc 100%);
  position: relative;
}

.container { max-width: 1200px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 70px; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #deeef8 0%, #c8e2f2 100%);
  color: #006096;
  padding: 9px 22px;
  clip-path: polygon(
    10px 0%, calc(100% - 10px) 0%,
    100% 10px, 100% calc(100% - 10px),
    calc(100% - 10px) 100%, 10px 100%,
    0% calc(100% - 10px), 0% 10px
  );
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin-bottom: 24px;
  filter: drop-shadow(0 2px 10px rgba(0, 96, 150, 0.18));
}

.section-header h2 {
  font-size: 2.8rem;
  color: #0a2540;
  margin-bottom: 16px;
  font-weight: 900;
  letter-spacing: -1px;
}

.section-header p {
  color: #4a6080;
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

/* ---- card ---- */
.diff-card {
  background: #006096;
  border-radius: 20px;
  border: 1px solid rgba(0, 96, 150, 0.3);
  padding: 52px 36px 44px;
  text-align: center;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px rgba(0, 96, 150, 0.25);
}

.diff-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 64px rgba(0, 96, 150, 0.38);
}

.diff-icon {
  width: 170px;
  height: 170px;
  margin: 0 auto 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.diff-icon::before,
.diff-icon::after { display: none; }

.diff-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.30));
}

.diff-card:hover .diff-icon { transform: scale(1.08); }

.diff-card h3 {
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 14px;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.diff-card p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  line-height: 1.78;
}

/* =========================
   AUDIENCIA
   ========================= */
.audience-section {
  padding: 100px 3rem;
  background: linear-gradient(160deg, #f0f7fc 0%, #ffffff 60%, #eef5fb 100%);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 50px;
}

.audience-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(157, 190, 219, 0.45);
  padding: 44px 36px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 24px rgba(0, 96, 150, 0.07);
}

.audience-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 96, 150, 0.13);
  border-color: rgba(0, 96, 150, 0.22);
}

.audience-icon {
  width: 150px;
  height: 150px;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.audience-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(0, 96, 150, 0.18));
}

.audience-card:hover .audience-icon { transform: scale(1.08); }

.audience-card h3 {
  font-size: 1.4rem;
  color: #0a2540;
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.audience-card ul { list-style: none; text-align: left; }

.audience-card li {
  padding: 10px 0;
  color: #4a6080;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
  border-bottom: 1px solid rgba(157, 190, 219, 0.3);
}

.audience-card li:last-child { border-bottom: none; }

.check-icon {
  width: 22px; height: 22px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* =========================
   CTA FINAL
   ========================= */
.final-cta {
  padding: 100px 3rem;
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--dark) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, var(--blue-medium) 0%, transparent 50%);
  opacity: 0.1;
  animation: float 15s ease-in-out infinite;
}

.final-cta .container { position: relative; z-index: 1; }

.final-cta h2 {
  font-size: 3rem;
  color: white;
  margin-bottom: 18px;
  font-weight: 800;
  letter-spacing: -1px;
}

.final-cta p {
  font-size: 1.2rem;
  color: var(--blue-light);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta .hero-cta-small { font-size: 1.15rem; padding: 20px 45px; }

.cta-sub { margin-top: 20px; color: rgba(255,255,255,0.6); font-size: 0.9rem; }

/* =========================
   NOSOTROS
   ========================= */
.nosotros-section {
  padding: 100px 3rem;
  background: linear-gradient(180deg, #f8fbfd 0%, white 100%);
}

.nosotros-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.nosotros-card {
  background: white;
  border-radius: 24px;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid #e8f0f5;
  transition: all 0.4s;
  box-shadow: var(--shadow-sm);
}

.nosotros-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0, 96, 150, 0.12);
}

.nosotros-icon {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-medium) 100%);
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
}

.nosotros-card h3 { font-size: 1.4rem; color: var(--blue-primary); margin-bottom: 15px; font-weight: 700; }
.nosotros-card p { color: #555; font-size: 1rem; line-height: 1.7; }

.valores-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 50px;
}

.valor-item {
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-medium) 100%);
  color: white;
  padding: 15px 30px;
  clip-path: polygon(
    12px 0%, calc(100% - 12px) 0%,
    100% 12px, 100% calc(100% - 12px),
    calc(100% - 12px) 100%, 12px 100%,
    0% calc(100% - 12px), 0% 12px
  );
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
}

.valor-item:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 96, 150, 0.3);
}

/* =========================
   CLIENTES
   ========================= */
.clientes-section { padding: 80px 3rem; background: var(--white); }

.clientes-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px 60px;
  margin-top: 50px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.cliente-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: #666;
  padding: 15px 25px;
  background: #f5f8fa;
  border-radius: 12px;
  transition: all 0.3s;
}

.cliente-logo:hover {
  color: var(--blue-primary);
  background: var(--blue-light);
  transform: scale(1.05);
}

/* =========================
   FOOTER
   ========================= */
footer {
  background: var(--dark);
  color: white;
  padding: 50px 3rem 30px;
}

.footer-content { max-width: 1100px; margin: 0 auto; }

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo img { height: 45px; filter: brightness(0) invert(1); }

.footer-social { display: flex; gap: 15px; }

.social-link {
  width: 45px; height: 45px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  text-decoration: none;
}

.social-link:hover { background: var(--blue-primary); transform: translateY(-3px); }
.social-link svg { width: 20px; height: 20px; fill: white; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  padding-top: 25px;
}

.footer-bottom p { opacity: 0.6; font-size: 0.9rem; }
.footer-links { display: flex; gap: 25px; }

.footer-link {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.footer-link:hover { opacity: 1; }

/* =========================
   WHATSAPP FLOTANTE
   ========================= */
.whatsapp-float {
  position: fixed;
  bottom: 35px; right: 35px;
  width: 70px; height: 70px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 40px rgba(37, 211, 102, 0.5);
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  opacity: 0;
  transform: scale(0.5);
  pointer-events: none;
}

.whatsapp-float.visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  animation: scaleIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-float.visible::before {
  content: '';
  position: absolute;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: #25D366;
  animation: pulse-ring 1.5s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
  z-index: -1;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 15px 50px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg { width: 36px; height: 36px; fill: white; }

.whatsapp-tooltip {
  position: absolute;
  right: 85px;
  background: white;
  color: var(--dark);
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: 0 5px 25px rgba(0,0,0,0.15);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s;
  pointer-events: none;
}

.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; transform: translateX(0); }

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 968px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-step-connector { display: none; }
  .hero-process { gap: 20px; }
}

@media (max-width: 768px) {
  /* --- NAV --- */
  nav {
    top: 12px;
    padding: 6px 6px 6px 10px;
    width: calc(100vw - 24px);
    border-radius: 12px;
    gap: 6px;
  }

  .nav-links { gap: 0; }
  .nav-link { font-size: 0.95rem; padding: 0 12px; height: 38px; line-height: 38px; }
  .nav-cta { padding: 8px 12px; }
  .nav-cta span { display: none; }

  /* --- HERO --- */
  .hero { padding: 130px 1.25rem 50px; }
  .hero-logo { width: clamp(260px, 85vw, 420px); margin-bottom: 20px; }

  .hero-badge {
    width: min(320px, calc(100% - 24px));
    padding: 11px 20px 10px;
    font-size: 0.88rem;
    gap: 10px;
  }

  .hero h1 { font-size: clamp(1.9rem, 7vw, 2.6rem); margin-bottom: 12px; }
  .hero > .hero-content > p { font-size: 1rem; margin-bottom: 20px; }

  /* proceso en columna */
  .hero-process {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
  }

  .hero-step { max-width: 220px; }
  .hero-step-circle { width: 80px; height: 80px; }
  .hero-step h4 { font-size: 1.05rem; }
  .hero-step p { font-size: 0.9rem; }
  .hero-step-number { width: 26px; height: 26px; font-size: 0.8rem; }

  /* CTA */
  .hero-cta-small { padding: 14px 28px; font-size: 1.05rem; }

  /* trust */
  .hero-trust .trust-text { font-size: 0.95rem; }
  .trust-badges { gap: 16px; }
  .trust-item { font-size: 0.88rem; }
  .trust-item svg { width: 18px; height: 18px; }

  /* secciones */
  .section-header h2 { font-size: 2rem; }
  .final-cta h2 { font-size: 2rem; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat-number { font-size: 2.2rem; }

  .parallax-layer.depth-1,
  .parallax-layer.depth-2 { display: none; }
  .parallax-layer.depth-3 .floating-icon { opacity: 0.1; }
  .gradient-orb { opacity: 0.15; }

  /* diff cards en móvil */
  .diff-grid { grid-template-columns: 1fr; gap: 20px; }
  .diff-icon { width: 120px; height: 120px; margin-bottom: 20px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-logo { width: clamp(220px, 90vw, 340px); }
  .hero h1 { font-size: 1.75rem; }
  .hero > .hero-content > p { font-size: 0.95rem; }
  .hero-cta-small { padding: 12px 24px; font-size: 1rem; }
  .diff-section { padding: 70px 1.25rem; }
}
