:root {
  --navy: #071a35;
  --navy-2: #0d2a52;
  --blue: #1c6fe8;
  --blue-bright: #17a3ff;
  --ice: #eef5ff;
  --ice-2: #dcedff;
  --white: #ffffff;
  --ink: #0c1c33;
  --slate: #334155;
  --slate-light: #64748b;
  --line: #dfe8f5;
  --radius: 14px;
}

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

html {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.15;
  text-rendering: optimizeLegibility;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

/* ---------- FLOATING PILL NAVBAR ---------- */
header {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1020px, calc(100% - 32px));
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 6px 20px;
  transition: all 0.25s ease;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 24px rgba(10, 40, 90, 0.09);
  border-color: rgba(28, 111, 232, 0.15);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  user-select: none;
  letter-spacing: -0.01em;
}

.logo-img {
  height: 38px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}

.logo:hover .logo-img {
  transform: scale(1.03);
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue) 60%, var(--navy-2));
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(28, 111, 232, 0.35);
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 2px solid #fff;
  border-radius: 50%;
  border-right-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(45deg);
}

.nav-links {
  display: flex;
  gap: 22px;
  font-size: 0.86rem;
  color: var(--slate);
  font-weight: 500;
}

.nav-links a {
  position: relative;
  transition: color 0.2s ease;
  padding: 4px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: width 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta .btn {
  padding: 7px 16px;
  font-size: 0.82rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  border: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-bright), var(--blue));
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(28, 111, 232, 0.5);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -6px rgba(28, 111, 232, 0.65);
}

.btn-ghost {
  background: #ffffff;
  color: var(--navy);
  border: 1px solid var(--line);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--ice);
}

.sign-in {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  transition: color 0.15s ease;
}

.sign-in:hover {
  color: var(--blue);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- HERO (MATCHING REFERENCE IMAGE) ---------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: clamp(80px, 12vh, 105px) 0 clamp(24px, 4.5vh, 48px);
  box-sizing: border-box;
  background: #ffffff;
}

/* Full video/gif covering the hero background - 100% natural, NO effects */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.hero-bg-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}

/* Upper hero content (Badge, Title, Subtitle, Buttons) over white portion */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: auto 0;
}

.hero-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 6px;
  border-radius: 999px;
  background: var(--ice);
  border: 1px solid var(--ice-2);
  font-size: clamp(0.75rem, 0.95vw, 0.82rem);
  color: var(--navy-2);
  font-weight: 500;
  margin-bottom: clamp(10px, 1.8vh, 18px);
  animation: fadeInDown 0.6s ease-out;
}

.badge-tag {
  background: linear-gradient(135deg, var(--blue-bright), var(--blue));
  color: #fff;
  font-weight: 700;
  font-size: 0.68rem;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  line-height: 1.14;
  color: var(--navy);
  margin-bottom: clamp(10px, 1.8vh, 18px);
  letter-spacing: -0.02em;
  animation: fadeInUp 0.7s ease-out;
}

.hero p {
  color: var(--slate);
  font-size: clamp(0.92rem, 1.15vw, 1.06rem);
  line-height: 1.5;
  max-width: 580px;
  margin: 0 auto clamp(16px, 2.5vh, 26px);
  animation: fadeInUp 0.8s ease-out;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  animation: fadeInUp 0.9s ease-out;
}

/* ---------- FLOATING STATS AT BOTTOM (DIRECTLY ON THE BLUE WAVE) ---------- */
.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
  animation: fadeInUp 1s ease-out;
}

.stat-item {
  text-align: center;
  flex: 1;
}

.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.85rem, 3.2vw, 2.7rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.stat-label {
  font-size: clamp(0.78rem, 0.95vw, 0.9rem);
  color: rgba(255, 255, 255, 0.9);
  margin-top: 4px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- SECTION SHARED ---------- */
section {
  padding: 100px 0;
}

.section-head {
  max-width: 560px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--slate);
  font-size: 1.02rem;
}

