/* ===== Reset & base ===== */
:root {
  /* Nova-inspired color scheme - lighter and modern */
  --bg: #ffffff;
  --bg-soft: #f8f9fa;
  --bg-section: #f8f9fa;
  --card: #ffffff;
  --card-glass: rgba(255, 255, 255, 0.95);
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --accent-soft: rgba(59, 130, 246, 0.1);
  --accent-2: #8b5cf6;
  --accent-3: #ec4899;
  --accent-4: #10b981;
  --text: #1f2937;
  --text-muted: #6b7280;
  --muted: #9ca3af;
  --border: rgba(59, 130, 246, 0.2);
  --border-light: #e5e7eb;
  --radius-xl: 1.5rem;
  --radius-lg: 1rem;
  --radius-md: 0.75rem;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-subtle: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.3);
  --shadow-glow-purple: 0 0 20px rgba(139, 92, 246, 0.3);
  --shadow-glow-orange: 0 0 20px rgba(236, 72, 153, 0.3);
  --shadow-glow-green: 0 0 20px rgba(16, 185, 129, 0.3);
  --transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 600ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 700ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
  --gradient-secondary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.6), 0 0 60px rgba(0, 217, 255, 0.3), 0 0 90px rgba(0, 217, 255, 0.15);
  }
  50% {
    box-shadow: 0 0 50px rgba(0, 217, 255, 0.8), 0 0 100px rgba(0, 217, 255, 0.4), 0 0 150px rgba(0, 217, 255, 0.2);
  }
}

@keyframes glowPurple {
  0%, 100% {
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.6), 0 0 60px rgba(168, 85, 247, 0.3), 0 0 90px rgba(168, 85, 247, 0.15);
  }
  50% {
    box-shadow: 0 0 50px rgba(168, 85, 247, 0.8), 0 0 100px rgba(168, 85, 247, 0.4), 0 0 150px rgba(168, 85, 247, 0.2);
  }
}

@keyframes neonPulse {
  0%, 100% {
    text-shadow: 
      0 0 10px currentColor,
      0 0 20px currentColor,
      0 0 30px currentColor,
      0 0 40px currentColor;
  }
  50% {
    text-shadow: 
      0 0 20px currentColor,
      0 0 30px currentColor,
      0 0 40px currentColor,
      0 0 50px currentColor,
      0 0 60px currentColor;
  }
}

@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-margin-top: 100px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  background: var(--bg);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  letter-spacing: -0.01em;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.03) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  animation: gradient 20s ease infinite;
  background-size: 200% 200%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

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

.product-image {
  width: 100%;
  min-height: 200px;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin: 1rem 0 1.25rem 0;
  transition: transform var(--transition), opacity var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  background: #f3f4f6;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  border: 1px solid rgba(229, 231, 235, 0.8);
}

.product-image-contain {
  object-fit: contain;
  background: #f3f4f6;
  padding: 1.5rem;
  min-height: 200px;
  height: 220px;
  border: 1px solid rgba(229, 231, 235, 0.8);
}

.product-image[src=""],
.product-image:not([src]) {
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image[src=""]::after,
.product-image:not([src])::after {
  content: "No image";
  color: #9ca3af;
  font-size: 0.875rem;
}

.product-card:hover .product-image {
  transform: scale(1.03);
  opacity: 0.95;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Decoraciones flotantes - más sutiles para tema claro */
.page::after {
  content: "";
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08), transparent 70%);
  filter: blur(80px);
  top: -250px;
  right: -250px;
  pointer-events: none;
  z-index: 0;
  animation: float 20s ease-in-out infinite;
}

.page::before {
  content: "";
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.05), transparent 70%);
  filter: blur(70px);
  bottom: -200px;
  left: -200px;
  pointer-events: none;
  z-index: 0;
  animation: float 25s ease-in-out infinite reverse;
}

/* ===== Layout ===== */

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .container {
    padding: 2rem 2rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 2rem 2.5rem;
  }
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: all var(--transition);
  padding: 0;
}

