/* Estilos compartidos por todas las páginas del sitio. */

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

:root {
  --bg: #f8f9ff;
  --surface: #ffffff;
  --surface-2: #eef0f8;
  --border: rgba(219, 219, 224, 0.9);
  --border-light: #e4e5ef;
  --primary: #0a2fd4;
  --primary-light: #0d3cff;
  --primary-dim: #0020b0;
  --accent: #0d3cff;
  --accent-light: #4d6fff;
  --green-glow: rgba(13, 60, 255, 0.10);
  --green-border: rgba(13, 60, 255, 0.22);
  --text: #111827;
  --muted: #6b7280;
  --muted-2: #9ba3af;
  --grad: linear-gradient(135deg, var(--primary-dim), var(--primary-light));
  --grad-accent: linear-gradient(135deg, var(--primary), var(--primary-light));
  --grad-mix: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--surface);
}

::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: 3px;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.grad-text {
  background: var(--grad-mix);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.grad-text-accent {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.3s, background 0.3s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-dim) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(13, 60, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(13, 60, 255, 0.45);
}

.btn-accent {
  background: var(--grad-accent);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(13, 60, 255, 0.3);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(13, 60, 255, 0.4);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-green {
  background: linear-gradient(135deg, var(--primary-dim) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(13, 60, 255, 0.3);
  border: 1px solid rgba(13, 60, 255, 0.15);
}

.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(13, 60, 255, 0.45);
}

.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 12px 0;
  background: rgba(248, 249, 255, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(219, 219, 224, 0.8);
  transition: padding 0.3s, box-shadow 0.3s;
}

nav.scrolled {
  padding: 8px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: var(--grad-accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
}

.logo-text span {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
}

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

.nav-cta .btn {
  padding: 16px 36px;
  font-size: 0.95rem;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.lang-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.lang-btn.active {
  border-color: var(--primary);
  background: var(--green-glow);
  color: var(--primary);
}

.lang-flag {
  border-radius: 2px;
  flex-shrink: 0;
  display: block;
}

.mobile-menu .lang-toggle {
  justify-content: center;
  gap: 12px;
  padding-bottom: 24px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
  width: 100%;
}

/* Desktop nav shows flags only (compact); accessible name via title attribute */
.nav-cta .lang-btn {
  padding: 9px 10px;
}

.nav-cta .lang-btn span {
  display: none;
}

.wa-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Desktop nav shows the WhatsApp icon only (compact); accessible name via title attribute */
.nav-cta .wa-btn {
  padding: 10px 12px;
  gap: 0;
}

.nav-cta .wa-btn span {
  display: none;
}

.hero-subtitle {
  display: inline-block;
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.03em;
  margin-bottom: 18px;
  padding: 7px 18px;
  background: rgba(13, 60, 255, 0.06);
  border: 1px solid rgba(13, 60, 255, 0.15);
  border-radius: 8px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(248, 249, 255, 0.98);
  backdrop-filter: blur(20px);
  z-index: 105;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: var(--primary);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 130px;
  padding-bottom: 120px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(13, 60, 255, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(13, 60, 255, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(13, 60, 255, 0.08) 0%, transparent 45%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 8s ease-in-out infinite;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(13, 60, 255, 0.12);
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(13, 60, 255, 0.06);
  bottom: -50px;
  right: -80px;
  animation-delay: 3s;
}

.orb-3 {
  width: 200px;
  height: 200px;
  background: rgba(13, 60, 255, 0.10);
  top: 40%;
  right: 10%;
  animation-delay: 5s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-30px);
  }
}

.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(to top, transparent, var(--accent));
  animation: rise linear infinite;
  opacity: 0;
}

@keyframes rise {
  0% {
    transform: translateY(0);
    opacity: 0;
  }

  10% {
    opacity: 0.5;
  }

  90% {
    opacity: 0.2;
  }

  100% {
    transform: translateY(-100vh);
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 100px;
  background: rgba(13, 60, 255, 0.12);
  border: 1px solid rgba(13, 60, 255, 0.30);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0.3
  }
}

.hero h1 {
  font-size: clamp(2.3rem, 4.8vw, 3.9rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  text-shadow: 0 2px 40px rgba(13, 60, 255, 0.08);
}

.hero p {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions .btn {
  padding: 18px 36px;
  font-size: 1rem;
  border-radius: 12px;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollDown 1.8s ease-in-out infinite;
}

@keyframes scrollDown {
  0% {
    transform: scaleY(0);
    transform-origin: top
  }

  50% {
    transform: scaleY(1);
    transform-origin: top
  }

  51% {
    transform: scaleY(1);
    transform-origin: bottom
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom
  }
}

/* ── STATS ── */
.stats-bar {
  padding: 48px 0;
  background: var(--surface);
  border-top: 2px solid rgba(13, 60, 255, 0.15);
  border-bottom: 2px solid rgba(13, 60, 255, 0.15);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 8px;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.benefit-icon {
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 50%;
  background: rgba(13, 60, 255, 0.10);
  color: var(--primary);
}

.benefit-label {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ── SECTIONS ── */
.section {
  padding: 72px 0;
}

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

.section-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 6px;
  background: rgba(13, 60, 255, 0.08);
  border: 1px solid rgba(13, 60, 255, 0.18);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-tag-accent {
  background: rgba(13, 60, 255, 0.08);
  border-color: rgba(13, 60, 255, 0.15);
  color: var(--accent);
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Video de presentación (antes de servicios) ── */
.video-section {
  padding: 80px 0 0;
}

.promo-video {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  background: var(--navy, #0b1640);
  box-shadow: 0 30px 70px rgba(11, 22, 64, 0.22);
}

.promo-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-video-sound {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(11, 22, 64, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.promo-video-sound:hover {
  background: rgba(13, 60, 255, 0.85);
}

.promo-video-sound:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.promo-video-sound[hidden] {
  display: none;
}

@media (max-width: 600px) {
  .video-section {
    padding-top: 56px;
  }

  .promo-video {
    border-radius: 16px;
  }

  .promo-video-sound {
    top: 10px;
    right: 10px;
    padding: 8px 12px;
    font-size: 0.78rem;
  }
}

/* Precio de partida bajo el subtítulo de servicios */
.section-header p.services-price {
  display: inline-block;
  max-width: none;
  margin-top: 22px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background: var(--green-glow);
  border: 1px solid var(--green-border);
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
}

.services-price strong {
  color: var(--primary);
  font-weight: 800;
}

/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-group + .service-group {
  margin-top: 48px;
}

.service-group-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.service-group-tag {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

.service-group-tag-accent {
  color: #00A896;
}

.service-group-head p {
  color: var(--muted);
  font-size: 0.98rem;
}

.service-more {
  display: inline-block;
  margin-top: 22px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.service-more:hover {
  text-decoration: underline;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.07);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 20px 20px 0 0;
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:nth-child(1)::before {
  background: var(--grad-accent);
}

.service-card:nth-child(2)::before {
  background: var(--grad);
}

.service-card:nth-child(3)::before {
  background: var(--grad-accent);
}

.service-card:nth-child(4)::before {
  background: var(--grad);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(13, 60, 255, 0.3);
  box-shadow: 0 20px 40px rgba(13, 60, 255, 0.08);
}

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

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 24px;
}

.icon-blue {
  background: rgba(13, 60, 255, 0.10);
}

.icon-orange {
  background: rgba(13, 60, 255, 0.08);
}

.icon-lightblue {
  background: rgba(13, 60, 255, 0.12);
}

.icon-navy {
  background: rgba(13, 60, 255, 0.10);
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 20px;
}

.service-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 500;
}

.service-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  min-width: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 0.55em;
}

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: center;
}

.about-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 48px rgba(13, 60, 255, 0.12);
}

.about-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.about-role {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin: 6px 0 20px;
}

.about-bio {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 620px;
}

.about-team {
  max-width: 620px;
  margin: -12px 0 28px;
  padding: 16px 20px;
  border-left: 3px solid var(--primary);
  border-radius: 0 12px 12px 0;
  background: var(--green-glow);
  color: var(--text);
  line-height: 1.75;
}

.about-tools-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.about-tools {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.about-tools li {
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.about-linkedin {
  margin-top: 28px;
}

/* ── VALUE PROPOSITION ── */
.value-section {
  background: var(--surface);
  padding-top: 24px;
}

.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.value-grid.no-visual {
  grid-template-columns: 1fr;
}

.value-grid.no-visual .value-content>p {
  max-width: 720px;
}

.value-grid.no-visual .value-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 48px;
}

.value-visual[hidden],
.visual-card[hidden] {
  display: none;
}

.value-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 20px;
}

.value-content>p {
  color: var(--muted);
  margin-bottom: 36px;
  line-height: 1.8;
}

.value-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-check {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  margin-top: 2px;
}

.check-blue {
  background: rgba(13, 60, 255, 0.12);
  color: var(--primary);
}

.check-orange {
  background: rgba(13, 60, 255, 0.10);
  color: var(--accent);
}

.check-lightblue {
  background: rgba(13, 60, 255, 0.14);
  color: var(--primary-light);
}

.check-navy {
  background: rgba(13, 60, 255, 0.08);
  color: var(--primary-dim);
}

.feature-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text);
}

.feature-item p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.value-visual {
  position: relative;
  height: 420px;
}

.visual-card {
  position: absolute;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.vc-main {
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
}

.vc-metric {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}

.vc-sub {
  font-size: 0.85rem;
  color: var(--muted);
}

.vc-bar {
  height: 6px;
  border-radius: 3px;
  background: var(--border);
  margin-top: 20px;
  overflow: hidden;
}

.vc-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--grad);
  width: 0;
}

.vc-bar-fill.animate {
  animation: grow 2s ease-out forwards;
}

@keyframes grow {
  from {
    width: 0
  }

  to {
    width: 85%
  }
}

.vc-float {
  top: 20px;
  right: -16px;
  min-width: 160px;
}

.vc-float-value {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 4px 0;
  color: var(--text);
}

.vc-float-label {
  font-size: 0.72rem;
  color: var(--muted);
}

/* ── METHODOLOGY ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5% + 8px);
  right: calc(12.5% + 8px);
  height: 2px;
  background: linear-gradient(to right, var(--primary-dim), var(--primary), var(--primary-light), var(--accent-light));
  opacity: 0.25;
}

.step {
  text-align: center;
  padding: 16px;
}

.step-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
  transition: transform 0.3s, box-shadow 0.3s;
}

.step:hover .step-num {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(13, 60, 255, 0.15);
}

.step:nth-child(1) .step-num {
  background: rgba(13, 60, 255, 0.10);
  border-color: rgba(13, 60, 255, 0.35);
  color: var(--primary);
}

.step:nth-child(2) .step-num {
  background: rgba(13, 60, 255, 0.08);
  border-color: rgba(13, 60, 255, 0.25);
  color: var(--primary-light);
}

.step:nth-child(3) .step-num {
  background: rgba(13, 60, 255, 0.12);
  border-color: rgba(13, 60, 255, 0.30);
  color: var(--primary);
}

.step:nth-child(4) .step-num {
  background: rgba(13, 60, 255, 0.06);
  border-color: rgba(46, 232, 138, 0.30);
  color: var(--accent-light);
}

.step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.step p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── CTA ── */
.cta-section {
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(13, 60, 255, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(13, 60, 255, 0.04) 0%, transparent 60%);
  animation: ctaPulse 4s ease-in-out infinite alternate;
}

@keyframes ctaPulse {
  from {
    opacity: 0.6
  }

  to {
    opacity: 1
  }
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--green-border);
  border-top: 3px solid var(--primary);
  border-radius: 28px;
  padding: 80px 60px;
  box-shadow: 0 24px 64px rgba(13, 60, 255, 0.12), 0 0 60px rgba(13, 60, 255, 0.06);
}

.cta-inner h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 20px;
  color: var(--text);
}

.cta-inner p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-inner .section-tag {
  background: rgba(13, 60, 255, 0.12);
  border-color: rgba(13, 60, 255, 0.30);
  color: var(--accent-light);
}

/* ── LEAD FORM ── */
.lead-form {
  margin-top: 40px;
  text-align: left;
}

.form-divider {
  height: 1px;
  background: var(--border);
  margin: 40px 0;
  opacity: 0.8;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-group label .required {
  color: var(--primary);
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted-2);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 60, 255, 0.15);
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238B92A5' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-group select option {
  background: var(--surface-2);
  color: var(--text);
}

.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.form-submit-row {
  margin-top: 24px;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.form-note {
  font-size: 0.78rem;
  color: var(--muted-2);
}

.btn-submit {
  background: linear-gradient(135deg, var(--primary-dim) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: #ffffff;
  font-size: 1.05rem;
  padding: 16px 44px;
  border-radius: 12px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.02em;
  font-family: 'Inter', sans-serif;
  transition: transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(13, 60, 255, 0.3);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(13, 60, 255, 0.45);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 22px;
}

.consent-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.consent-row label {
  font-size: 0.85rem;
  line-height: 1.55;
  /* Aviso legal: contraste suficiente (WCAG AA), no el gris tenue de las notas */
  color: #475569;
  cursor: pointer;
}

.consent-row a {
  color: var(--accent);
  font-weight: 600;
}

.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 16px;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  display: none;
  grid-column: 1 / -1;
}

.form-success {
  margin-top: 40px;
  text-align: center;
}

.form-success:focus {
  outline: none;
}

.form-success[hidden] {
  display: none;
}

.form-success h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}

.form-success p {
  margin-bottom: 28px;
}

.form-status.success {
  display: block;
  background: rgba(13, 60, 255, 0.12);
  border: 1px solid rgba(13, 60, 255, 0.30);
  color: var(--primary-light);
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.10);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #F87171;
}

/* ── FOOTER ── */
footer {
  background: #0b1640;
  border-top: 1px solid rgba(13, 60, 255, 0.25);
  color: #9ba5d5;
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border-radius: 10px;
  padding: 10px 14px;
}

.footer-logo img {
  height: 96px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-brand p {
  color: #9ba5d5;
  font-size: 0.88rem;
  margin-top: 16px;
  max-width: 280px;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.footer-social a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.footer-social a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col li {
  font-size: 0.9rem;
}

.footer-col a {
  color: #9ba5d5;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(13, 60, 255, 0.2);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: #6b7a9e;
  font-size: 0.82rem;
}

.footer-bottom a {
  color: #4d6fff;
  text-decoration: none;
}

/* ── WHATSAPP FLOATING ── */
.whatsapp-float-group {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.whatsapp-float {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  animation: whatsappBounce 2s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
  animation: none;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

@keyframes whatsappBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.wa-tooltip {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--surface-2);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.whatsapp-float:hover .wa-tooltip {
  opacity: 1;
}

/* ── COOKIES ── */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 120;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: #475569;
}

.cookie-banner a {
  color: var(--accent);
  font-weight: 600;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-actions .btn {
  padding: 10px 18px;
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .nav-links {
    display: none;
  }

  .nav-cta .btn,
  .nav-cta .wa-toggle,
  .nav-cta .lang-toggle {
    display: none;
  }

  .hamburger {
    display: flex;
  }

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

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-photo {
    max-width: 300px;
    margin: 0 auto;
  }

  .value-visual {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid::before {
    display: none;
  }
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .cookie-actions .btn {
    flex: 1;
    justify-content: center;
  }

  .value-grid.no-visual .value-features {
    grid-template-columns: 1fr;
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .cta-inner {
    padding: 48px 24px;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 7vw, 2.6rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .whatsapp-float-group {
    bottom: 20px;
    right: 20px;
    gap: 10px;
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }

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

  .form-group.full-width {
    grid-column: 1;
  }

  .form-submit-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-submit {
    text-align: center;
  }
}

/* ── PÁGINAS DE SERVICIO ── */
.sp-hero {
  padding: 150px 0 64px;
  background:
    radial-gradient(ellipse at 15% 40%, rgba(13, 60, 255, 0.09) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 20%, rgba(13, 60, 255, 0.05) 0%, transparent 50%);
}

.sp-back {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}

.sp-back:hover {
  color: var(--primary);
}

.sp-hero-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.sp-hero-head .service-icon {
  margin-bottom: 0;
}

.sp-hero-head .section-tag {
  margin-bottom: 0;
}

.sp-hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 820px;
  margin-bottom: 20px;
}

.sp-intro {
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  color: var(--muted);
  max-width: 660px;
  line-height: 1.8;
  margin-bottom: 32px;
}

.sp-section {
  padding: 48px 0;
}

.sp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.sp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}

.sp-card-accent {
  border-top: 3px solid var(--primary);
}

.sp-card h2,
.sp-h2 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.sp-h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin-bottom: 24px;
}

.sp-card p {
  color: var(--muted);
  line-height: 1.8;
}

.sp-narrow {
  max-width: 820px;
}

.sp-deliverables {
  list-style: none;
  display: grid;
  gap: 14px;
}

.sp-deliverables li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-weight: 500;
  line-height: 1.6;
}

.sp-deliverables svg {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  padding: 5px;
  border-radius: 8px;
  background: rgba(13, 60, 255, 0.10);
  color: var(--primary);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  color: var(--primary);
  font-size: 1.3rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.75;
}

.service-page .cta-actions .hero-actions {
  justify-content: center;
}

@media (max-width: 960px) {
  .sp-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .sp-hero {
    padding: 120px 0 40px;
  }

  .sp-card {
    padding: 26px;
  }

  .service-page .hero-actions {
    flex-direction: column;
  }

  .service-page .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ── PLANES ── */
section[hidden],
.cases-grid[hidden],
.testimonials-grid[hidden] {
  display: none;
}

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

.plan-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}

.plan-name {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.plan-desc {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.plan-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 0;
  margin-bottom: 18px;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.plan-price strong {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
}

.plan-from,
.plan-period {
  font-size: 0.8rem;
  color: var(--muted);
}

.plan-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 0.9rem;
}

.plan-list li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  margin-right: 8px;
}

.plan-cta {
  margin-top: auto;
  justify-content: center;
}

/* ── CASOS Y TESTIMONIOS ── */
.cases-grid,
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonials-grid {
  margin-top: 24px;
}

.case-card,
.quote-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}

.case-client {
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.case-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 14px 0 4px;
}

.case-label-result {
  color: var(--primary);
}

.case-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.case-card .case-result {
  color: var(--text);
  font-weight: 600;
}

.quote-card blockquote {
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 20px;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quote-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.quote-author strong {
  display: block;
}

.quote-author span {
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 960px) {
  .plans-grid {
    grid-template-columns: 1fr;
  }
}

/* ── RECURSOS ── */
.resource-list {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.resource-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
}

.resource-card:has(input:checked) {
  border-color: var(--primary);
  background: var(--green-glow);
}

.resource-card input {
  margin-top: 4px;
  accent-color: var(--primary);
}

.resource-body {
  display: grid;
  gap: 4px;
}

.resource-body span {
  color: var(--muted);
  font-size: 0.92rem;
}

.resource-form {
  margin-top: 8px;
}

.resource-soon {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 620px;
}

/* ── PERFIL (QUIÉN ESTÁ DETRÁS) ── */
.about-grid {
  align-items: start;
}

.about-photo {
  position: sticky;
  top: 110px;
}

.about-langs {
  margin-top: 14px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}

.about-block {
  margin-bottom: 28px;
}

.about-creds {
  list-style: none;
  display: grid;
  gap: 8px;
}

.about-creds li {
  position: relative;
  padding-left: 22px;
  font-size: 0.92rem;
  font-weight: 500;
}

.about-creds li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--primary);
  opacity: 0.8;
}

.about-exp-summary {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.8;
}

@media (max-width: 960px) {
  .about-photo {
    position: static;
  }
}

/* ── PREGUNTAS FRECUENTES (portada) ── */
.faq-home {
  margin: 0 auto;
}

/* ════════════════════════════════════════════════════════════════
   AJUSTES VISUALES 2026-10
   Capa sobre los estilos anteriores (se puede retirar como bloque).
   ════════════════════════════════════════════════════════════════ */

:root {
  --navy: #0b1640;
  --navy-2: #121f52;
  --teal: #00A896;
  --radius-pill: 999px;
}

/* Títulos y párrafos que cortan mejor las líneas */
h1, h2, h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

/* Los anclas no quedan tapadas por el menú fijo */
section[id] {
  scroll-margin-top: 84px;
}

/* Foco visible para navegación con teclado */
:focus-visible {
  outline: 3px solid var(--accent-light);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Botones en píldora */
.btn,
.btn-submit {
  border-radius: var(--radius-pill);
}

.hero-actions .btn {
  border-radius: var(--radius-pill);
}

/* ── Hero centrado en una sola columna ── */
.hero-grid {
  display: flex;
  justify-content: center;
  text-align: center;
}

.hero .hero-content {
  max-width: 940px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 4.1rem);
}

.hero p {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  justify-content: center;
}

.hero-badge::before {
  flex-shrink: 0;
}

/* ── Tarjetas: borde degradado sutil al pasar el cursor ── */
.service-card,
.sp-card,
.plan-card {
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.service-card:hover,
.sp-card:hover,
.plan-card:hover {
  border-color: transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, rgba(13, 60, 255, 0.55), rgba(0, 168, 150, 0.55)) border-box;
  box-shadow: 0 24px 48px rgba(11, 22, 64, 0.10);
}

.service-icon {
  background: linear-gradient(135deg, rgba(13, 60, 255, 0.12), rgba(0, 168, 150, 0.12)) !important;
}

/* ── Metodología en banda oscura (ritmo visual entre secciones claras) ── */
#metodologia {
  background:
    radial-gradient(ellipse at 15% 0%, rgba(13, 60, 255, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 100%, rgba(0, 168, 150, 0.22) 0%, transparent 50%),
    var(--navy);
  color: #e6e9f5;
}

#metodologia .section-header h2,
#metodologia .step h3 {
  color: #ffffff;
}

#metodologia .section-header h2 span[style] {
  color: #8fa6ff !important;
}

