/* ===== 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; }

/* ===== NAVBAR ===== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 0; transition: var(--ease);
  background: transparent;
}
#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(--white); 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;
  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 i { font-size: 0.8rem; }
.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);
}

/* ===== 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); }
.pricing-grid .reveal:nth-child(2) { transition-delay: 0.12s; }
.pricing-grid .reveal:nth-child(3) { transition-delay: 0.24s; }

/* ===== PAGE HEADER ===== */
.page-header {
  position: relative;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
  padding: 140px 0 80px;
  overflow: hidden;
  text-align: center;
}

.ph-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.ph-blob {
  position: absolute; border-radius: 50%;
  filter: blur(70px); opacity: 0.22;
  animation: blobFloat 9s ease-in-out infinite;
}
.ph-b1 { width: 480px; height: 480px; background: var(--yellow); top: -160px; right: -100px; }
.ph-b2 { width: 320px; height: 320px; background: #0a47a0; bottom: -100px; left: -80px; animation-delay: -4s; }

@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); }
}

.ph-grid {
  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;
}

.ph-content { position: relative; z-index: 2; }

.ph-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900; color: var(--white);
  line-height: 1.15; margin: 16px 0 18px;
}
.ph-accent { color: var(--yellow); }

.ph-sub {
  font-size: 1.05rem; color: rgba(255,255,255,0.78);
  line-height: 1.75; max-width: 520px; margin: 0 auto;
}

/* ===== SERVICES / PRICING ===== */
.services { background: var(--bg); position: relative; overflow: hidden; }
#landing, #corporativa, #ecommerse { scroll-margin-top: 180px; }
#tarjeta { scroll-margin-top: 20px; }

.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;
}
.pc:not(.pc-featured) { overflow: hidden; }

.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);
}

.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;
}

.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; }

.pc-top { margin-bottom: 26px; }

.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); }

.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); }

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

.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; }

/* X item (not included) */
.pc-x {
  width: 22px; height: 22px; flex-shrink: 0;
  background: #fee2e2; color: #dc2626;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.63rem;
}
.pc-featured .pc-x { background: rgba(220,38,38,0.22); color: #fca5a5; }

/* feature group label inside list */
.pc-group {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--primary); margin-top: 10px; padding-top: 10px;
  border-top: 1px solid var(--border);
  pointer-events: none;
}
.pc-group:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.pc-group i { font-size: 0.65rem; }
.pc-group-feat { color: rgba(255,195,0,0.85) !important; border-top-color: rgba(255,255,255,0.12) !important; }

/* Anticipo item */
.pc-anticipo-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.875rem;
  background: rgba(255,195,0,0.08);
  border: 1px solid rgba(255,195,0,0.22);
  border-radius: 10px;
  padding: 9px 12px;
  margin-top: 4px;
}
.pc-anticipo-item > i {
  width: 22px; height: 22px; flex-shrink: 0;
  background: rgba(255,195,0,0.18); color: #b38600;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.62rem;
}
.pc-anticipo-item span { color: var(--dark-2); }
.pc-anticipo-item strong { color: var(--dark); }
.pc-anticipo-feat {
  background: rgba(255,195,0,0.12) !important;
  border-color: rgba(255,195,0,0.30) !important;
}
.pc-anticipo-feat span { color: rgba(255,255,255,0.8); }
.pc-anticipo-feat strong { color: var(--yellow); }
.pc-anticipo-feat > i { background: rgba(255,195,0,0.22); color: var(--yellow); }

.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);
}

/* ===== TARJETA CORPORATIVA SECTION ===== */
.tarjeta-sec {
  background: linear-gradient(135deg, #000c1f 0%, #001845 50%, #003d82 100%);
  position: relative; overflow: hidden;
}

.ts-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ts-blob {
  position: absolute; border-radius: 50%;
  filter: blur(90px); will-change: transform;
  animation: blobFloat 12s ease-in-out infinite;
}
.ts-b1 { width: 600px; height: 600px; background: var(--primary); opacity: 0.12; top: -200px; right: -150px; }
.ts-b2 { width: 400px; height: 400px; background: var(--yellow); opacity: 0.07; bottom: -150px; left: -100px; animation-delay: -6s; }
.ts-grid {
  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;
}

.ts-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
  position: relative; z-index: 1;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  overflow: hidden;
}

.ts-glow {
  position: absolute; top: -120px; right: -80px;
  width: 360px; height: 360px; border-radius: 50%;
  background: rgba(255,195,0,0.10); filter: blur(80px);
  pointer-events: none;
}
.ts-glow-2 {
  position: absolute; bottom: -100px; left: -60px;
  width: 280px; height: 280px; border-radius: 50%;
  background: rgba(0,86,179,0.18); filter: blur(70px);
  pointer-events: none;
}