header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(59, 130, 246, 0.15), 
    rgba(139, 92, 246, 0.15), 
    rgba(59, 130, 246, 0.15), 
    transparent);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 1.5rem;
  min-height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6, #3b82f6);
  background-size: 200% 200%;
  animation: gradient 4s ease infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 0 15px rgba(59, 130, 246, 0.5),
    0 0 30px rgba(59, 130, 246, 0.3);
  transition: all var(--transition);
  position: relative;
  border: 1px solid rgba(59, 130, 246, 0.4);
}

.logo-mark::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  background: linear-gradient(135deg, #38bdf8, #a855f7, #f97316);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: -1;
  filter: blur(8px);
}

.logo:hover .logo-mark {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 
    0 0 35px rgba(56, 189, 248, 1),
    0 0 70px rgba(56, 189, 248, 0.6);
}

.logo:hover .logo-mark::before {
  opacity: 0.5;
}

.logo-mark span {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0b1120;
}

.logo-text-main {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.84rem;
}

.logo-text-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.logo-img {
  height: 65px;
  width: auto;
  transition: all var(--transition);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
}

.logo-img:hover {
  transform: scale(1.05) translateY(-2px);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav-links a {
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition);
  font-weight: 500;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.3s ease, left 0.3s ease;
  transform: translateX(-50%);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 80%;
  left: 50%;
}

.nav-links a.active {
  color: var(--accent);
  font-weight: 600;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.75rem;
  z-index: 100;
  border-radius: 0.5rem;
  transition: background var(--transition);
}

.mobile-menu-toggle:hover {
  background: rgba(59, 130, 246, 0.1);
}

.mobile-menu-toggle span {
  width: 26px;
  height: 3px;
  background: var(--text);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Buttons */

.btn {
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  color: var(--text);
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition), background var(--transition),
    color var(--transition);
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

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

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  border: none;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  padding: 0.75rem 1.85rem;
  font-size: 0.9rem;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
  color: #ffffff;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  border-color: var(--border-light);
  background: transparent;
  color: var(--text);
  padding: 0.7rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}

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

.btn span.icon {
  font-size: 1rem;
  display: inline-flex;
  transform: translateY(1px);
}

main {
  flex: 1;
  position: relative;
  z-index: 1;
}

section {
  padding: 5rem 0;
  position: relative;
  scroll-margin-top: 100px;
}

section:nth-child(even) {
  background: var(--bg-section);
}

section.hero {
  background: var(--bg-soft);
}

@media (max-width: 768px) {
  section {
    padding: 3.5rem 0;
    scroll-margin-top: 80px;
  }
}

section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  opacity: 0.5;
}

.section-header {
  margin-bottom: 4rem;
  text-align: center;
}

.section-header:not(.section-header--compact) {
  text-align: center;
}

.section-header:not(.section-header--compact) .section-description {
  margin-left: auto;
  margin-right: auto;
}

.section-header--compact {
  margin-bottom: 1.4rem;
}

.section-eyebrow {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--accent-soft);
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.contact-badge {
  color: #ffffff !important;
  background: rgba(99, 102, 241, 0.7) !important;
  padding: 0.5rem 1.1rem !important;
  font-weight: 700 !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.12em !important;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3) !important;
  border: none !important;
  margin-bottom: 1.25rem !important;
  display: inline-block !important;
}

.hero #contact {
  background: #ffffff;
  padding-top: 3rem !important;
  padding-bottom: 4rem;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 0.5rem;
  line-height: 1.2;
  color: var(--text);
}

@media (max-width: 768px) {
  .section-title {
    font-size: clamp(1.75rem, 5vw, 2.25rem);
    line-height: 1.3;
  }
}

.section-title--compact {
  margin-top: 0.9rem;
}

.section-title--small {
  font-size: 1.15rem;
  margin-top: 0.5rem;
}

.section-description {
  margin-top: 1rem;
  color: var(--text-muted);
  max-width: 48rem;
  font-size: 1.1rem;
  line-height: 1.8;
  font-weight: 400;
}

@media (max-width: 768px) {
  .section-description {
    font-size: 1rem;
    line-height: 1.7;
  }
}

/* ===== Banner Hero ===== */

.hero-banner {
  position: relative;
  height: 90vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
  margin-top: 0;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0;
}

.hero-banner::before {
  display: none;
}

.banner-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity var(--transition-slow);
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
}

.banner-slide.active {
  opacity: 1;
  z-index: 1;
}

