/* ===== VARIABLES ===== */
:root {
  --primary: #0056b3;
  --primary-light: #1a72d4;
  --primary-dark: #003d82;
  --primary-bg: #e8f0fe;
  --yellow: #FFC300;
  --yellow-light: #FFD60A;
  --dark: #0a1628;
  --dark-2: #1e293b;
  --gray: #64748b;
  --light-gray: #f1f5f9;
  --border: #e2e8f0;
  --white: #ffffff;
  --bg: #f8faff;
  --shadow: 0 4px 20px rgba(0, 86, 179, 0.12);
  --shadow-lg: 0 20px 60px rgba(0, 86, 179, 0.18);
  --shadow-y: 0 8px 25px rgba(255, 195, 0, 0.3);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 8px;
  --ease: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; background: var(--bg); color: var(--dark-2); overflow-x: hidden; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }

/* ===== PAGES ===== */
.page { display: none; min-height: 100vh; }
.page.active { display: block; }

/* ===== NAVBAR ===== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 0; transition: var(--ease);
}
#navbar.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 20px 0;
  box-shadow: 0 2px 20px rgba(0,86,179,0.1);
}
.nav-container {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.nav-logo { display: flex; align-items: center; cursor: pointer; }
.nav-logo img { height: 44px; width: auto; object-fit: contain; }
.logo-fallback { font-size: 1.5rem; font-weight: 800; color: var(--primary); display: none; }
#navbar.scrolled .logo-fallback { color: var(--primary); }
#navbar.scrolled .nav-logo img {
  filter: brightness(0) saturate(100%) invert(22%) sepia(93%) saturate(737%) hue-rotate(197deg) brightness(92%) contrast(104%);
}

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 18px; border-radius: 50px;
  font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.85);
  transition: var(--ease); cursor: pointer;
}
#navbar.scrolled .nav-link { color: var(--dark-2); }
.nav-link:hover, .nav-link.active {
  background: rgba(255,255,255,0.2); color: var(--white);
}
#navbar.scrolled .nav-link:hover,
#navbar.scrolled .nav-link.active {
  background: var(--primary-bg); color: var(--primary);
}

.btn-cta-nav {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.75);
  font-weight: 700; font-size: 0.88rem;
  padding: 9px 22px; border-radius: 50px;
  transition: var(--ease); white-space: nowrap;
}
.btn-cta-nav:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}
#navbar.scrolled .btn-cta-nav {
  background: var(--yellow);
  color: var(--dark);
  border-color: var(--yellow);
}
#navbar.scrolled .btn-cta-nav:hover {
  background: var(--yellow-light);
  border-color: var(--yellow-light);
  transform: translateY(-1px);
}

/* ===== LANG BTN ===== */
.nav-actions {
  display: flex; align-items: center; gap: 14px;
}
.lang-btn {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.5px;
  padding: 7px 12px; border-radius: 7px;
  transition: var(--ease); white-space: nowrap;
}
.lang-btn i { font-size: 0.8rem; }

/* Glass */
.lang-btn {
  background: rgba(255,255,255,0.18); color: var(--white);
  border: 1.5px solid transparent;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.lang-btn:hover { background: rgba(255,255,255,0.28); transform: translateY(-1px); }
#navbar.scrolled .lang-btn {
  background: var(--primary-bg); color: var(--primary);
  backdrop-filter: none;
}
#navbar.scrolled .lang-btn:hover { background: #d6e4ff; transform: translateY(-1px); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span {
  display: block; width: 26px; height: 2.5px;
  background: var(--white); border-radius: 3px; transition: var(--ease);
}
#navbar.scrolled .hamburger span { background: var(--dark-2); }
.hamburger.open span { background: #111; }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.5); z-index: 998;
}
.nav-overlay.active { display: block; }

.nav-link i { display: none; }
.mobile-menu-header, .mobile-menu-cta, .mobile-menu-footer { display: none; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: var(--white);
  font-weight: 700; font-size: 0.95rem;
  padding: 14px 28px; border-radius: 50px;
  transition: var(--ease);
  box-shadow: 0 8px 25px rgba(0,86,179,0.3);
}
.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0,86,179,0.4);
}
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--white);
  font-weight: 600; font-size: 0.95rem;
  padding: 13px 28px; border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.4);
  transition: var(--ease);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.8);
  transform: translateY(-3px);
}
.btn-yellow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--yellow); color: var(--dark);
  font-weight: 700; font-size: 0.95rem;
  padding: 14px 28px; border-radius: 50px;
  transition: var(--ease); box-shadow: var(--shadow-y);
}
.btn-yellow:hover {
  background: var(--yellow-light);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(255,195,0,0.45);
}
.btn-ghost-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--white);
  font-weight: 600; font-size: 0.95rem;
  padding: 13px 28px; border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.5);
  transition: var(--ease);
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-3px);
}

/* ===== SECTION HEADERS ===== */
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  background: var(--primary-bg); color: var(--primary);
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  padding: 6px 16px; border-radius: 50px; margin-bottom: 16px;
}
.section-tag.light { background: rgba(255,255,255,0.2); color: var(--white); }
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800; color: var(--dark); line-height: 1.2; margin-bottom: 12px;
}
.section-sub { font-size: 1rem; color: var(--gray); max-width: 520px; margin: 0 auto; }

/* ===== REVEAL ANIMATION ===== */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.services-grid .reveal:nth-child(2) { transition-delay: 0.12s; }
.services-grid .reveal:nth-child(3) { transition-delay: 0.24s; }
.includes-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.includes-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.includes-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.includes-grid .reveal:nth-child(5) { transition-delay: 0.32s; }
.includes-grid .reveal:nth-child(6) { transition-delay: 0.40s; }
.process-steps .reveal:nth-child(3) { transition-delay: 0.15s; }
.process-steps .reveal:nth-child(5) { transition-delay: 0.30s; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
  overflow: hidden; padding-top: 100px;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }

.blob {
  position: absolute; border-radius: 50%;
  filter: blur(70px); opacity: 0.22;
  animation: blobFloat 9s ease-in-out infinite;
}
.blob-1 { width: 560px; height: 560px; background: var(--yellow); top: -180px; right: -120px; animation-delay: 0s; }
.blob-2 { width: 380px; height: 380px; background: #0a47a0; bottom: -120px; left: -100px; animation-delay: -3s; }
.blob-3 { width: 280px; height: 280px; background: var(--yellow-light); top: 45%; left: 38%; animation-delay: -6s; }

@keyframes blobFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%       { transform: translate(20px,-28px) scale(1.05); }
  66%       { transform: translate(-15px,15px) scale(0.95); }
}