/* ---------- SERVICES (SOBER & PROFESSIONAL BRAND BLUE) ---------- */
.services {
  background: var(--ice);
  position: relative;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.service-card {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: 28px 22px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 340px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 18px rgba(7, 26, 53, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
  box-sizing: border-box;
  text-decoration: none;
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(28, 111, 232, 0.45);
  box-shadow: 0 16px 36px -10px rgba(7, 26, 53, 0.12);
}

.service-card:hover::before {
  opacity: 1;
}

/* Professional blue icon badge */
.service-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--ice);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.25s ease;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  display: block;
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--blue-bright), var(--blue));
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(28, 111, 232, 0.4);
}

.service-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.14rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  min-height: 2.5em;
}

.service-card p {
  color: var(--slate);
  font-size: 0.89rem;
  line-height: 1.55;
  font-weight: 400;
  margin: 0 0 24px;
  flex-grow: 1;
}

/* Footer of each card with category tag and interactive arrow */
.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--ice-2);
}

.service-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--ice);
  color: var(--blue);
  transition: background 0.2s ease, color 0.2s ease;
}

.service-card:hover .service-tag {
  background: rgba(28, 111, 232, 0.12);
  color: var(--navy);
}

.service-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ice);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  transition: all 0.25s ease;
}

.service-arrow svg {
  display: block;
}

.service-card:hover .service-arrow {
  transform: translate(2px, -2px);
  background: var(--blue);
  color: #ffffff;
}

/* ---------- PROCESS ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-grid::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px);
  z-index: 1;
}

.process-grid::after {
  content: "";
  position: absolute;
  top: 19px;
  left: 12%;
  right: 12%;
  height: 4px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(28, 111, 232, 0.3) 15%, #17a3ff 50%, rgba(28, 111, 232, 0.3) 85%, transparent 100%);
  background-size: 38px 100%;
  background-repeat: no-repeat;
  mask-image: repeating-linear-gradient(90deg, #000 0 8px, transparent 8px 16px);
  -webkit-mask-image: repeating-linear-gradient(90deg, #000 0 8px, transparent 8px 16px);
  filter: drop-shadow(0 0 6px #17a3ff) drop-shadow(0 0 2px #1c6fe8);
  animation: lightUpDashes 3s linear infinite;
}

@keyframes lightUpDashes {
  0% {
    background-position: -40px 0;
  }
  100% {
    background-position: calc(100% + 40px) 0;
  }
}

.process-step {
  position: relative;
  padding: 0 16px;
  text-align: center;
}

.process-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0 auto 22px;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(7, 26, 53, 0.2);
}

.process-step:nth-child(2) .process-num {
  background: linear-gradient(135deg, var(--blue-bright), var(--blue));
  box-shadow: 0 4px 12px rgba(28, 111, 232, 0.35);
}

.process-step:nth-child(3) .process-num {
  background: linear-gradient(135deg, var(--blue-bright), var(--blue));
  box-shadow: 0 4px 12px rgba(28, 111, 232, 0.35);
}

.process-step h4 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.process-step p {
  color: var(--slate);
  font-size: 0.92rem;
  line-height: 1.48;
}

/* ---------- PLANS ---------- */
.plans {
  background: var(--ice);
}

.plans .wrap {
  max-width: 1440px;
  padding: 0 32px;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.plan-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 24px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 4px 18px rgba(7, 26, 53, 0.04);
}

.plan-card:hover {
  border-color: rgba(28, 111, 232, 0.45);
  box-shadow: 0 16px 36px -8px rgba(10, 40, 90, 0.16);
}

.plan-card.featured {
  background: linear-gradient(165deg, #0d2a52 0%, #071a35 60%, #051428 100%);
  color: #fff;
  border: 1px solid rgba(23, 163, 255, 0.35);
  margin-top: -10px;
  margin-bottom: 10px;
  box-shadow: 0 28px 65px -16px rgba(7, 26, 53, 0.5), 0 0 0 1px rgba(28, 111, 232, 0.25);
}

.plan-card.featured:hover {
  box-shadow: 0 32px 70px -16px rgba(7, 26, 53, 0.65), 0 0 24px -4px rgba(23, 163, 255, 0.4);
  border-color: rgba(23, 163, 255, 0.65);
}

.plan-badge-top {
  align-self: flex-start;
  background: rgba(28, 111, 232, 0.08);
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 10px;
  border: 1px solid rgba(28, 111, 232, 0.18);
}

.plan-tag {
  align-self: flex-start;
  background: linear-gradient(135deg, rgba(23, 163, 255, 0.28), rgba(28, 111, 232, 0.38));
  color: #7fc2ff;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
  border: 1px solid rgba(127, 194, 255, 0.35);
  box-shadow: 0 4px 14px rgba(28, 111, 232, 0.25);
}

.plan-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.32rem;
  line-height: 1.25;
  margin-bottom: 6px;
  color: var(--navy);
  min-height: 2.5em;
  display: flex;
  align-items: flex-end;
}