#metodologia .section-header p,
#metodologia .step p {
  color: #aab3d6;
}

#metodologia .section-tag {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #c9d3ff;
}

#metodologia .step .step-num {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(143, 166, 255, 0.45) !important;
  color: #ffffff !important;
}

#metodologia .steps-grid::before {
  opacity: 0.5;
}

/* ── Franja de beneficios más ligera ── */
.stats-bar {
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

/* ── Preguntas frecuentes: estado abierto destacado ── */
.faq-item[open] {
  border-color: rgba(13, 60, 255, 0.35);
  box-shadow: 0 10px 28px rgba(13, 60, 255, 0.08);
}

/* ── Movimiento reducido: sin partículas, órbitas ni rebotes ── */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .particles,
  .orb {
    display: none;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }
}

.hero-badge {
  font-size: 0.84rem;
  padding: 8px 18px;
  border-radius: 16px;
  line-height: 1.5;
}

.hero-actions .btn {
  padding: 16px 28px;
  font-size: 0.97rem;
}

/* ── HERRAMIENTAS (calculadora y diagnóstico) ── */
.services-tools-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.services-tools-cta .btn {
  justify-content: center;
  text-align: center;
}

.tools-band {
  padding: 24px 0 56px;
}

.tools-band-title {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 800;
  margin-bottom: 20px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tool-card {
  display: grid;
  gap: 4px;
  align-content: start;
  padding: 16px 18px;
  border-radius: 14px;
  text-decoration: none;
  color: #ffffff;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(0, 168, 150, 0.35) 0%, transparent 60%),
    linear-gradient(135deg, var(--primary-dim), var(--primary-light));
  box-shadow: 0 16px 36px rgba(13, 60, 255, 0.22);
  transition: transform 0.25s, box-shadow 0.25s;
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(13, 60, 255, 0.3);
}

.tool-card strong {
  font-size: 0.98rem;
}

.tool-card strong::after {
  content: ' →';
}

.tool-card span {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.84rem;
}

.tool-root {
  margin-top: 8px;
}

.calc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.calc-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}