.grid-pattern {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 52px 52px;
}

/* ===== OPCIÓN A — PARTÍCULAS FLOTANTES ===== */
.hero-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.p {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  bottom: -6px;
  animation: particleRise linear infinite;
  will-change: transform, opacity;
}

.p1  { width: 3px; height: 3px; left:  6%; animation-duration: 13s; animation-delay:   0s; }
.p2  { width: 2px; height: 2px; left: 14%; animation-duration:  9s; animation-delay:  -3s; }
.p3  { width: 4px; height: 4px; left: 23%; animation-duration: 16s; animation-delay:  -7s; }
.p4  { width: 2px; height: 2px; left: 33%; animation-duration: 10s; animation-delay:  -1s; }
.p5  { width: 3px; height: 3px; left: 42%; animation-duration: 14s; animation-delay:  -5s; }
.p6  { width: 2px; height: 2px; left: 51%; animation-duration:  8s; animation-delay: -10s; }
.p7  { width: 4px; height: 4px; left: 60%; animation-duration: 12s; animation-delay:  -2s; }
.p8  { width: 2px; height: 2px; left: 69%; animation-duration: 15s; animation-delay:  -6s; }
.p9  { width: 3px; height: 3px; left: 77%; animation-duration: 10s; animation-delay:  -4s; }
.p10 { width: 2px; height: 2px; left: 85%; animation-duration: 13s; animation-delay:  -8s; }
.p11 { width: 3px; height: 3px; left: 19%; animation-duration: 17s; animation-delay: -11s; }
.p12 { width: 2px; height: 2px; left: 56%; animation-duration: 11s; animation-delay:  -9s; }

@keyframes particleRise {
  0%   { transform: translateY(0) translateX(0);    opacity: 0;   }
  6%   { opacity: 0.75; }
  88%  { opacity: 0.35; }
  100% { transform: translateY(-105vh) translateX(18px); opacity: 0; }
}


.hero-content {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 64px;
  max-width: 1200px; margin: 0 auto; padding: 64px 24px;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900; color: var(--white); line-height: 1.12; margin-bottom: 20px;
}
.hero-title .accent { color: var(--yellow); }
.title-mobile { display: none; }
#hero-phrase { display: inline-block; white-space: nowrap; }
@keyframes wordFadeOut {
  from { opacity: 1; transform: translateY(0) rotateX(0deg); }
  to   { opacity: 0; transform: translateY(-22px) rotateX(15deg); }
}
@keyframes wordFadeIn {
  from { opacity: 0; transform: translateY(22px) rotateX(-15deg); }
  to   { opacity: 1; transform: translateY(0) rotateX(0deg); }
}
#hero-phrase.word-out { animation: wordFadeOut 0.35s cubic-bezier(0.4,0,1,1) forwards; }
#hero-phrase.word-in  { animation: wordFadeIn  0.45s cubic-bezier(0,0,0.2,1) forwards; }
.hero-sub {
  font-size: 1.05rem; color: rgba(255,255,255,0.8);
  line-height: 1.75; margin-bottom: 32px; max-width: 480px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }

/* Botones del hero sobre fondo azul */
.hero-btns .btn-primary {
  background: var(--yellow); color: var(--dark);
  box-shadow: 0 8px 28px rgba(255,195,0,0.4);
}
.hero-btns .btn-primary:hover {
  background: var(--yellow-light);
  box-shadow: 0 15px 35px rgba(255,195,0,0.5);
}
.hero-btns .btn-ghost {
  border-color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.08);
}
.hero-btns .btn-ghost:hover {
  background: rgba(255,255,255,0.18);
  border-color: var(--white);
}

/* Social proof pill */
.hero-social-proof {
  display: inline-flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 10px 20px 10px 10px; border-radius: 50px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.proof-faces { display: flex; }
.face {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,0.85);
  margin-left: -9px; flex-shrink: 0;
  object-fit: cover;
}
.face:first-child { margin-left: 0; }
.f4 { background: var(--primary-dark); font-size: 1rem; }
.proof-copy { font-size: 0.84rem; color: rgba(255,255,255,0.88); line-height: 1.4; }
.proof-copy strong { color: var(--yellow); font-weight: 800; }

/* HERO SLIDER */
.hero-visual {
  position: relative; display: flex;
  justify-content: center; align-items: stretch;
  align-self: stretch;
}
.hero-slider {
  position: relative; width: 100%; height: 100%;
  min-height: 420px;
}
.hero-slider { animation: heroSliderFloat 5s ease-in-out infinite; }
@keyframes heroSliderFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transform: translateY(18px) scale(0.97);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero-slide.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.hero-slide.exiting {
  opacity: 0;
  transform: translateY(-18px) scale(0.97);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero-slide img { width: 100%; height: 100%; object-fit: contain; display: block; }
.hero-slider-dots {
  position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 7px; z-index: 3;
}
.dot {
  height: 4px; width: 4px; border-radius: 2px;
  background: rgba(255,255,255,0.45); transition: all 0.4s ease;
}
.dot.active { width: 20px; background: rgba(255,255,255,0.85); }


/* ===== IMG MARQUEE ===== */
.img-marquee {
  position: relative;
  overflow: hidden;
  padding: 52px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.img-marquee::before,
.img-marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; width: 120px;
  z-index: 2; pointer-events: none;
}
.img-marquee::before { left: 0;  background: linear-gradient(to right, var(--white), transparent); }
.img-marquee::after  { right: 0; background: linear-gradient(to left,  var(--white), transparent); }

.img-marquee-track {
  display: flex;
  width: max-content;
  animation: imgMarquee 32s linear infinite;
  will-change: transform;
}

.img-marquee:hover .img-marquee-track { animation-play-state: paused; }

.im-item {
  display: block;
  flex-shrink: 0;
  margin-right: 24px;
}

.im-item img {
  height: 210px;
  width: 373px;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.im-item:hover img {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

@keyframes imgMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 600px) {
  .im-item img { height: 150px; width: 267px; }
  .img-marquee::before,
  .img-marquee::after { width: 48px; }
}

/* ===== INTRO SERVICE ===== */
.intro-service { background: var(--bg); }

.is-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

/* — Columna izquierda — */
.is-left {
  display: flex; flex-direction: column; align-items: flex-start;
  position: relative;
}

.is-left::before {
  content: '';
  position: absolute;
  top: -40px; left: -40px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,86,179,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.is-heading {
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  font-weight: 800; color: var(--dark);
  line-height: 1.25; margin: 16px 0 20px;
}

.is-highlight {
  position: relative;
  display: inline;
}

.is-hl-mobile { display: none; }

.is-highlight::after {
  content: '';
  position: absolute;
  left: 0; bottom: -5px;
  width: 100%; height: 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='6'%3E%3Cpath d='M0 4 Q4 1 8 4 Q12 7 16 4' stroke='%23FFC300' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 16px 6px;
  animation: waveAdvance 0.9s linear infinite;
}

@keyframes waveAdvance {
  from { background-position-x: 0; }
  to   { background-position-x: 16px; }
}

.is-body {
  font-size: 0.97rem; color: var(--gray);
  line-height: 1.8; margin-bottom: 16px;
  max-width: 480px;
}

.is-btns {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 20px;
}

.is-cta {
  box-shadow: 0 8px 28px rgba(0,86,179,0.35);
}
.is-cta:hover {
  box-shadow: 0 14px 36px rgba(0,86,179,0.45);
}

.btn-is-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white);
  border: 2px solid var(--border);
  color: var(--dark-2);
  font-weight: 600; font-size: 0.95rem;
  padding: 13px 26px; border-radius: 50px;
  transition: var(--ease);
}
.btn-is-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-bg);
  transform: translateY(-2px);
}