.plan-card.featured .plan-name {
  color: #ffffff;
}

.plan-desc {
  font-size: 0.92rem;
  color: #334155;
  margin-bottom: 14px;
  line-height: 1.48;
  min-height: 2.8em;
}

.plan-card.featured .plan-desc {
  color: #cbd5e1;
}

.plan-price-wrapper {
  background: var(--ice);
  border: 1px solid var(--ice-2);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.plan-card.featured .plan-price-wrapper {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.price-main {
  display: flex;
  flex-direction: column;
}

.plan-price-tag {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.2;
}

.plan-card.featured .plan-price-tag {
  color: #7fc2ff;
}

.plan-price-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.plan-card.featured .plan-price-val {
  color: #ffffff;
}

.plan-price-sub {
  font-size: 0.82rem;
  color: #475569;
  text-align: right;
  line-height: 1.3;
}

.plan-card.featured .plan-price-sub {
  color: #94a3b8;
}

.plan-target {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 14px;
  font-size: 0.88rem;
  line-height: 1.48;
  min-height: 4.2em;
}

.plan-card.featured .plan-target {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

.target-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--navy);
  margin-right: 6px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.target-title svg {
  stroke: var(--blue);
  flex-shrink: 0;
}

.plan-card.featured .target-title {
  color: #7fc2ff;
}

.plan-card.featured .target-title svg {
  stroke: #7fc2ff;
}

.plan-target p {
  display: inline;
  margin: 0;
  color: #334155;
  font-size: 0.88rem;
  line-height: 1.48;
}

.plan-card.featured .plan-target p {
  color: #e2e8f0;
}

.plan-includes-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(28, 111, 232, 0.07);
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 14px;
  border-left: 3px solid var(--blue);
}

.plan-includes-badge svg {
  stroke: var(--blue);
  flex-shrink: 0;
}

.plan-card.featured .plan-includes-badge {
  background: rgba(23, 163, 255, 0.12);
  color: #ffffff;
  border-left-color: #17a3ff;
}

.plan-card.featured .plan-includes-badge svg {
  stroke: #17a3ff;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.9rem;
  line-height: 1.48;
  color: #334155;
}

.plan-card.featured .plan-features li {
  color: #e2e8f0;
}

.plan-features li .feature-text {
  flex: 1;
}

.plan-features li strong {
  color: #0f172a;
  font-weight: 600;
  font-size: 0.9rem;
}

.plan-card.featured .plan-features li strong {
  color: #ffffff;
}

.check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ice-2);
  color: var(--blue);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  margin-top: 2px;
}

.plan-card.featured .check {
  background: rgba(255, 255, 255, 0.14);
  color: #7fc2ff;
}

/* Servicios Adicionales en cada Tarjeta */
.plan-addons {
  background: rgba(28, 111, 232, 0.04);
  border: 1px dashed rgba(28, 111, 232, 0.28);
  border-radius: 10px;
  padding: 10px 14px;
  margin-top: auto;
  margin-bottom: 14px;
}

.plan-card.featured .plan-addons {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}

.addons-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 6px;
}

.addons-label svg {
  stroke: var(--blue);
  flex-shrink: 0;
}

.plan-card.featured .addons-label {
  color: #7fc2ff;
}

.plan-card.featured .addons-label svg {
  stroke: #7fc2ff;
}

.addons-chips {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px;
}

.addon-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 5px 9px;
  font-size: 0.84rem;
  font-weight: 500;
  color: #0f172a;
  transition: all 0.2s ease;
}

.plan-card.featured .addon-chip {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f8fafc;
}

.addon-bullet {
  font-weight: 800;
  color: var(--blue);
  font-size: 0.88rem;
  line-height: 1;
}

.plan-card.featured .addon-bullet {
  color: #7fc2ff;
}