.banner-slide:nth-child(1) {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 25%, #bfdbfe 50%, #dbeafe 75%, #eff6ff 100%);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
}

.banner-slide:nth-child(2) {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 25%, #ddd6fe 50%, #ede9fe 75%, #f5f3ff 100%);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
}

.banner-slide:nth-child(3) {
  background: linear-gradient(135deg, #fef3f2 0%, #fee2e2 25%, #fecaca 50%, #fee2e2 75%, #fef3f2 100%);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.4) 100%),
    radial-gradient(circle at center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4));
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 3rem 0;
}

.banner-text {
  max-width: 800px;
  animation: slideIn 0.8s ease-out;
  position: relative;
  z-index: 3;
}

.banner-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.5rem;
  transition: all var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.banner-badge:hover {
  transform: translateY(-2px);
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.banner-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #ffffff;
  position: relative;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 4px 20px rgba(0, 0, 0, 0.3);
}

.banner-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  max-width: 600px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.banner-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-large {
  padding: 1.1rem 2.25rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

@media (max-width: 768px) {
  .btn-large {
    padding: 0.95rem 1.75rem;
    font-size: 0.95rem;
  }
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.banner-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.banner-particles::before,
.banner-particles::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.3), transparent);
  filter: blur(60px);
  animation: float 6s ease-in-out infinite;
}

.banner-particles::before {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.banner-particles::after {
  bottom: 20%;
  right: 10%;
  animation-delay: 3s;
}

.banner-controls {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.banner-prev,
.banner-next {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: all var(--transition);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.banner-prev:hover,
.banner-next:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.banner-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.dot.active {
  background: #ffffff;
  width: 32px;
  border-radius: 999px;
  border-color: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.6);
}

/* ===== Características Destacadas ===== */

.features-section {
  padding: 6rem 0;
  background: var(--bg);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.75rem;
}

.feature-card {
  padding: 2.5rem 2rem;
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
}

.feature-icon-wrapper {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}

.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.75rem;
  box-shadow: 
    0 10px 30px rgba(59, 130, 246, 0.35),
    0 0 20px rgba(59, 130, 246, 0.25);
  transition: all var(--transition-slow);
  position: relative;
  z-index: 1;
}

.feature-card:hover .feature-icon {
  transform: scale(1.05);
  background: var(--accent);
  border-color: var(--accent);
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
  position: relative;
  z-index: 1;
}

.feature-description {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.feature-list {
  list-style: none;
  text-align: left;
  font-size: 0.85rem;
  color: var(--muted);
  position: relative;
  z-index: 1;
}

.feature-list li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.product-details {
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  background: rgba(243, 244, 246, 0.8);
  border-radius: var(--radius-md);
  border: 1px solid rgba(229, 231, 235, 0.8);
}

.product-detail-item {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.7;
  padding-left: 1.5rem;
  position: relative;
}

.product-detail-item:last-child {
  margin-bottom: 0;
}

.product-detail-item::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1.4;
}

.product-detail-item strong {
  color: var(--text);
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  font-weight: 600;
}

/* ===== Testimonios ===== */

.testimonial-card {
  position: relative;
}

.testimonial-quote {
  position: absolute;
  top: 1rem;
  left: 1.3rem;
  font-size: 4rem;
  color: rgba(56, 189, 248, 0.3);
  font-family: Georgia, serif;
  line-height: 1;
  z-index: 0;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.3);
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(168, 85, 247, 0.2));
  border: 2px solid rgba(56, 189, 248, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.2rem;
}

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

/* ===== Partners ===== */

.partners-section {
  padding: 5rem 0;
  background: var(--bg);
}

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

.partner-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.1), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-lg);
  transition: all var(--transition-slow);
}

.partner-item:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.2);
}

.partner-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.partner-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.partner-info strong {
  color: var(--text);
  font-size: 1rem;
}

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

/* ===== Estadísticas ===== */

.stats-section {
  padding: 5rem 0;
  background: var(--bg-section);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.25rem;
}

.stat-card {
  text-align: center;
  padding: 2.5rem 1.75rem;
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.stat-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--accent);
  animation: float 3s ease-in-out infinite;
}

.stat-value {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent);
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 217, 255, 0.3));
}