/* — Columna derecha: tabla de beneficios — */
.is-benefits-header {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  background: var(--primary);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  font-size: 0.85rem; font-weight: 700; color: var(--white);
}

.is-benefits-header i { font-size: 1rem; color: var(--yellow); }

.is-benefits {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,86,179,0.1);
}

.is-benefit {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  transition: background 0.25s ease;
}
.is-benefit:last-child { border-bottom: none; }
.is-benefit:hover { background: var(--primary-bg); }

.is-benefit-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--primary-bg);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease;
}
.is-benefit:hover .is-benefit-icon {
  background: var(--primary);
  color: var(--white);
}

.is-benefit strong {
  display: block;
  font-size: 0.9rem; font-weight: 600; color: var(--dark-2);
  margin-bottom: 2px;
}
.is-benefit span {
  font-size: 0.8rem; color: var(--gray); line-height: 1.4;
}

@media (max-width: 900px) {
  .is-layout { grid-template-columns: 1fr; gap: 40px; }
  .is-heading { font-size: 1.75rem; }
  .is-body { max-width: 100%; }
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: linear-gradient(135deg, #2480e0 0%, var(--primary) 45%, #002f6e 100%);
  padding: 44px 0;
}
.stats-grid { display: flex; align-items: center; justify-content: center; }
.stat-item { flex: 1; text-align: center; padding: 20px 16px; }
.stat-row { display: flex; align-items: baseline; justify-content: center; gap: 2px; }
.stat-number { font-size: 2.8rem; font-weight: 900; color: var(--white); line-height: 1; }
.stat-suffix { font-size: 1.4rem; font-weight: 900; color: var(--yellow); }
.stat-label { display: block; font-size: 0.84rem; font-weight: 500; color: rgba(255,255,255,0.65); margin-top: 6px; }
.stat-divider { width: 1px; height: 64px; background: rgba(255,255,255,0.18); flex-shrink: 0; }

/* ===== SERVICES / PRICING ===== */
.services { background: var(--bg); position: relative; overflow: hidden; }

/* — Decorative BG — */
.svc-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.svc-blob {
  position: absolute; border-radius: 50%; filter: blur(90px);
  will-change: transform;
}
.svc-b1 {
  width: 680px; height: 680px; background: var(--primary); opacity: 0.06;
  top: -240px; right: -180px;
  animation: blobFloat 11s ease-in-out infinite;
}
.svc-b2 {
  width: 480px; height: 480px; background: var(--yellow); opacity: 0.05;
  bottom: -140px; left: -140px;
  animation: blobFloat 14s ease-in-out infinite; animation-delay: -5s;
}
.svc-b3 {
  width: 320px; height: 320px; background: var(--primary-light); opacity: 0.04;
  top: 45%; left: 40%; transform: translate(-50%, -50%);
  animation: blobFloat 9s ease-in-out infinite; animation-delay: -2s;
}

.svc-grid-pat {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,86,179,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,86,179,0.04) 1px, transparent 1px);
  background-size: 52px 52px;
}


/* — Pricing Grid — */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1.06fr 1fr;
  gap: 24px;
  align-items: start;
  position: relative; z-index: 1;
}

/* — Card Base — */
.pc {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1),
              box-shadow 0.35s cubic-bezier(0.4,0,0.2,1),
              border-color 0.35s ease;
}

/* overflow hidden solo en cards normales para que la línea respete el border-radius */
.pc:not(.pc-featured) { overflow: hidden; }

/* top accent line */
.pc::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  opacity: 0; transition: opacity 0.3s ease;
}

.pc:not(.pc-featured):hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: #b8d0f5;
}
.pc:not(.pc-featured):hover::before { opacity: 1; }

/* — Featured Card — */
.pc-featured {
  background: linear-gradient(155deg, var(--primary-dark) 0%, var(--primary) 58%, var(--primary-light) 100%);
  border-color: transparent;
  padding: 54px 30px 38px;
  box-shadow: 0 24px 64px rgba(0,86,179,0.38);
  margin-top: -18px;
  margin-bottom: -8px;
}
.pc-featured::before { display: none; }
.pc-featured:hover {
  transform: translateY(-12px);
  box-shadow: 0 32px 72px rgba(0,86,179,0.52);
}

/* inner glow orb */
.pc-glow {
  position: absolute; top: -100px; right: -60px;
  width: 240px; height: 240px; border-radius: 50%;
  background: rgba(255,195,0,0.12); filter: blur(50px);
  pointer-events: none;
}

/* Popular badge */
.pc-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--yellow); color: var(--dark);
  font-size: 0.69rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 6px 18px; border-radius: 50px; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(255,195,0,0.38);
}
.pc-badge i { margin-right: 4px; font-size: 0.6rem; }

/* — Card Top — */
.pc-top { margin-bottom: 26px; }

.pc-icon-wrap {
  width: 56px; height: 56px;
  background: var(--primary-bg);
  border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; color: var(--primary);
  margin-bottom: 20px; transition: var(--ease);
}
.pc:not(.pc-featured):hover .pc-icon-wrap {
  background: var(--primary); color: var(--white);
  transform: rotate(-6deg) scale(1.08);
}

.pc-icon-feat {
  background: rgba(255,255,255,0.14) !important;
  color: var(--white) !important;
  border: 1px solid rgba(255,255,255,0.25);
}