.addon-chip:hover {
  border-color: var(--blue);
}

.plan-card.featured .addon-chip:hover {
  border-color: #7fc2ff;
}

.plan-btn {
  width: 100%;
  text-align: center;
  padding: 12px 16px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  background: transparent;
  transition: all 0.22s ease;
  display: block;
  box-sizing: border-box;
}

.plan-btn:hover {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
  box-shadow: 0 8px 18px rgba(7, 26, 53, 0.15);
}

.plan-card.featured .plan-btn {
  background: linear-gradient(135deg, var(--blue-bright), var(--blue));
  border: none;
  color: #fff;
  box-shadow: 0 8px 22px rgba(28, 111, 232, 0.45);
}

.plan-card.featured .plan-btn:hover {
  box-shadow: 0 12px 28px rgba(28, 111, 232, 0.6);
  background: linear-gradient(135deg, #33b1ff, #1c6fe8);
}

/* Banner de Servicios Adicionales Global (debajo del grid) */
.plans-addons-footer {
  margin-top: 36px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 22px;
  box-shadow: 0 6px 20px rgba(7, 26, 53, 0.05);
}

.addons-footer-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(28, 111, 232, 0.3);
}

.addons-footer-text {
  flex: 1;
}

.addons-footer-text h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.addons-footer-text p {
  font-size: 0.88rem;
  color: var(--slate);
  margin: 0;
  line-height: 1.45;
}

.addons-footer-btn {
  padding: 11px 20px;
  border-radius: 10px;
  background: var(--ice);
  color: var(--blue);
  font-weight: 600;
  font-size: 0.88rem;
  border: 1px solid var(--line);
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.addons-footer-btn:hover {
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(28, 111, 232, 0.3);
}

.plan-nav-controls {
  display: none;
}

/* ---------- TESTIMONIALS ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.testimonial-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: #ffffff;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease;
  cursor: pointer;
}

/* Destello metálico azul que reluce y barre la tarjeta al hacer hover */
.testimonial-card::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -80%;
  width: 50%;
  height: 220%;
  background: linear-gradient(
    90deg, 
    transparent 0%, 
    rgba(23, 163, 255, 0.08) 20%, 
    rgba(28, 111, 232, 0.35) 45%, 
    rgba(23, 163, 255, 0.7) 50%, 
    rgba(28, 111, 232, 0.35) 55%, 
    rgba(23, 163, 255, 0.08) 80%, 
    transparent 100%
  );
  transform: rotate(25deg);
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 0 8px rgba(23, 163, 255, 0.7));
}

.testimonial-card:hover::after {
  opacity: 1;
  animation: metallicSweep 0.85s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes metallicSweep {
  0% {
    left: -80%;
  }
  100% {
    left: 150%;
  }
}

/* Hover: Fondo blanco original intacto, elevación y resplandor azul metálico */
.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: rgba(28, 111, 232, 0.45);
  box-shadow: 
    0 16px 36px -10px rgba(10, 40, 90, 0.12),
    0 0 22px -2px rgba(28, 111, 232, 0.3);
}

.testimonial-card p {
  font-size: 0.96rem;
  color: var(--navy);
  margin-bottom: 22px;
  line-height: 1.5;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-bright), var(--navy-2));
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.testimonial-card:hover .avatar {
  transform: scale(1.05);
}

.testimonial-person .name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}

.testimonial-person .role {
  font-size: 0.8rem;
  color: var(--slate-light);
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #071a35;
  border-radius: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 70px 40px;
  text-align: center;
  color: #fff;
  border: 1.5px solid rgba(28, 111, 232, 0.35);
  box-shadow: 0 30px 70px -20px rgba(7, 26, 53, 0.5);
}

/* Vórtice circular con gradiente cónico giratorio */
.cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(170%, 900px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg at 50% 50%,
    #071a35 0deg,
    #0d2a52 65deg,
    #1c6fe8 140deg,
    #17a3ff 190deg,
    #1c6fe8 240deg,
    #0d2a52 305deg,
    #071a35 360deg
  );
  transform: translate(-50%, -50%) rotate(0deg);
  animation: ctaCircleSpin 6.5s linear infinite;
  filter: blur(48px);
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
}

