@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* Variables de Diseño System */
:root {
  --font-main: 'Futura', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --bg-main: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.7);
  --bg-dark: #090d16;
  --text-dark: #0f172a;
  --text-light: #f1f5f9;
  --text-muted: #64748b;
  --color-primary: #0f172a;
  --color-accent-blue: #1e40af;
  --color-accent-purple: #6d28d9;
  --color-accent-vibrant: #4f46e5;
  --wa-color: #25d366;
  --wa-dark: #128c7e;
  --border-color: rgba(226, 232, 240, 0.8);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px -15px rgba(15, 23, 42, 0.12);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* Reset y Estilos Globales */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-dark);
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
}

/* Canvas del Cursor y Fondo Interactivo */
.interactive-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(99, 102, 241, 0.06) 0%, rgba(248, 250, 252, 0) 50%);
  transition: background 0.1s ease-out;
}

.tech-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  pointer-events: none;
  background-image: 
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* Hilo Conductor - Línea Estratégica */
.strategic-path-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.strategic-path {
  fill: none;
  stroke: url(#line-gradient);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.5));
  transition: stroke-dashoffset 0.1s ease-out;
}

/* Encabezado / Navegación */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(248, 250, 252, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-dark);
}

.logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent-blue), var(--color-accent-purple));
  transition: var(--transition-fast);
}

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

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

.nav-btn {
  background: var(--color-primary);
  color: var(--text-light) !important;
  padding: 0.6rem 1.25rem;
  border-radius: 99px;
  font-size: 0.9rem !important;
  font-weight: 600;
  border: 1px solid transparent;
  transition: var(--transition-smooth) !important;
}

.nav-btn::after {
  display: none !important;
}

.nav-btn:hover {
  background: transparent;
  color: var(--color-primary) !important;
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Hamburguesa Móvil */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-dark);
  transition: var(--transition-fast);
}

/* Botón Flotante WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--wa-color);
  color: white;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  text-decoration: none;
  transition: var(--transition-smooth);
  animation: waWiggle 4s infinite ease-in-out, waRadar 2s infinite ease-in-out;
}

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

.whatsapp-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background-color: #ef4444;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.whatsapp-tooltip {
  position: absolute;
  right: 80px;
  background: white;
  color: var(--text-dark);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: var(--transition-smooth);
  border: 1px solid var(--border-color);
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(5deg);
  background-color: var(--wa-dark);
  animation-play-state: paused;
}

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

/* Animaciones */
@keyframes waEntrance {
  0% { transform: scale(0) rotate(-45deg); opacity: 0; }
  70% { transform: scale(1.15) rotate(5deg); }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}

@keyframes waWiggle {
  0%, 100% { transform: translateY(0) scale(1); }
  8%, 16% { transform: translateY(-10px) scale(1.08) rotate(-4deg); }
  12%, 20% { transform: translateY(-10px) scale(1.08) rotate(4deg); }
  24%, 90% { transform: translateY(0) scale(1) rotate(0); }
}

@keyframes waRadar {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6), 0 0 0 0 rgba(37, 211, 102, 0.3); }
  70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0), 0 0 0 24px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes bounceArrow {
  0%, 100% { transform: translateY(0) translateX(-50%); }
  50% { transform: translateY(8px) translateX(-50%); }
}

/* Footer Común */
.footer-logo-container {
  background: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-smooth);
}

.footer-logo-container:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

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

/* Grid Layout y Contenedores */
section {
  padding: 8rem 2rem;
  position: relative;
  overflow: hidden;
}

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

/* Secciones Claras y Oscuras */
.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-dark .tech-grid {
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
}

/* Títulos y Subtítulos Premium */
.gradient-text {
  background: linear-gradient(135deg, var(--color-primary) 30%, var(--color-accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-dark .gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 3.5rem;
  max-width: 650px;
}

.section-dark .section-subtitle {
  color: #94a3b8;
}

/* Tarjetas y Contenedores de Vidrio (Glassmorphism) */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  transition: var(--transition-smooth);
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: var(--shadow-lg);
}

/* Hero Section (Index Slider) */
.hero-slider-section {
  height: 100vh;
  padding: 0;
  display: flex;
  align-items: center;
  position: relative;
  background-color: var(--bg-dark);
}

.slider-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 30%, rgba(99, 102, 241, 0.6) 100%);
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
  color: var(--text-light);
}

.hero-tag {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #a5b4fc;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: inline-block;
  border: 1px solid rgba(165, 180, 252, 0.3);
  padding: 0.4rem 1rem;
  border-radius: 99px;
  background: rgba(165, 180, 252, 0.05);
}