.pc-title { font-size: 1.22rem; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.pc-featured .pc-title { color: var(--white); }

.pc-sub { font-size: 0.86rem; color: var(--gray); line-height: 1.65; }
.pc-featured .pc-sub { color: rgba(255,255,255,0.68); }

/* — Price Block — */
.pc-price-block { margin-bottom: 24px; }

.pc-from {
  display: block;
  font-size: 0.74rem; color: var(--gray); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px;
}
.pc-featured .pc-from { color: rgba(255,255,255,0.55); }

.pc-row { display: flex; align-items: baseline; gap: 3px; margin-bottom: 8px; }

.pc-sym { font-size: 1.5rem; font-weight: 800; color: var(--primary); line-height: 1; }
.pc-featured .pc-sym { color: var(--yellow); }

.pc-num { font-size: 3.2rem; font-weight: 900; color: var(--dark); line-height: 1; letter-spacing: -1px; }
.pc-featured .pc-num { color: var(--white); }

.pc-code { font-size: 0.83rem; font-weight: 600; color: var(--gray); align-self: flex-end; margin-bottom: 5px; margin-left: 3px; }
.pc-featured .pc-code { color: rgba(255,255,255,0.55); }

.pc-renew {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.74rem; color: var(--gray);
  background: var(--light-gray); padding: 4px 12px; border-radius: 50px;
}
.pc-renew i { font-size: 0.68rem; }
.pc-featured .pc-renew { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.62); }

/* — Divider — */
.pc-line { height: 1px; background: var(--border); margin: 0 0 22px; }
.pc-featured .pc-line { background: rgba(255,255,255,0.15); }

/* — Feature List — */
.pc-list {
  list-style: none; flex: 1;
  display: flex; flex-direction: column; gap: 11px; margin-bottom: 28px;
}
.pc-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.875rem; color: var(--dark-2);
}
.pc-featured .pc-list li { color: rgba(255,255,255,0.85); }

.pc-check {
  width: 22px; height: 22px; flex-shrink: 0;
  background: #dcfce7; color: #16a34a;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.63rem;
}
.pc-check-feat { background: rgba(255,255,255,0.18) !important; color: var(--yellow) !important; }

/* — CTA Button — */
.pc-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--primary-bg); color: var(--primary);
  font-weight: 700; font-size: 0.92rem;
  padding: 14px 24px; border-radius: 50px;
  transition: var(--ease); margin-top: auto;
}
.pc-btn:hover {
  background: var(--primary); color: var(--white);
  transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,86,179,0.3);
}
.pc-btn i { transition: transform 0.25s ease; }
.pc-btn:hover i { transform: translateX(4px); }

.pc-btn-feat {
  background: var(--yellow); color: var(--dark);
  box-shadow: 0 8px 24px rgba(255,195,0,0.4);
}
.pc-btn-feat:hover {
  background: var(--yellow-light); color: var(--dark);
  transform: translateY(-3px); box-shadow: 0 14px 32px rgba(255,195,0,0.52);
}

/* — Compare CTA — */
.pricing-compare {
  margin-top: 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  position: relative; z-index: 1;
  transition: var(--ease);
}
.pricing-compare:hover {
  border-color: #b8d0f5;
  box-shadow: 0 8px 32px rgba(0,86,179,0.08);
}

.pco-left { flex: 1; }

.pco-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.74rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--primary); margin-bottom: 8px;
}
.pco-eyebrow i { font-size: 0.8rem; }

.pco-text {
  font-size: 0.91rem; color: var(--gray); line-height: 1.6;
  max-width: 480px; margin: 0;
}

.pco-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--primary); color: var(--white);
  font-weight: 700; font-size: 0.92rem;
  padding: 14px 28px; border-radius: 50px;
  white-space: nowrap; flex-shrink: 0;
  transition: var(--ease);
  box-shadow: 0 8px 24px rgba(0,86,179,0.28);
}
.pco-btn i { transition: transform 0.25s ease; }
.pco-btn:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0,86,179,0.38);
}
.pco-btn:hover i { transform: translateX(5px); }

/* — Reveal delays — */
.pricing-grid .pc:nth-child(2) { transition-delay: 0.12s; }
.pricing-grid .pc:nth-child(3) { transition-delay: 0.24s; }
.wf-grid .wf-step:nth-child(2) { transition-delay: 0.08s; }
.wf-grid .wf-step:nth-child(3) { transition-delay: 0.16s; }
.wf-grid .wf-step:nth-child(4) { transition-delay: 0.24s; }
.wf-grid .wf-step:nth-child(5) { transition-delay: 0.32s; }
.wf-grid .wf-step:nth-child(6) { transition-delay: 0.40s; }

/* ===== TARJETA CORPORATIVA CARD ===== */
.tc-card {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 0.9fr;
  gap: 36px;
  align-items: center;
  background: linear-gradient(155deg, var(--primary-dark) 0%, var(--primary) 58%, var(--primary-light) 100%);
  border-radius: var(--radius-lg);
  padding: 52px 44px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1),
              box-shadow 0.35s cubic-bezier(0.4,0,0.2,1);
}
.tc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 64px rgba(0,86,179,0.44);
}

.tc-glow {
  position: absolute; top: -90px; right: -70px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,195,0,0.11); filter: blur(65px);
  pointer-events: none;
}

/* — Left — */
.tc-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--yellow); color: var(--dark);
  font-size: 0.68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 5px 14px; border-radius: 50px; margin-bottom: 14px;
}
.tc-badge i { font-size: 0.62rem; }

.tc-title {
  font-size: 1.28rem; font-weight: 800;
  color: var(--white); margin-bottom: 10px; line-height: 1.25;
}

.tc-sub {
  font-size: 0.86rem; color: rgba(255,255,255,0.65); line-height: 1.68;
}

/* — Center — */
.tc-features { display: flex; flex-direction: column; gap: 10px; }

.tc-feat {
  display: flex; align-items: center; gap: 11px;
  font-size: 0.86rem; color: rgba(255,255,255,0.85); font-weight: 500;
}
.tc-feat strong { color: var(--yellow); font-weight: 700; }
.tc-feat i {
  width: 30px; height: 30px; flex-shrink: 0;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--yellow); font-size: 0.75rem;
}

/* — Right — */
.tc-right { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }

.tc-price-block { display: flex; flex-direction: column; }

.tc-from {
  font-size: 0.72rem; color: rgba(255,255,255,0.52); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px;
}

.tc-price-row { display: flex; align-items: baseline; gap: 3px; margin-bottom: 7px; }

.tc-sym { font-size: 1.4rem; font-weight: 800; color: var(--yellow); line-height: 1; }