.stat-label {
  font-size: 1rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* ===== Hero ===== */

.hero {
  padding-top: 3.5rem;
  background: var(--bg-soft);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.7fr);
  gap: 3rem;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.25rem 0.75rem 0.25rem 0.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-light);
  margin-bottom: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.hero-kicker-pill {
  background: var(--accent);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  color: #ffffff;
  font-size: 0.75rem;
  box-shadow: 0 2px 6px rgba(59, 130, 246, 0.3);
}

.hero-title {
  font-size: clamp(2.3rem, 3vw + 1.5rem, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  font-weight: 800;
  color: var(--text);
}

.hero-title .gradient {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 32rem;
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}

.hero-badge {
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(31, 41, 55, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: rgba(255, 255, 255, 0.9);
  transition: all var(--transition);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  font-weight: 500;
}

.hero-badge:hover {
  border-color: rgba(59, 130, 246, 0.5);
  background: rgba(31, 41, 55, 1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
}

.hero-meta-item strong {
  color: var(--text);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

/* Hero visual */

.hero-visual {
  position: relative;
}

.hero-bg-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85%;
  opacity: 0.08;
  z-index: 0;
  pointer-events: none;
  filter: blur(1px);
}

.hero-card {
  position: relative;
  z-index: 1;
}

.hero-orbit {
  position: absolute;
  inset: -15%;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.05), transparent 55%),
    radial-gradient(circle at bottom right, rgba(139, 92, 246, 0.05), transparent 60%);
  filter: blur(40px);
  opacity: 0.6;
  pointer-events: none;
}

.hero-card {
  position: relative;
  border-radius: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(248, 250, 252, 0.95) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 1.5rem;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.1),
    0 0 40px rgba(59, 130, 246, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.hero-pill {
  font-size: 0.75rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: none;
  background: rgba(31, 41, 55, 0.95);
  color: rgba(255, 255, 255, 0.95);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: all var(--transition);
  font-weight: 500;
}

.hero-pill span:first-child {
  color: rgba(59, 130, 246, 0.9);
  font-size: 0.6rem;
}

.hero-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.hero-status {
  font-size: 0.75rem;
  color: rgba(31, 41, 55, 0.7);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}

.hero-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 
    0 0 0 2px rgba(34, 197, 94, 0.2),
    0 0 8px rgba(34, 197, 94, 0.4);
  animation: pulse 2s ease-in-out infinite;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.metric {
  padding: 0.85rem 0.75rem;
  border-radius: 0.875rem;
  background: rgba(31, 41, 55, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all var(--transition);
}

.metric:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.metric-label {
  font-size: 0.7rem;
  color: rgba(156, 163, 175, 0.9);
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.metric-value {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0.15rem;
}

.metric-tag {
  font-size: 0.65rem;
  color: rgba(59, 130, 246, 0.9);
  margin-top: 0.1rem;
  font-weight: 500;
}

.hero-tiles {
  display: grid;
  grid-template-columns: 1.3fr 1.1fr;
  gap: 0.75rem;
}

.tile {
  padding: 1rem 0.9rem;
  border-radius: 0.875rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(31, 41, 55, 0.95);
  backdrop-filter: blur(5px);
  font-size: 0.75rem;
  color: rgba(156, 163, 175, 0.9);
  transition: all var(--transition);
  box-shadow: 
    0 2px 6px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.tile:hover {
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-2px);
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.tile strong {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

.tile-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.tile-label {
  font-size: 0.7rem;
  color: rgba(156, 163, 175, 0.9);
}

.tile-pill {
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.5);
  color: rgba(147, 197, 253, 0.95);
  font-weight: 500;
}

.tile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.25rem;
}

.tile-badges span {
  font-size: 0.65rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(31, 41, 55, 0.8);
  backdrop-filter: blur(3px);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: rgba(156, 163, 175, 0.9);
  transition: all var(--transition);
  font-weight: 500;
}

.tile-badges span:hover {
  border-color: rgba(59, 130, 246, 0.5);
  background: rgba(59, 130, 246, 0.1);
  color: rgba(147, 197, 253, 0.95);
  transform: scale(1.05);
}

/* ===== Cards & grids ===== */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.card {
  border-radius: var(--radius-lg);
  padding: 2rem;
  background: var(--card);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  animation: slideIn 0.6s ease-out backwards;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
  z-index: 0;
}

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

.card > * {
  position: relative;
  z-index: 1;
}

.card:hover {
  transform: translateY(-8px) translateZ(0) scale(1.02);
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.15), 
    0 0 30px rgba(59, 130, 246, 0.2),
    0 0 60px rgba(139, 92, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.6);
  background: var(--card);
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }


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

.card-top-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin: -1.3rem -1.3rem 1rem -1.3rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  animation: gradient 3s ease infinite;
  display: flex;
  box-shadow: 
    0 0 25px rgba(0, 217, 255, 0.5),
    0 8px 25px rgba(56, 189, 248, 0.4);
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  transition: transform var(--transition);
}

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

.card:hover .card-top-image {
  transform: scale(1.05);
  transition: transform var(--transition-slow);
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  color: var(--text);
}

.card:hover .card-title {
  color: var(--text);
}

.card-subtitle {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.card:hover .card-subtitle {
  color: var(--text-muted);
}

.card-body {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.card:hover .card-body {
  color: var(--text-muted);
}

.card-list {
  font-size: 0.8rem;
  color: var(--muted);
  list-style: none;
  margin-bottom: 0.8rem;
}

.card:hover .card-list {
  color: var(--muted);
}

.card:hover .card-list li {
  color: var(--text-muted);
}

.card-list li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.25rem;
}

.card-list li::before {
  content: "●";
  font-size: 0.55rem;
  color: var(--accent);
}

.card-footer {
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--accent);
  font-weight: 600;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.card:hover .card-footer {
  color: var(--accent);
  border-top-color: rgba(59, 130, 246, 0.3);
}

.card-footer span:first-child {
  color: var(--accent);
  font-weight: 600;
}

.card:hover .card-footer span:first-child {
  color: var(--accent-hover);
}

.card-footer a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
}

.card-footer a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.card-tag {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--accent);
  border: 1px solid var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
  transition: all var(--transition);
  display: inline-block;
}

.card-tag:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.5);
  background: var(--accent-hover);
}