.hero-title {
  font-size: 4.2rem;
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-title span {
  display: block;
  background: linear-gradient(to right, #ffffff, #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.25rem;
  color: #cbd5e1;
  max-width: 700px;
  margin: 0 auto 3rem auto;
  font-weight: 400;
  line-height: 1.6;
}

.btn-group {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.25rem;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 99px;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-primary {
  background: white;
  color: var(--bg-dark);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: white;
  transform: translateY(-3px);
}

.scroll-arrow {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  animation: bounceArrow 2s infinite ease-in-out;
}

/* Sección 2: ¿Por qué existe Comunity? */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.video-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  aspect-ratio: 16/9;
  background: #000;
}

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

/* Sección 3: Manifiesto Corto */
.manifesto-section {
  background-color: var(--color-primary);
  color: white;
  text-align: center;
  padding: 6rem 2rem;
}

.manifesto-text {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 2.5rem;
  letter-spacing: -0.02em;
}

.manifesto-text span {
  display: block;
  opacity: 0.9;
}

/* Sección 4: Carrusel de Procesos */
.carousel-outer {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 2rem 0;
}

.carousel-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marquee 25s linear infinite;
}

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

.carousel-card {
  flex: 0 0 260px;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.carousel-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent-purple);
  box-shadow: var(--shadow-md);
}

.carousel-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-purple);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.carousel-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.carousel-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.carousel-card:hover .carousel-icon {
  transform: scale(1.15) rotate(5deg);
}

.carousel-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.process-summary {
  text-align: center;
  margin-top: 4rem;
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Sección 5: Testimonios Tarjetas */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 1rem;
}

.testi-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testi-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.testi-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.testi-meta h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.testi-meta p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.testi-text {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Sección 6: CTA Final */
.cta-huge-section {
  text-align: center;
  padding: 10rem 2rem;
  background-color: var(--bg-dark);
}

.cta-huge-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 4rem;
  letter-spacing: -0.03em;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.btn-huge {
  font-size: 1.5rem;
  padding: 1.5rem 4rem;
  background: linear-gradient(135deg, var(--color-accent-blue), var(--color-accent-purple));
  color: white;
  border: none;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
  letter-spacing: 0.05em;
  transition: var(--transition-smooth);
}

.btn-huge:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.5);
  filter: brightness(1.1);
}

/* Footer Común */
footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 6rem 2rem 3rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 5rem auto;
}

.footer-top h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.footer-top p {
  color: #94a3b8;
  font-size: 1.1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand img {
  height: 40px;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-links-col h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  color: white;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-col a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.footer-links-col a:hover {
  color: white;
  padding-left: 4px;
}

.footer-socials {
  display: flex;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  transition: var(--transition-smooth);
}

.footer-social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-social-link:hover {
  background: white;
  color: var(--bg-dark);
  transform: translateY(-3px);
}

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #64748b;
}

/* PAGINA DE SERVICIOS */
.services-intro-btn {
  background: var(--color-primary);
  color: white;
  padding: 1rem 2.25rem;
  border: 1px solid var(--color-primary);
  margin-top: 1.5rem;
}

.services-intro-btn:hover {
  background: transparent;
  color: var(--color-primary);
  transform: translateY(-2px);
}

.needs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.need-card {
  text-decoration: none;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border-color);
  background: white;
  border-radius: 16px;
  padding: 2rem;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.need-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent-purple);
  box-shadow: var(--shadow-md);
}

.need-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.25;
  color: var(--color-accent-purple);
}

.need-card ul {
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.need-card ul li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.need-card ul li::before {
  content: "→";
  color: var(--color-accent-purple);
  font-weight: bold;
}

/* Lista de Servicios Detallados */
.detailed-services-container {
  display: flex;
  flex-direction: column;
  gap: 8rem;
  margin-top: 4rem;
}

.service-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

.service-block:nth-child(even) {
  direction: rtl;
}

.service-block:nth-child(even) .service-content {
  direction: ltr;
}

.service-img-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.service-img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition-smooth);
}

.service-img-wrapper:hover .service-img {
  transform: scale(1.05);
}

.service-content h3 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.service-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.service-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.service-features li {
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-dark);
}

.service-features li svg {
  width: 20px;
  height: 20px;
  color: #10b981;
}

.platforms-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  margin-top: 1rem;
}