.tc-num { font-size: 2.9rem; font-weight: 900; color: var(--white); line-height: 1; letter-spacing: -1px; }

.tc-code { font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.52); align-self: flex-end; margin-bottom: 4px; margin-left: 3px; }

.tc-socials {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px;
}
.tc-social-pill {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7); font-size: 0.8rem;
  transition: var(--ease); cursor: default;
}
.tc-social-pill:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.3);
  color: var(--yellow);
  transform: translateY(-2px);
}

.tc-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--yellow); color: var(--dark);
  font-weight: 700; font-size: 0.92rem;
  padding: 13px 24px; border-radius: 50px;
  transition: var(--ease);
  box-shadow: 0 8px 22px rgba(255,195,0,0.38);
  white-space: nowrap;
}
.tc-btn i { transition: transform 0.25s ease; }
.tc-btn:hover {
  background: var(--yellow-light);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(255,195,0,0.52);
}
.tc-btn:hover i { transform: translateX(4px); }

/* ===== TARJETA CORPORATIVA ===== */
.tarjeta-section { background: var(--white); }
.tarjeta-wrapper {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  background: linear-gradient(135deg, #f4f8ff, #eef2ff);
  border-radius: var(--radius-lg); padding: 60px;
  border: 1px solid var(--primary-bg); overflow: hidden; position: relative;
}
.tarjeta-wrapper::after {
  content: ''; position: absolute;
  top: -80px; right: -80px; width: 240px; height: 240px;
  background: var(--yellow); opacity: 0.06; border-radius: 50%;
  pointer-events: none;
}
.tarjeta-content h2 { font-size: 1.9rem; font-weight: 800; color: var(--dark); margin: 8px 0 12px; line-height: 1.2; }
.tarjeta-content > p { color: var(--gray); line-height: 1.75; margin-bottom: 24px; }
.tarjeta-features { margin-bottom: 28px; }
.tarjeta-features li {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.9rem; font-weight: 500; color: var(--dark-2); padding: 8px 0;
}
.tarjeta-features li i { color: var(--primary); width: 20px; text-align: center; }
.tarjeta-price-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.tarjeta-price { display: flex; flex-direction: column; }
.t-price { font-size: 2rem; font-weight: 900; color: var(--primary); }
.t-price small { font-size: 0.9rem; font-weight: 600; color: var(--gray); }
.t-anticipo { font-size: 0.78rem; color: var(--gray); margin-top: 2px; }

/* CARD 3D */
.tarjeta-visual { display: flex; justify-content: center; perspective: 1000px; }
.card-3d { width: 300px; animation: cardFloat 6s ease-in-out infinite; }
@keyframes cardFloat {
  0%, 100% { transform: rotateY(-6deg) rotateX(4deg) translateY(0); }
  50%       { transform: rotateY(6deg) rotateX(-4deg) translateY(-12px); }
}
.card-front {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary) 55%, var(--primary-light));
  border-radius: 18px; padding: 28px; color: white;
  box-shadow: 0 24px 60px rgba(0,86,179,0.45);
  position: relative; overflow: hidden;
}
.card-front::before {
  content: ''; position: absolute;
  top: -70px; right: -70px; width: 200px; height: 200px;
  border-radius: 50%; background: rgba(255,195,0,0.12); pointer-events: none;
}
.card-logo-area { margin-bottom: 20px; }
.card-logo-circle {
  width: 46px; height: 46px;
  background: rgba(255,195,0,0.18); border: 2px solid rgba(255,195,0,0.45);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--yellow);
}
.card-name { font-size: 1.2rem; font-weight: 800; margin-bottom: 2px; }
.card-role { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-bottom: 20px; }
.card-contact { display: flex; flex-direction: column; gap: 7px; margin-bottom: 20px; position: relative; z-index: 1; }
.card-contact span { font-size: 0.75rem; color: rgba(255,255,255,0.8); display: flex; align-items: center; gap: 8px; }
.card-contact i { color: var(--yellow); width: 14px; flex-shrink: 0; }
.card-qr {
  position: absolute; bottom: 22px; right: 22px;
  font-size: 2.4rem; color: rgba(255,255,255,0.3);
}

/* ===== INCLUDES ===== */
.includes { background: var(--bg); }
.includes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.include-item {
  background: var(--white); border-radius: var(--radius);
  padding: 32px 24px; text-align: center;
  border: 1px solid var(--border); transition: var(--ease);
}
.include-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #c7d8f7; }
.include-icon {
  width: 68px; height: 68px;
  background: linear-gradient(135deg, var(--primary-bg), #dbeafe);
  border-radius: var(--radius); display: flex; align-items: center;
  justify-content: center; font-size: 1.6rem; color: var(--primary);
  margin: 0 auto 20px; transition: var(--ease);
}
.include-item:hover .include-icon { background: var(--primary); color: white; transform: scale(1.1) rotate(-6deg); }
.include-item h4 { font-size: 1rem; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.include-item p { font-size: 0.86rem; color: var(--gray); line-height: 1.65; }

/* ===== WORKFLOW ===== */
.workflow {
  background: linear-gradient(135deg, #003d82 0%, #001845 45%, #000918 100%);
  position: relative; overflow: hidden;
}

/* — BG — */
.wf-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.wf-blob { position: absolute; border-radius: 50%; filter: blur(90px); will-change: transform; }
.wf-b1 {
  width: 580px; height: 580px; background: var(--primary); opacity: 0.09;
  top: -180px; left: -140px;
  animation: blobFloat 12s ease-in-out infinite;
}
.wf-b2 {
  width: 420px; height: 420px; background: var(--yellow); opacity: 0.05;
  bottom: -100px; right: -100px;
  animation: blobFloat 15s ease-in-out infinite; animation-delay: -6s;
}
.wf-grid-pat {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 52px 52px;
}

/* — Header overrides — */
.wf-tag  { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.85); }
.wf-h2   { color: var(--white); }
.wf-sub  { color: rgba(255,255,255,0.75); }

/* — Grid — */
.wf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  position: relative; z-index: 1;
  margin-bottom: 18px;
}

/* — Step card — */
.wf-step {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: var(--ease);
  position: relative; overflow: hidden;
}
.wf-step::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  opacity: 0; transition: opacity 0.3s ease;
}
.wf-step:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.14);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}
.wf-step:hover::before { opacity: 1; }

.wf-num {
  display: block;
  font-size: 2.6rem; font-weight: 900;
  color: rgba(255,255,255,0.30);
  line-height: 1; margin-bottom: 14px;
  transition: color 0.3s ease;
}
.wf-step:hover .wf-num { color: rgba(255,195,0,0.90); }