/* Esfera de luz azul brillante que orbita en círculo */
.cta::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(320px, 65vw);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23, 163, 255, 0.85) 0%, rgba(28, 111, 232, 0.4) 45%, transparent 72%);
  filter: blur(38px);
  animation: ctaOrbitalSpin 5s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes ctaCircleSpin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes ctaOrbitalSpin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) translateX(min(220px, 28vw)) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg) translateX(min(220px, 28vw)) rotate(-360deg);
  }
}

.cta h2 {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  margin-bottom: 16px;
}

.cta p {
  position: relative;
  z-index: 1;
  color: #c7d6ee;
  max-width: 480px;
  margin: 0 auto 32px;
}

.cta .btn-primary {
  position: relative;
  z-index: 1;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.4);
}

/* Direct contact info inside CTA */
.cta-direct-contact {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px 32px;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.cta-direct-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #c7d6ee;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

a.cta-direct-item:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.cta-direct-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(28, 111, 232, 0.3);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
  flex-shrink: 0;
}

.cta-direct-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.3;
}

.cta-direct-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8bb2e8;
  font-weight: 700;
  margin-bottom: 2px;
}

.cta-direct-text strong {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.92rem;
}

/* ---------- FOOTER (MATCHING REFERENCE DESIGN WITH BRAND BLUE) ---------- */
footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, 
    #ffffff 0%, 
    #f2f7ff 18%, 
    #dbeafe 36%, 
    #2575fc 64%, 
    #1c6fe8 78%, 
    #0a2f6c 100%
  );
  padding: 70px 0 0;
  border-top: 1px solid rgba(223, 232, 245, 0.8);
}

.footer-wrap {
  position: relative;
  z-index: 2;
  max-width: 1200px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer-nav-group {
  display: flex;
  gap: 56px;
}

.footer-col h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin-bottom: 18px;
  text-transform: uppercase;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1e293b;
  text-transform: uppercase;
  transition: color 0.18s ease, transform 0.18s ease;
  display: inline-block;
}

.footer-col a:hover {
  color: var(--blue);
  transform: translateX(2px);
}

.footer-contact-link {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  text-transform: none !important;
  letter-spacing: 0.02em !important;
}

.footer-address-text {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 4px;
}

.footer-address-text svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--blue);
}

/* Horizontal Social Links on the right */
.footer-social-row {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 2px;
}

.footer-social-row a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--navy);
  text-transform: uppercase;
  transition: color 0.18s ease, transform 0.18s ease;
  display: inline-block;
}

.footer-social-row a:hover {
  color: var(--blue);
  transform: translateY(-2px);
}

/* Divider line */
.footer-divider {
  height: 1px;
  background: rgba(15, 23, 42, 0.14);
  margin: 44px 0 20px;
  width: 100%;
}

/* Middle meta bar */
.footer-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.82);
  padding-bottom: 24px;
}

.footer-tags {
  display: flex;
  gap: 24px;
}

.credit-link {
  color: var(--blue-bright);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.18s ease;
}

.credit-link:hover {
  color: #ffffff;
}

/* Giant Bold Typographic Statement at Bottom */
.footer-giant-title {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: 10px;
  padding: 0 16px 20px;
  text-align: center;
  user-select: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 0.84;
}