.platforms-list li {
  background: rgba(99, 102, 241, 0.08);
  color: var(--color-accent-purple);
  padding: 0.5rem 1.25rem;
  border-radius: 99px;
  font-weight: 600;
  font-size: 0.85rem;
}

/* Diferenciadores (Números Gigantes) */
.metrics-section {
  padding: 6rem 2rem;
  background-color: var(--color-primary);
  color: white;
  text-align: center;
}

.metrics-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.metric-number {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.metric-label {
  font-size: 1.1rem;
  color: #cbd5e1;
  font-weight: 500;
}

/* PAGINA DE TESTIMONIOS */
.cases-container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.case-card {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
}

.case-profile {
  text-align: center;
}

.case-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: var(--shadow-md);
  margin-bottom: 1.5rem;
}

.case-profile h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.case-profile .title {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.case-profile .location {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.case-info {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 3rem;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.case-info::before {
  content: '“';
  font-size: 8rem;
  position: absolute;
  top: -2rem;
  left: 2rem;
  color: rgba(99, 102, 241, 0.08);
  font-family: serif;
  line-height: 1;
}

.case-quote {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.case-project {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.case-btn {
  background: var(--color-primary);
  color: white;
  padding: 0.75rem 1.75rem;
  border-radius: 99px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-block;
  transition: var(--transition-smooth);
}

.case-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* Galería de Clientes Satisfechos */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.client-logo-wrapper {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.client-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: var(--transition-smooth);
}

.client-logo-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent-purple);
}

.client-logo-wrapper:hover .client-logo {
  filter: grayscale(0%);
  opacity: 1;
}

/* SUBPAGINA EMPIEZA / CONTACTO */
.start-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 5rem;
  align-items: flex-start;
}

.interactive-form-wrapper {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.form-group-options {
  margin-bottom: 2.5rem;
}

.options-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.checkbox-label input {
  display: none;
}

.checkbox-label::before {
  content: '';
  width: 18px;
  height: 18px;
  border: 2px solid var(--text-muted);
  border-radius: 4px;
  display: inline-block;
  transition: var(--transition-fast);
}

.checkbox-label.selected {
  border-color: var(--color-accent-purple);
  background-color: rgba(99, 102, 241, 0.05);
  color: var(--color-accent-purple);
}

.checkbox-label.selected::before {
  background-color: var(--color-accent-purple);
  border-color: var(--color-accent-purple);
  content: '✓';
  color: white;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.form-btn-submit {
  width: 100%;
  padding: 1.25rem;
  background: linear-gradient(135deg, var(--color-accent-blue), var(--color-accent-purple));
  color: white;
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 99px;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

.form-btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.trust-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
}

.trust-list li svg {
  width: 24px;
  height: 24px;
  color: #10b981;
  flex-shrink: 0;
}

.full-screen-img-container {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.full-screen-img {
  width: 100%;
  height: auto;
  display: block;
}

/* RESPONSIVE DESIGN (Media Queries) */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.2rem;
  }
  .about-section {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .needs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .case-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .clients-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .start-split {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 5rem 1.5rem;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--bg-main);
    flex-direction: column;
    padding: 4rem 2rem;
    gap: 2rem;
    transition: var(--transition-smooth);
    border-top: 1px solid var(--border-color);
  }
  .nav-links.active {
    left: 0;
  }
  .menu-toggle {
    display: flex;
  }
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  /* Ajustes de enfoque de rostros para imágenes del Slider en móviles y tabletas */
  .slide:nth-child(1) .slide-img {
    object-position: 30% center; /* Equipo de trabajo - Rostros principales */
  }
  .slide:nth-child(3) .slide-img {
    object-position: 70% center; /* Consultora IA 01 - Rostro de la consultora */
  }
  .slide:nth-child(4) .slide-img {
    object-position: 40% center; /* Diseñadores - Enfoca a los diseñadores */
  }
  .slide:nth-child(5) .slide-img {
    object-position: 75% center; /* Agente comercial - Enfoca al agente */
  }

  .needs-grid {
    grid-template-columns: 1fr 1fr;
  }
  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .client-logo {
    filter: grayscale(0%);
    opacity: 1;
  }
  .service-block {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .service-block:nth-child(even) {
    direction: ltr;
  }
  .metrics-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .whatsapp-float {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 55px;
    height: 55px;
  }
  .whatsapp-tooltip {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .options-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .needs-grid {
    grid-template-columns: 1fr;
  }
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .btn-group {
    flex-direction: column;
    width: 100%;
  }
  .btn {
    width: 100%;
  }
}