.calc-panel-results {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(13, 60, 255, 0.06) 0%, transparent 60%),
    var(--surface);
}

.calc-inputs {
  display: grid;
  gap: 22px;
}

.calc-row {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 14px;
}

.calc-field {
  display: grid;
  gap: 6px;
  align-content: start;
}

.calc-field label {
  font-weight: 600;
  font-size: 0.92rem;
}

.calc-field input[type="number"],
.calc-field input[type="text"],
.calc-field input[type="email"],
.calc-field select {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  color: var(--text);
  width: 100%;
}

.calc-field input[type="range"] {
  accent-color: var(--primary);
  width: 100%;
}

.calc-pct-value {
  font-weight: 800;
  color: var(--primary);
  font-size: 1.1rem;
}

.calc-help {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}

.calc-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.calc-card {
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 18px;
  background: var(--surface);
}

.calc-card-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.calc-card-hours {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  margin-top: 6px;
}

.calc-card-money {
  font-weight: 700;
  margin-top: 2px;
  word-break: break-word;
}

.calc-disclaimer {
  margin: 18px 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
  padding: 12px 14px;
  border-left: 3px solid var(--teal);
  background: rgba(0, 168, 150, 0.06);
  border-radius: 0 10px 10px 0;
}

.calc-email {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
}