.wf-body h4 {
  font-size: 0.98rem; font-weight: 700;
  color: var(--white); margin-bottom: 10px; line-height: 1.3;
}
.wf-body p {
  font-size: 0.84rem; color: rgba(255,255,255,0.72); line-height: 1.72;
}

/* — Annual card — */
.wf-annual {
  display: flex; align-items: center; gap: 36px;
  background: linear-gradient(135deg, rgba(255,195,0,0.09), rgba(255,195,0,0.04));
  border: 1px solid rgba(255,195,0,0.22);
  border-radius: var(--radius-lg);
  padding: 34px 40px;
  position: relative; z-index: 1;
  transition: var(--ease);
}
.wf-annual:hover {
  background: linear-gradient(135deg, rgba(255,195,0,0.13), rgba(255,195,0,0.07));
  border-color: rgba(255,195,0,0.35);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

.wf-a-number {
  font-size: 3.8rem; font-weight: 900;
  color: var(--yellow); opacity: 0.75;
  line-height: 1; flex-shrink: 0; min-width: 76px;
}

.wf-a-content { flex: 1; }
.wf-a-content h4 {
  font-size: 1.1rem; font-weight: 800;
  color: var(--white); margin-bottom: 8px;
}
.wf-a-content p {
  font-size: 0.86rem; color: rgba(255,255,255,0.58); line-height: 1.72; margin: 0;
}

.wf-a-pills { display: flex; flex-direction: column; gap: 9px; flex-shrink: 0; }
.wf-a-pills span {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; color: rgba(255,255,255,0.7); font-weight: 500; white-space: nowrap;
}
.wf-a-pills span i { color: var(--yellow); font-size: 0.75rem; }

/* ===== CTA ===== */
.cta-section {
  background: var(--white);
  padding: 120px 0; text-align: center; position: relative; overflow: hidden;
}

/* — BG layers — */
.cta-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.cta-blob-1 { display: none; }
.cta-blob-2 { display: none; }
.cta-blob-3 { display: none; }

/* dot grid */
.cta-dots-pat {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(0,86,179,0.09) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}

/* center radial glow */
.cta-center-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 900px; height: 600px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.85) 0%, transparent 65%);
  pointer-events: none;
}

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

/* — Stats row — */
.cta-stats {
  display: inline-flex; align-items: center;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 8px; margin-bottom: 44px;
  box-shadow: 0 4px 28px rgba(0,86,179,0.1);
}
.cta-stat { text-align: center; padding: 0 28px; }
.cs-num {
  display: block;
  font-size: 1.85rem; font-weight: 900;
  color: var(--primary); line-height: 1; margin-bottom: 4px;
}
.cs-plus { font-size: 1rem; font-weight: 800; }
.cs-label { font-size: 0.76rem; color: var(--gray); font-weight: 500; }
.cta-stat-sep { width: 1px; height: 44px; background: var(--border); flex-shrink: 0; }

/* — Heading — */
.cta-heading {
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  font-weight: 900; color: var(--dark);
  line-height: 1.18; margin: 0 auto 20px;
  max-width: 820px; letter-spacing: -0.5px;
}

/* — Negative phrase — */
.cta-negative {
  color: #dc2626;
  text-decoration: underline wavy #dc2626;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

/* — Stats line — */
.cta-stats-line {
  font-size: 0.78rem; color: var(--gray);
  font-weight: 500; letter-spacing: 0.3px;
  margin-bottom: 28px; opacity: 0.7;
}

.cta-sub {
  font-size: 1rem; color: var(--gray);
  max-width: 500px; margin: 0 auto 44px; line-height: 1.78;
}

/* — Buttons — */
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }

.btn-cta-pulse {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--yellow); color: var(--dark);
  font-weight: 700; font-size: 0.97rem;
  padding: 15px 32px; border-radius: 50px;
  transition: var(--ease);
  animation: ctaGlow 2.8s ease-in-out infinite;
}
.btn-cta-pulse:hover {
  background: var(--yellow-light);
  transform: translateY(-3px);
}

@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 8px 24px rgba(255,195,0,0.38); }
  50%       { box-shadow: 0 8px 44px rgba(255,195,0,0.68), 0 0 0 8px rgba(255,195,0,0.1); }
}

.btn-cta-ghost {
  display: inline-flex; align-items: center; gap: 9px;
  background: transparent; color: var(--dark-2);
  font-weight: 600; font-size: 0.97rem;
  padding: 14px 32px; border-radius: 50px;
  border: 2px solid var(--border);
  transition: var(--ease);
}
.btn-cta-ghost:hover {
  background: var(--primary-bg);
  border-color: #b8d0f5; color: var(--primary);
  transform: translateY(-3px);
}

/* — Micro trust — */
.cta-micro-trust {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 10px 6px;
  font-size: 0.83rem; color: var(--gray); font-weight: 500;
}
.cta-micro-trust i { color: var(--primary); margin-right: 4px; font-size: 0.76rem; }
.cmt-dot { color: var(--border); font-size: 1rem; }

/* ===== COMING SOON ===== */
.coming-soon {
  display: flex; align-items: center; justify-content: center;
  min-height: calc(100vh - 80px); padding-top: 80px;
}
.coming-content { text-align: center; padding: 40px; }
.coming-icon { font-size: 4rem; color: var(--primary-bg); margin-bottom: 24px; display: block; }
.coming-content h2 { font-size: 2rem; font-weight: 800; color: var(--dark); margin-bottom: 12px; }
.coming-content p { color: var(--gray); margin-bottom: 32px; font-size: 1rem; }

/* ===== FOOTER ===== */
footer { background: var(--dark); color: rgba(255,255,255,0.6); padding: 0 0 0; }

.footer-top-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--primary-light), var(--yellow));
}

footer .container { padding-top: 64px; }

.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 48px; padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* — Brand — */
.footer-brand { padding-right: 20px; }
.footer-logo { height: 40px; margin-bottom: 18px; filter: brightness(0) invert(1); display: block; }
.footer-logo-text { display: none; font-size: 1.4rem; font-weight: 800; color: white; margin-bottom: 16px; }
.footer-brand > p { font-size: 0.86rem; line-height: 1.78; margin-bottom: 20px; color: rgba(255,255,255,0.52); }

.footer-wa-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(37,211,102,0.1);
  border: 1px solid rgba(37,211,102,0.22);
  color: #25d366; font-size: 0.84rem; font-weight: 600;
  padding: 9px 18px; border-radius: 50px;
  margin-bottom: 22px; transition: var(--ease);
}
.footer-wa-btn i { font-size: 1rem; }
.footer-wa-btn:hover {
  background: rgba(37,211,102,0.18);
  border-color: rgba(37,211,102,0.45);
  transform: translateY(-2px);
}