/* — Left column — */
.ts-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--yellow); color: var(--dark);
  font-size: 0.7rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 6px 16px; border-radius: 50px; margin-bottom: 20px;
}
.ts-badge i { font-size: 0.65rem; }

.ts-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900; color: var(--white);
  line-height: 1.1; margin-bottom: 18px;
}
.ts-title-accent { color: var(--yellow); }

.ts-desc {
  font-size: 0.95rem; color: rgba(255,255,255,0.68);
  line-height: 1.78; margin-bottom: 32px;
}

.ts-feat-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-bottom: 36px;
}

.ts-feat-item {
  display: flex; align-items: flex-start; gap: 12px;
}

.ts-feat-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: rgba(255,195,0,0.12);
  border: 1px solid rgba(255,195,0,0.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--yellow); font-size: 0.82rem;
}

.ts-feat-item strong {
  display: block; font-size: 0.82rem; font-weight: 700;
  color: var(--white); margin-bottom: 2px;
}
.ts-feat-item span {
  display: block; font-size: 0.75rem; color: rgba(255,255,255,0.52); line-height: 1.4;
}

.ts-price-area {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
}

.ts-price-block { display: flex; flex-direction: column; }
.ts-from {
  font-size: 0.7rem; color: rgba(255,255,255,0.45); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px;
}
.ts-price-row { display: flex; align-items: baseline; gap: 3px; margin-bottom: 4px; }
.ts-sym { font-size: 1.5rem; font-weight: 800; color: var(--yellow); line-height: 1; }
.ts-num { font-size: 3.4rem; font-weight: 900; color: var(--white); line-height: 1; letter-spacing: -2px; }
.ts-mxn { font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.45); align-self: flex-end; margin-bottom: 5px; margin-left: 4px; }
.ts-note { font-size: 0.72rem; color: rgba(255,255,255,0.4); }

.ts-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--yellow); color: var(--dark);
  font-weight: 700; font-size: 0.95rem;
  padding: 14px 28px; border-radius: 50px;
  transition: var(--ease);
  box-shadow: 0 10px 28px rgba(255,195,0,0.42);
  white-space: nowrap; flex-shrink: 0;
}
.ts-btn:hover {
  background: var(--yellow-light);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(255,195,0,0.55);
}
.ts-btn i { transition: transform 0.25s ease; }
.ts-btn:hover i { transform: translateX(4px); }

/* — Right column: card mock — */
.ts-right {
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}

.ts-card-wrap { position: relative; }

.ts-card-mock {
  width: 290px;
  background: linear-gradient(155deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 28px 24px 24px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
  animation: cardFloat 5s ease-in-out infinite;
}
@keyframes cardFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%       { transform: translateY(-12px) rotate(1deg); }
}

.ts-card-mock::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 180px; height: 180px; border-radius: 50%;
  background: rgba(255,195,0,0.08); pointer-events: none;
}

.ts-card-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px;
}

.ts-card-logo {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--yellow), var(--yellow-light));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--dark);
}

.ts-card-chip {
  width: 36px; height: 26px;
  background: linear-gradient(135deg, #d4a843, #f0c040);
  border-radius: 6px; opacity: 0.8;
}

.ts-card-name {
  font-size: 1.1rem; font-weight: 800; color: var(--white);
  margin-bottom: 3px; letter-spacing: -0.3px;
}
.ts-card-role {
  font-size: 0.72rem; color: rgba(255,255,255,0.48);
  margin-bottom: 18px; line-height: 1.4;
}
.ts-card-divider {
  height: 1px; background: rgba(255,255,255,0.08); margin-bottom: 16px;
}

.ts-card-links {
  display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px;
}
.ts-card-links span {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.73rem; color: rgba(255,255,255,0.72);
}
.ts-card-links i { color: var(--yellow); width: 14px; font-size: 0.75rem; }

.ts-card-socials {
  display: flex; gap: 8px;
}
.ts-card-socials span {
  width: 30px; height: 30px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; color: rgba(255,255,255,0.55);
}

.ts-card-qr {
  position: absolute; bottom: 20px; right: 20px;
  font-size: 2rem; color: rgba(255,255,255,0.18);
}

.ts-card-shine {
  position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,0.07) 50%, transparent 80%);
  transform: skewX(-18deg);
  animation: cardShine 6s 1s ease-in-out infinite;
  pointer-events: none; border-radius: 24px; overflow: hidden;
}
@keyframes cardShine {
  0%  { left: -100%; opacity: 0; }
  10% { opacity: 1; }
  45% { left: 140%; opacity: 0; }
  100%{ left: 140%; opacity: 0; }
}