.giant-line {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 9.4vw, 8.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #ffffff;
  display: block;
  width: 100%;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.18);
  white-space: nowrap;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1020px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 900px) {
  header {
    width: calc(100% - 20px);
    top: 10px;
    padding: 5px 14px;
  }

  header .logo span {
    display: none;
  }

  header .logo-img {
    height: 32px;
  }

  .menu-toggle {
    display: flex;
    width: 32px;
    height: 32px;
    padding: 6px;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    gap: 0;
    padding: 16px 24px 20px;
    border-radius: 20px;
    border: 1px solid var(--line);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 10px 0;
    font-size: 0.96rem;
    border-bottom: 1px solid var(--ice);
  }

  .nav-cta .sign-in {
    display: none;
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }

  .process-grid::before,
  .process-grid::after {
    display: none;
  }

  .plan-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 12px 6px 20px;
    scrollbar-width: none;
  }

  .plan-grid::-webkit-scrollbar {
    display: none;
  }

  .plan-card {
    flex: 0 0 min(92vw, 440px);
    max-width: 440px;
    min-width: 290px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .plan-card.featured {
    transform: none;
    order: unset;
  }

  .plan-card.featured:hover {
    transform: translateY(-4px);
  }

  .plan-name,
  .plan-desc,
  .plan-target {
    min-height: auto;
  }

  .plans-addons-footer {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
    gap: 16px;
  }

  .addons-footer-btn {
    width: 100%;
    text-align: center;
  }

  .plan-nav-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 14px;
  }

  .plan-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--line);
    background: #ffffff;
    color: var(--navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(7, 26, 53, 0.08);
    transition: all 0.25s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .plan-nav-btn:hover,
  .plan-nav-btn:active {
    background: var(--blue);
    color: #ffffff;
    border-color: var(--blue);
    box-shadow: 0 6px 18px rgba(28, 111, 232, 0.35);
    transform: scale(1.05);
  }

  .plan-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
  }

  .plan-dots {
    display: flex;
    gap: 8px;
    align-items: center;
  }

  .plan-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #cbd8ec;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .plan-dot.active {
    width: 24px;
    background: var(--blue);
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    flex-direction: column;
    gap: 36px;
    align-items: center;
    text-align: center;
  }

  .footer-nav-group {
    flex-wrap: wrap;
    gap: 36px 48px;
    justify-content: center;
    width: 100%;
  }

  .footer-col {
    text-align: center;
  }

  .footer-col ul {
    align-items: center;
  }

  .footer-social-row {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    width: 100%;
  }

  .footer-meta-bar {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    align-items: center;
  }

  .footer-copy {
    text-align: center;
  }

  .footer-tags {
    justify-content: center;
  }

  .giant-line {
    font-size: clamp(1.8rem, 9vw, 5.8rem);
  }
}

@media (max-width: 680px) {
  .hero {
    height: auto;
    min-height: 100dvh;
    padding: 90px 0 36px;
    justify-content: space-around;
  }

  .hero-content {
    margin: 30px 0 40px;
  }

  .hero-stats {
    gap: 16px;
  }

  .stat-num {
    font-size: 1.6rem;
  }
}

@media (max-width: 640px) {
  header .logo-img {
    height: 30px;
  }

  .wrap {
    padding: 0 20px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    min-height: auto;
    padding: 24px 20px;
  }

  .service-card h3 {
    min-height: auto;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 12px;
  }

  .stat-num {
    font-size: 1.45rem;
  }

  .stat-label {
    font-size: 0.72rem;
  }

  .footer-nav-group {
    flex-direction: column;
    gap: 26px;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .footer-col {
    width: 100%;
    text-align: center;
  }

  .footer-col ul {
    align-items: center;
  }

  .footer-social-row {
    gap: 16px;
    justify-content: center;
    width: 100%;
  }

  .giant-line {
    font-size: clamp(1.4rem, 8.4vw, 3.2rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 280px;
  }

  .cta {
    padding: 50px 24px;
  }

  .cta-direct-contact {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .cta-direct-text {
    text-align: center;
  }
}

/* ---------- SOCIAL BUTTONS & WHATSAPP FLOATING BUTTON ---------- */
.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--ice);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate);
  transition: all 0.22s ease;
}

.social-btn svg {
  display: block;
}

.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.social-btn.facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: #ffffff;
}

.social-btn.instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: transparent;
  color: #ffffff;
}

.social-btn.whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
  color: #ffffff;
}

/* Floating WhatsApp Button (appears after scroll) */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              visibility 0.3s ease;
  pointer-events: none;
}

.whatsapp-float.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.whatsapp-btn {
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  position: relative;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.25s ease;
}

.whatsapp-btn svg {
  width: 30px;
  height: 30px;
  display: block;
}

.whatsapp-float:hover .whatsapp-btn {
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
}

.whatsapp-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: pulseWhatsapp 2s infinite ease-out;
  pointer-events: none;
}

@keyframes pulseWhatsapp {
  0% { transform: scale(0.95); opacity: 0.8; }
  70% { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(1.3); opacity: 0; }
}

.whatsapp-tooltip {
  background: #ffffff;
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

@media (max-width: 600px) {
  .whatsapp-tooltip {
    display: none;
  }
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }
}