.card:hover .card-tag {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

/* Products */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
}

.product-card {
  border-radius: var(--radius-lg);
  padding: 2rem;
  background: var(--card);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  animation: slideIn 0.6s ease-out backwards;
}

.product-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(178, 79, 255, 0.15), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-slow);
}

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

.product-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(168, 85, 247, 0.1));
  opacity: 0;
  transition: opacity var(--transition-slow);
  pointer-events: none;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.product-tagline {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.product-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
  line-height: 1.3;
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.product-badge {
  font-size: 0.75rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(31, 41, 55, 0.95);
  border: none;
  color: rgba(255, 255, 255, 0.95);
  transition: all var(--transition);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  font-weight: 500;
}

.product-badge:hover {
  background: rgba(31, 41, 55, 1);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.product-body {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 1.25rem;
  line-height: 1.75;
  font-weight: 400;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.product-meta span {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: rgba(243, 244, 246, 0.8);
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* Split layout */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr);
  gap: 1.8rem;
  align-items: start;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  color: var(--muted);
  background: rgba(15, 23, 42, 0.9);
}

.list-check {
  list-style: none;
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 1rem;
}

.list-check li {
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.list-check li span.icon {
  font-size: 1rem;
  margin-top: 0.05rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.8rem;
}

.chip {
  font-size: 0.8rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  transition: all var(--transition);
  font-weight: 500;
}

.chip:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-subtle);
}

/* Panel */

.panel {
  border-radius: var(--radius-lg);
  padding: 2rem;
  background: var(--card);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
  font-size: 0.95rem;
  color: var(--text);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0;
  transition: opacity var(--transition);
}

.panel:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
}

.panel:hover::before {
  opacity: 1;
}

.panel-description {
  margin-top: 0.5rem;
}

.panel-description--small {
  margin-top: 0.9rem;
  font-size: 0.8rem;
}

/* Pills */

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.pill-soft {
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  background: var(--card);
  border: 1px solid var(--border-light);
  color: var(--text);
  transition: all var(--transition);
  box-shadow: var(--shadow-subtle);
  line-height: 1.5;
}

.pill-soft:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: var(--shadow-hover);
}