.ts-card-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.75rem; color: rgba(255,255,255,0.45); font-weight: 500;
}
.ts-card-tag i { color: rgba(255,255,255,0.35); }

/* — QR code replacement — */
.ts-qr-wrap { position: relative; }

.ts-qr-link {
  display: block;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ts-qr-link:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 30px 80px rgba(0,86,179,0.45), 0 0 0 1px rgba(255,255,255,0.15);
}

.ts-qr-img {
  display: block;
  width: 260px;
  height: auto;
  border-radius: 20px;
}

.ts-qr-overlay {
  position: absolute; inset: 0;
  background: rgba(0,86,179,0);
  display: flex; align-items: center; justify-content: center;
  border-radius: 20px;
  transition: background 0.3s;
}
.ts-qr-overlay i {
  color: #fff;
  font-size: 1.8rem;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.3s, transform 0.3s;
}
.ts-qr-link:hover .ts-qr-overlay { background: rgba(0,86,179,0.28); }
.ts-qr-link:hover .ts-qr-overlay i { opacity: 1; transform: scale(1); }

.ts-qr-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; color: rgba(255,255,255,0.55); font-weight: 500;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255,255,255,0.25);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.ts-qr-tag:hover { color: var(--yellow); border-bottom-color: var(--yellow); }
.ts-qr-tag i { font-size: 0.7rem; }

/* ===== COMPARISON TABLE ===== */
.compare-sec { background: var(--bg); }

.comp-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,86,179,0.1);
  border: 1.5px solid var(--border);
}

.comp-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.comp-table {
  width: 100%; border-collapse: collapse;
  min-width: 700px;
}

/* — Header row — */
.comp-table thead tr { background: var(--primary-dark); }

.comp-table th {
  padding: 20px 18px; text-align: center;
  font-size: 0.82rem; font-weight: 700; color: rgba(255,255,255,0.75);
  border-right: 1px solid rgba(255,255,255,0.08);
}
.comp-table th:last-child { border-right: none; }
.comp-feature-col { text-align: left !important; min-width: 200px; }

.comp-featured-col {
  background: rgba(255,195,0,0.08);
  border-right: 1px solid rgba(255,195,0,0.18) !important;
  border-left: 1px solid rgba(255,195,0,0.18);
}
.comp-table thead .comp-featured-col { background: transparent; }

.comp-plan-head {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.comp-plan-name {
  font-size: 0.9rem; font-weight: 800; color: var(--white); display: block;
}
.comp-plan-price {
  font-size: 0.75rem; color: rgba(255,255,255,0.5); font-weight: 500;
}
.comp-pop-badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--yellow); color: var(--dark);
  font-size: 0.62rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.8px;
  padding: 3px 10px; border-radius: 50px; margin-bottom: 4px;
}
.comp-pop-badge i { font-size: 0.55rem; }

/* — Body rows — */
.comp-table tbody tr { background: var(--white); border-bottom: 1px solid var(--border); }
.comp-table tbody tr:last-child { border-bottom: none; }
.comp-table tbody tr:hover:not(.comp-group-row):not(.comp-cta-row) {
  background: #f8faff;
}

.comp-table td {
  padding: 13px 18px; text-align: center;
  font-size: 0.84rem; color: var(--dark-2);
  border-right: 1px solid var(--border);
}
.comp-table td:first-child { text-align: left; font-weight: 500; color: var(--dark-2); }
.comp-table td:last-child { border-right: none; }

/* Group separator rows */
.comp-group-row td {
  background: var(--light-gray);
  font-size: 0.7rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--primary); padding: 9px 18px;
}
.comp-group-row td i { margin-right: 6px; font-size: 0.65rem; }

/* Yes / No / Text cells */
.comp-yes {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: #dcfce7; color: #16a34a; font-size: 0.62rem;
}
.comp-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: #fee2e2; color: #dc2626; font-size: 0.62rem;
}
.comp-text {
  font-size: 0.8rem; font-weight: 600; color: var(--gray);
}
.comp-text-feat { font-weight: 700 !important; }

/* Featured column in body */
.comp-table tbody .comp-featured-col {
  background: rgba(0,86,179,0.03);
  border-right: 1px solid rgba(0,86,179,0.12) !important;
  border-left: 1px solid rgba(0,86,179,0.12);
}
.comp-table tbody tr:hover .comp-featured-col { background: rgba(0,86,179,0.06); }
.comp-table .comp-group-row .comp-featured-col { background: rgba(0,86,179,0.07); }