.social-links { display: flex; gap: 9px; }
.social-links a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.48); transition: var(--ease); font-size: 0.88rem;
}
.social-links a:hover { background: var(--primary); color: white; border-color: var(--primary); transform: translateY(-3px); }

/* — Columns — */
.footer-col h4 {
  color: var(--white); font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 22px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col ul li { font-size: 0.86rem; color: rgba(255,255,255,0.5); }
.footer-col ul a { color: rgba(255,255,255,0.5); transition: var(--ease); }
.footer-col ul a:hover { color: var(--yellow); padding-left: 5px; }

/* — Contact items — */
.footer-contact-items { display: flex; flex-direction: column; gap: 14px; }

.fci {
  display: flex; align-items: center; gap: 12px;
  color: rgba(255,255,255,0.6); transition: var(--ease);
}
a.fci:hover { color: var(--white); transform: translateX(4px); }

.fci-icon {
  width: 34px; height: 34px; flex-shrink: 0;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem; color: #7bafd4;
  transition: var(--ease);
}
a.fci:hover .fci-icon { background: var(--primary); border-color: var(--primary); color: #fff; }

.fci-label { display: block; font-size: 0.7rem; color: rgba(255,255,255,0.32); margin-bottom: 1px; letter-spacing: 0.3px; }
.fci-val   { display: block; font-size: 0.84rem; font-weight: 500; color: rgba(255,255,255,0.72); }

/* — Bottom bar — */
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; font-size: 0.81rem; color: rgba(255,255,255,0.28);
}
.footer-bottom strong { color: rgba(255,255,255,0.5); font-weight: 600; }

/* ===== FLOATING WHATSAPP ===== */
.wa-float {
  position: fixed;
  bottom: 32px; right: 32px;
  z-index: 9999;
  opacity: 0;
  transform: translateY(16px);
  animation: waEnter .55s .9s cubic-bezier(.34,1.56,.64,1) forwards;
}
@keyframes waEnter {
  to { opacity: 1; transform: translateY(0); }
}

/* pulse rings */
.wa-ring {
  position: absolute; inset: 0;
  border-radius: 40px;
  background: rgba(37,211,102,0.16);
  animation: waRing 2.6s ease-out infinite;
  pointer-events: none;
  transition: border-radius .4s ease;
}
.wa-ring-2 { animation-delay: 1.3s; }
@keyframes waRing {
  0%   { transform: scale(1);    opacity: .65; }
  100% { transform: scale(1.55); opacity: 0;   }
}

/* pill button */
.wa-float .wa-btn {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 20px 10px 10px;
  background: linear-gradient(135deg, #27cf69 0%, #1ebe60 45%, #0f7a3b 100%);
  border-radius: 40px;
  text-decoration: none; color: #fff;
  box-shadow:
    0 6px 30px rgba(15,122,59,0.52),
    0 2px 8px rgba(0,0,0,0.22),
    inset 0 1px 0 rgba(255,255,255,0.22);
  transition:
    transform .28s cubic-bezier(.34,1.56,.64,1),
    box-shadow .28s ease,
    padding .38s cubic-bezier(.4,0,.2,1),
    border-radius .38s cubic-bezier(.4,0,.2,1),
    gap .38s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
}
.wa-float .wa-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 14px 44px rgba(15,122,59,0.64),
    0 4px 14px rgba(0,0,0,0.22),
    inset 0 1px 0 rgba(255,255,255,0.28);
}
.wa-float .wa-btn:active { transform: scale(0.97); }

/* icon */
.wa-icon-wrap {
  width: 42px; height: 42px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.wa-float .wa-btn:hover .wa-icon-wrap { transform: rotate(-10deg) scale(1.12); }

/* text */
.wa-text-wrap {
  display: flex; flex-direction: column;
  line-height: 1.25; overflow: hidden;
  max-width: 130px; max-height: 60px; opacity: 1;
  transition: max-width .38s cubic-bezier(.4,0,.2,1), max-height .38s cubic-bezier(.4,0,.2,1), opacity .3s ease;
}
.wa-status {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.67rem; font-weight: 500;
  color: rgba(255,255,255,0.82); letter-spacing: 0.3px;
}
.wa-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #b8ffd4;
  box-shadow: 0 0 7px rgba(184,255,212,0.9);
  animation: waBlink 1.8s ease-in-out infinite;
}
@keyframes waBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}
.wa-action {
  font-size: 0.93rem; font-weight: 700;
  color: #fff; white-space: nowrap;
}

/* shimmer sweep */
.wa-shine {
  position: absolute; top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,0.18) 50%, transparent 80%);
  transform: skewX(-18deg);
  animation: waShine 5s 2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes waShine {
  0%  { left: -80%; opacity: 0; }
  8%  { opacity: 1; }
  38% { left: 140%; opacity: 0; }
  100%{ left: 140%; opacity: 0; }
}

/* collapsed state (JS toggles on scroll) */
.wa-float.wa-collapsed .wa-btn {
  padding: 10px;
  border-radius: 50%;
  gap: 0;
}
.wa-float.wa-collapsed .wa-text-wrap {
  max-width: 0; max-height: 0; opacity: 0;
}
.wa-float.wa-collapsed .wa-ring {
  border-radius: 50%;
}

/* hover on collapsed → re-expand to pill */
.wa-float.wa-collapsed .wa-btn:hover {
  padding: 10px 20px 10px 10px;
  border-radius: 40px;
  gap: 10px;
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 14px 44px rgba(15,122,59,0.64),
    0 4px 14px rgba(0,0,0,0.22),
    inset 0 1px 0 rgba(255,255,255,0.28);
}
.wa-float.wa-collapsed .wa-btn:hover .wa-text-wrap {
  max-width: 130px; max-height: 60px; opacity: 1;
}
.wa-float.wa-collapsed:hover .wa-ring {
  border-radius: 40px;
}