/* Contact section */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.75fr);
  gap: 3rem;
  align-items: start;
}

.contact-card {
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.75rem 3rem;
  background: linear-gradient(180deg, 
    rgba(99, 102, 241, 0.55) 0%, 
    rgba(139, 92, 246, 0.5) 20%, 
    rgba(30, 41, 59, 0.98) 70%, 
    rgba(15, 23, 42, 1) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 
    0 30px 80px rgba(0, 0, 0, 0.45),
    0 0 60px rgba(99, 102, 241, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 1);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
  opacity: 0.6;
}

.contact-card-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.9rem;
  font-size: 0.85rem;
}

.contact-item + .contact-item {
  margin-top: 0.5rem;
}

.contact-item--spaced {
  margin-top: 0.7rem;
}

.contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.75) !important;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.contact-value {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 1) !important;
  line-height: 1.7;
  font-weight: 400;
}

.contact-card .section-eyebrow {
  color: #ffffff;
  background: rgba(99, 102, 241, 0.6);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 1.25rem;
  font-weight: 700;
  border: none;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

.contact-card .section-title,
.contact-card .section-title--small {
  color: rgba(255, 255, 255, 1) !important;
  font-weight: 700 !important;
  margin-bottom: 1rem !important;
}

.contact-card .panel-description {
  color: rgba(255, 255, 255, 0.9) !important;
  line-height: 1.65 !important;
  margin-bottom: 1.75rem !important;
}

.contact-card .panel-description--small {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 0.85rem !important;
  margin-top: 2rem !important;
  padding-top: 1.75rem !important;
  border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
}

/* Form */

form {
  display: grid;
  gap: 0.8rem;
}

.field-group {
  display: grid;
  gap: 0.45rem;
  font-size: 0.85rem;
}

label {
  color: var(--muted);
}

input,
textarea,
select {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 0.85rem 1.15rem;
  background: var(--card);
  color: var(--text);
  font: inherit;
  resize: vertical;
  min-height: 52px;
  transition: all var(--transition);
  box-shadow: var(--shadow-subtle);
  width: 100%;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow-subtle);
}

input:hover,
textarea:hover,
select:hover {
  border-color: var(--accent);
  background: var(--bg);
}

input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  background: var(--card);
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.form-footnote {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

.required {
  color: var(--accent);
}

.field-error {
  display: block;
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 0.25rem;
  min-height: 1.2rem;
}

.field-group:has(input:invalid:not(:placeholder-shown):not(:focus)) .field-error,
.field-group:has(input:invalid:not(:placeholder-shown):not(:focus)) input {
  border-color: #ef4444;
}

.form-message {
  padding: 0.75rem;
  border-radius: 0.5rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  display: none;
}

.form-message.success {
  display: block;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.form-message.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.link {
  color: var(--accent);
  text-decoration: underline;
}

.link:hover {
  color: #60a5fa;
}

input:focus:invalid,
textarea:focus:invalid,
select:focus:invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.6);
}

/* Footer */

footer {
  border-top: 1px solid rgba(229, 231, 235, 0.5);
  padding: 5rem 0 2.5rem;
  margin-top: 6rem;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.6) 0%, rgba(249, 250, 251, 0.95) 100%);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.4), rgba(139, 92, 246, 0.4), transparent);
}

footer::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(229, 231, 235, 0.8), transparent);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 2.6fr;
  gap: 5rem;
  margin-bottom: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(229, 231, 235, 0.6);
  position: relative;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo {
  display: inline-block;
  width: fit-content;
  transition: transform var(--transition);
  position: relative;
}

.footer-logo:hover {
  transform: scale(1.05);
}

.footer-logo-img {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.08));
  transition: filter var(--transition);
}

.footer-logo:hover .footer-logo-img {
  filter: drop-shadow(0 4px 12px rgba(59, 130, 246, 0.3));
}

.footer-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 420px;
  margin: 0;
  font-weight: 400;
}

.footer-contact-mini {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.75rem;
}

.footer-contact-link {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  width: fit-content;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(243, 244, 246, 0.6);
  border: 1px solid rgba(229, 231, 235, 0.8);
  position: relative;
  font-weight: 500;
  overflow: hidden;
}