.calc-email h3 {
  font-size: 1.15rem;
  margin-bottom: 16px;
}

/* Diagnóstico */
.diag-card,
.diag-result {
  max-width: 760px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}

.diag-progress {
  height: 6px;
  border-radius: 999px;
  background: var(--border-light);
  overflow: hidden;
  margin-bottom: 14px;
}

.diag-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--teal));
  transition: width 0.3s;
}

.diag-step {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}

.diag-question {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  margin: 8px 0 20px;
}

.diag-options {
  display: grid;
  gap: 10px;
}

.diag-option {
  text-align: left;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  font: inherit;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.diag-option:hover,
.diag-option.selected {
  border-color: var(--primary);
  background: var(--green-glow);
}

.diag-back {
  margin-top: 16px;
  background: none;
  border: none;
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.diag-result h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  margin-bottom: 8px;
}

.diag-intro {
  color: var(--muted);
  margin-bottom: 20px;
}

.diag-area {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 12px;
}

.diag-area-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.diag-area-head h3 {
  font-size: 1.05rem;
}

.diag-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.diag-high .diag-badge {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
}

.diag-mid .diag-badge {
  background: rgba(245, 158, 11, 0.15);
  color: #92400e;
}

.diag-ok .diag-badge {
  background: rgba(0, 168, 150, 0.14);
  color: #047857;
}

.diag-area ul {
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  display: grid;
  gap: 6px;
}

.diag-area .service-more {
  margin-top: 10px;
}

.diag-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .calc-layout,
  .tools-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .calc-results,
  .calc-row {
    grid-template-columns: 1fr;
  }

  .diag-card,
  .diag-result,
  .calc-panel,
  .calc-email {
    padding: 22px;
  }
}