@media (max-width: 480px) {
  .wa-float { bottom: 20px; right: 18px; }
  .wa-float .wa-btn { padding: 10px; border-radius: 50%; }
  .wa-text-wrap { display: none; }
  .wa-ring { border-radius: 50%; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .pc-featured { margin-top: 0; margin-bottom: 0; }
  .tc-card { grid-template-columns: 1fr 1fr; padding: 32px; gap: 28px; }
  .tc-right { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 900px) {
  .hero { min-height: 100vh; }
  .title-desktop { display: none; }
  .title-mobile { display: inline; }
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin: 0 auto 22px; }
  .hero-btns { justify-content: center; }
  .hero-visual { display: none; }
  .hero-social-proof {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: none;
    padding: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .includes-grid { grid-template-columns: repeat(2, 1fr); }
  .wf-grid { grid-template-columns: repeat(2, 1fr); }
  .wf-annual { flex-direction: column; align-items: flex-start; gap: 20px; padding: 28px; }
  .wf-a-pills { flex-direction: row; flex-wrap: wrap; gap: 8px 20px; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 82%; max-width: 320px;
    height: 100vh; background: white; flex-direction: column;
    align-items: stretch; padding: 0; gap: 0;
    box-shadow: -20px 0 60px rgba(0,0,0,0.15);
    transition: right 0.35s cubic-bezier(0.4,0,0.2,1); z-index: 999;
    overflow-y: auto;
  }
  .nav-links.open { right: 0; }

  /* Mobile menu header */
  .mobile-menu-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 20px; min-height: 84px;
    background: linear-gradient(135deg, #f4f8ff, #eef2ff);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 2; flex-shrink: 0;
  }
  .mobile-brand { font-size: 1.25rem; font-weight: 800; color: var(--primary); letter-spacing: -0.3px; }
  .mobile-close {
    width: 36px; height: 36px; background: white;
    border: 1.5px solid var(--border); border-radius: 50%;
    cursor: pointer; color: var(--dark-2); font-size: 0.9rem;
    display: flex; align-items: center; justify-content: center;
    transition: var(--ease);
  }
  .mobile-close:hover { background: var(--primary); color: white; border-color: var(--primary); }

  /* Nav links */
  .nav-link {
    width: 100%; display: flex; align-items: center; gap: 14px;
    font-size: 1rem; padding: 15px 20px !important;
    color: var(--dark-2) !important; border-radius: 0 !important;
    border-bottom: 1px solid var(--light-gray);
  }
  .nav-link i {
    display: flex; width: 38px; height: 38px;
    background: var(--primary-bg); border-radius: 10px;
    align-items: center; justify-content: center;
    color: var(--primary); font-size: 0.88rem;
    flex-shrink: 0; transition: var(--ease);
  }
  .nav-link span { flex: 1; }
  .nav-link::after { content: '›'; font-size: 1.4rem; color: #cbd5e1; line-height: 1; }
  .nav-link:hover, .nav-link.active { background: var(--primary-bg) !important; color: var(--primary) !important; }
  .nav-link:hover i, .nav-link.active i { background: var(--primary); color: white; }

  /* Mobile CTA */
  .mobile-menu-cta { display: block; padding: 20px; border-bottom: 1px solid var(--border); }
  .btn-cta-mobile {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--yellow); color: var(--dark);
    font-weight: 700; font-size: 0.95rem;
    padding: 14px; border-radius: 50px;
    box-shadow: var(--shadow-y); transition: var(--ease); width: 100%;
  }
  .btn-cta-mobile:hover { background: var(--yellow-light); transform: translateY(-2px); }

  /* Mobile footer */
  .mobile-menu-footer {
    display: flex; flex-direction: column; gap: 14px;
    padding: 20px; margin-top: auto; border-top: 1px solid var(--border);
  }
  .mobile-social { display: flex; gap: 8px; }
  .mobile-social a {
    width: 38px; height: 38px; background: var(--light-gray);
    border-radius: 10px; display: flex; align-items: center;
    justify-content: center; color: var(--gray);
    transition: var(--ease); font-size: 0.88rem;
  }
  .mobile-social a:hover { background: var(--primary); color: white; }
  .mobile-location { font-size: 0.78rem; color: var(--gray); display: flex; align-items: center; gap: 6px; }
  .mobile-location i { color: var(--primary); }

  .btn-cta-nav { display: none; }
  .hamburger { display: flex; z-index: 1001; }
  .stats-grid { flex-wrap: wrap; }
  .stat-item { flex: 0 0 50%; }
  .stat-divider { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pc-featured { margin-top: 0; margin-bottom: 0; }
  .pricing-compare { flex-direction: column; align-items: flex-start; padding: 24px; gap: 20px; }
  .pco-btn { width: 100%; justify-content: center; }
  .tc-card { grid-template-columns: 1fr; padding: 28px 22px; gap: 24px; }
  .tc-right { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
  .tc-btn { flex: 1; justify-content: center; min-width: 160px; }
  .wf-grid { grid-template-columns: 1fr; }
  .wf-annual { padding: 24px 20px; }
  .wf-a-number { font-size: 2.8rem; min-width: auto; }
  .cta-stats { flex-direction: column; gap: 0; padding: 8px 24px; }
  .cta-stat { padding: 12px 0; }
  .cta-stat-sep { width: 60px; height: 1px; }
  .btn-cta-pulse, .btn-cta-ghost { width: 100%; justify-content: center; }
  .includes-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .tarjeta-wrapper { padding: 28px 20px; }
  .tarjeta-price-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  /* Hero blobs más ligeros en móvil */
  .blob-1 { width: 240px; height: 240px; opacity: 0.13; }
  .blob-2 { width: 180px; height: 180px; opacity: 0.13; }
  .blob-3 { display: none; }
  .grid-pattern { opacity: 0.5; }
}

@media (max-width: 480px) {
  .section { padding: 56px 0; }
  .hero { padding-top: 72px; }
  .hero-content { padding: 16px 20px 40px; }
  .hero-title { font-size: 1.9rem; line-height: 1.28; margin-bottom: 22px; }
  .hero-sub { font-size: 0.9rem; line-height: 1.65; margin-bottom: 26px; }
  .hero-btns { gap: 10px; margin-bottom: 52px; }
  .hero-btns .btn-primary,
  .hero-btns .btn-ghost { padding: 11px 20px; font-size: 0.87rem; }
  .proof-faces .face { margin-left: -9px; }
  .proof-copy { font-size: 0.82rem; }
  .tarjeta-wrapper { padding: 24px 18px; }

  /* Intro service — mobile heading */
  .is-hl-desktop { display: none; }
  .is-hl-mobile  { display: inline; }

  /* Intro service — buttons on one line */
  .is-btns { flex-wrap: nowrap; gap: 8px; }
  .is-cta  { padding: 11px 16px; font-size: 0.85rem; flex-shrink: 0; }
  .btn-is-secondary { padding: 11px 14px; gap: 0; }
  .is-btn-label { display: none; }
}

@media (max-width: 360px) {
  .hero-title { font-size: 1.9rem; }
}