.footer-contact-link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
  opacity: 0;
  transition: opacity var(--transition);
}

.footer-contact-icon {
  font-size: 1.15rem;
  line-height: 1;
  transition: transform var(--transition);
  display: inline-block;
}

.footer-contact-link:hover {
  color: var(--accent);
  transform: translateX(6px);
  border-color: rgba(59, 130, 246, 0.3);
  background: rgba(243, 244, 246, 0.9);
}

.footer-contact-link:hover::before {
  opacity: 1;
}

.footer-contact-link:hover .footer-contact-icon {
  transform: scale(1.15);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-column-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.01em;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-column-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 2px;
}

.footer-column-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-column-links li {
  margin: 0;
}

.footer-column-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: all var(--transition);
  display: inline-block;
  position: relative;
  padding: 0.25rem 0;
  font-weight: 400;
}

.footer-column-links a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 2px;
  transition: width var(--transition);
}

.footer-column-links a:hover {
  color: var(--accent);
  transform: translateX(6px);
  font-weight: 500;
}

.footer-column-links a:hover::before {
  width: 100%;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 2rem;
  position: relative;
}

.footer-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin: 0;
  font-weight: 500;
}

.footer-location {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
  opacity: 0.85;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  background: rgba(243, 244, 246, 0.8);
  width: fit-content;
  transition: all var(--transition);
}

.footer-location:hover {
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent);
  transform: translateY(-2px);
}

.footer-bottom-right {
  display: flex;
  align-items: center;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin: 0;
  opacity: 0.9;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(243, 244, 246, 0.8);
  transition: all var(--transition);
}

.footer-tagline:hover {
  background: rgba(139, 92, 246, 0.1);
  color: var(--accent-2);
  transform: translateY(-2px);
}

/* Footer responsive */
@media (max-width: 1024px) {
  footer {
    padding: 4rem 0 2rem;
    margin-top: 5rem;
  }
  
  .footer-main {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 640px) {
  footer {
    padding: 3.5rem 0 2rem;
    margin-top: 4rem;
  }
  
  .footer-main {
    gap: 3rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
  }
  
  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-column {
    gap: 1rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    padding-top: 1.5rem;
  }
  
  .footer-description {
    max-width: 100%;
  }
  
  .footer-contact-mini {
    gap: 0.75rem;
  }
  
  .footer-contact-link {
    padding: 0.6rem 0.9rem;
    font-size: 0.875rem;
  }
  
  .footer-location {
    font-size: 0.8rem;
    padding: 0.45rem 0.65rem;
  }
  
  .footer-tagline {
    font-size: 0.8rem;
    padding: 0.45rem 0.9rem;
  }
}

/* ===== Responsive ===== */

@media (max-width: 960px) {
  .hero-banner {
    height: 70vh;
    min-height: 500px;
  }

  .banner-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  .banner-description {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
  }

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

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

  .banner-controls {
    bottom: 1rem;
    padding: 0.5rem 1rem;
  }

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

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    border-left: 1px solid var(--border-light);
    transition: right var(--transition);
    z-index: 99;
    box-shadow: -6px 0 30px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    right: 0;
  }

  /* Overlay para menú móvil */
  .nav-links::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
    z-index: -1;
  }

  .nav-links.active::before {
    opacity: 1;
    pointer-events: all;
  }

  .nav-links a {
    width: 100%;
    padding: 0.5rem 0;
    font-size: 1rem;
  }

  .nav-cta {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }

  .nav-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }

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

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

  .hero-grid,
  .grid-3,
  .grid-2,
  .split,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 2.5rem;
    background: var(--bg-soft);
  }

  .hero-visual {
    order: -1;
  }

  .hero-grid {
    gap: 2rem;
  }

  section {
    padding: 4rem 0;
  }

  .section-header {
    margin-bottom: 3rem;
  }
}

@media (max-width: 640px) {
  .hero-banner {
    height: 60vh;
    min-height: 400px;
  }

  .banner-title {
    font-size: 1.8rem;
  }

  .grid-4 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .stat-value {
    font-size: 2.5rem;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .hero-card {
    padding: 1.25rem;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  section {
    padding: 3rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .card,
  .feature-card,
  .product-card {
    padding: 1.75rem 1.5rem;
  }
}