/* ── BLOG ── */
.blog-list {
  display: grid;
  gap: 16px;
  max-width: 820px;
}

.blog-card {
  display: grid;
  gap: 6px;
  padding: 24px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
  border-color: rgba(13, 60, 255, 0.35);
  box-shadow: 0 14px 30px rgba(13, 60, 255, 0.08);
}

.blog-card strong {
  font-size: 1.2rem;
}

.blog-card span:last-child {
  color: var(--muted);
}

.blog-meta {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 10px;
}

.blog-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #1f2937;
}

.blog-body h2 {
  font-size: 1.6rem;
  margin: 36px 0 12px;
}

.blog-body h3 {
  font-size: 1.25rem;
  margin: 28px 0 10px;
}

.blog-body p,
.blog-body ul,
.blog-body ol,
.blog-body blockquote {
  margin-bottom: 18px;
}

.blog-body ul,
.blog-body ol {
  padding-left: 24px;
}

.blog-body a {
  color: var(--primary);
  font-weight: 600;
}

.blog-body blockquote {
  border-left: 3px solid var(--primary);
  padding: 4px 0 4px 18px;
  color: var(--muted);
  font-style: italic;
}

.blog-body code {
  background: var(--surface-2);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.92em;
}

.blog-cta {
  margin-top: 48px;
  padding: 32px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--green-border);
  border-top: 3px solid var(--primary);
}

.blog-cta h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.blog-cta p {
  color: var(--muted);
  margin-bottom: 20px;
}

/* Elementos que dependen de si hay agenda en línea (BOOKING_URL): el atributo
   hidden debe ganarle a display: inline-flex de .btn */
[data-booking-only][hidden],
[data-no-booking][hidden] {
  display: none !important;
}