/* CTA row */
.comp-cta-row td { padding: 22px 18px; background: var(--light-gray); border-right: 1px solid var(--border); }
.comp-cta-row .comp-featured-col { background: rgba(0,86,179,0.05); }

.comp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--yellow); color: var(--dark);
  font-weight: 700; font-size: 0.82rem;
  padding: 10px 20px; border-radius: 50px;
  transition: var(--ease);
  box-shadow: 0 6px 18px rgba(255,195,0,0.35);
}
.comp-btn:hover {
  background: var(--yellow-light); color: var(--dark);
  transform: translateY(-2px); box-shadow: 0 10px 26px rgba(255,195,0,0.48);
}
.comp-btn i { transition: transform 0.25s ease; font-size: 0.72rem; }
.comp-btn:hover i { transform: translateX(3px); }

.comp-btn-feat {
  background: var(--yellow); color: var(--dark);
  box-shadow: 0 6px 18px rgba(255,195,0,0.35);
}
.comp-btn-feat:hover {
  background: var(--yellow-light); color: var(--dark);
  box-shadow: 0 10px 26px rgba(255,195,0,0.48);
}

/* ===== CTA STRIP ===== */
.cta-strip {
  background: var(--bg);
  padding: 56px 0;
}

.cta-box {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 86, 179, 0.28);
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255, 195, 0, 0.08);
  pointer-events: none;
}
.cta-box::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

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

.cta-box-tag {
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--yellow); margin-bottom: 8px;
}

.cta-box-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800; color: var(--white);
  line-height: 1.2; margin-bottom: 8px;
}

.cta-box-sub {
  font-size: 0.92rem; color: rgba(255, 255, 255, 0.68);
}

.cta-box-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--yellow); color: var(--dark);
  font-weight: 700; font-size: 0.95rem;
  padding: 14px 30px; border-radius: 50px;
  transition: var(--ease);
  box-shadow: 0 8px 24px rgba(255, 195, 0, 0.42);
  white-space: nowrap; flex-shrink: 0;
  position: relative; z-index: 1;
}
.cta-box-btn:hover {
  background: var(--yellow-light);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(255, 195, 0, 0.55);
}
.cta-box-btn i { transition: transform 0.25s ease; }
.cta-box-btn:hover i { transform: translateX(4px); }

@media (max-width: 768px) {
  .cta-box { flex-direction: column; align-items: flex-start; padding: 36px 28px; gap: 24px; }
  .cta-box-btn { width: 100%; justify-content: center; }
}

/* ===== 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);
}

.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); }

.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); }

.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; }

.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); }

.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); } }

.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;   }
}

.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); }

.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); }

.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; }

.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; }
}

.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%; }
.wa-float.wa-collapsed .wa-btn:hover {
  padding: 10px 20px 10px 10px; border-radius: 40px; gap: 10px;
  transform: translateY(-3px) scale(1.03);
}
.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; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .pc-featured { margin-top: 0; margin-bottom: 0; }
  .ts-inner { grid-template-columns: 1fr; gap: 48px; padding: 44px 36px; }
  .ts-right { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* Scroll hint — solo móvil */
.comp-scroll-hint { display: none; }

@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 {
    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; }

  .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-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-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; }

  .pricing-grid { grid-template-columns: 1fr; }
  .pc-featured { margin-top: 0; margin-bottom: 0; }
  .ts-inner { padding: 32px 24px; gap: 36px; }
  .ts-feat-grid { grid-template-columns: 1fr; }
  .ts-price-area { flex-direction: column; align-items: flex-start; gap: 20px; }
  .ts-btn { width: 100%; justify-content: center; }
  .ts-card-mock { width: 260px; }
  .ts-right { display: flex; }
  .ts-qr-img { width: 200px; }

  .comp-scroll-hint {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    font-size: 0.78rem; color: var(--gray);
    margin-bottom: 14px;
    animation: hintSlide 1.6s ease-in-out infinite;
  }
  .comp-scroll-hint i { font-size: 0.72rem; }
  @keyframes hintSlide {
    0%, 100% { transform: translateX(0); opacity: 1; }
    50%       { transform: translateX(5px); opacity: 0.6; }
  }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .section { padding: 56px 0; }
  .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%; }
  .page-header { padding: 120px 0 60px; }
  .ph-title { font-size: 1.9rem; }
}
