/* Botón inactivo gris para la card Merchant */
.card .btn.btn-link[disabled] {
  color: #fff !important;
  border: none !important;
  cursor: not-allowed !important;
  opacity: 1 !important;
  box-shadow: none !important;
  filter: none !important;
  text-decoration: none !important;
}
.card .btn.btn-link[disabled]:hover {
  color: #fff !important;
  box-shadow: none !important;
  transform: none !important;
  text-decoration: none !important;
}
/* Botón inactivo gris para la card Persona */
.card .btn.btn-dark[disabled] {
  background-color: #bdbdbd !important;
  color: #171717 !important;
  border: none !important;
  cursor: not-allowed !important;
  opacity: 1 !important;
  box-shadow: none !important;
  filter: none !important;
}
.card .btn.btn-dark[disabled]:hover {
  background-color: #bdbdbd !important;
  color: #fff !important;
  box-shadow: none !important;
  transform: none !important;
}
/* Quitar hover del botón del footer */
.btn-footter:hover {
  background-color: #7a7a7a !important;
  color: var(--color-dark-4) !important;
  box-shadow: none !important;
  transform: none !important;
  border: none !important;
  filter: none !important;
  cursor: pointer;
}
/* CSS Variables - Design System from Figma */

/* Custom Scrollbar - Branding Red */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(20, 20, 20, 0.1);
}

::-webkit-scrollbar-thumb {
  background: #e20a42;
  border-radius: 4px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: #c0093a;
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: #e20a42 rgba(20, 20, 20, 0.1);
}
:root {
  /* Colors */
  --color-white: #ffffff;
  --color-black: #141414;
  --color-dark-1: #0e0e0f;
  --color-dark-4: #141414;
  --color-neutral-100: #dddddd;
  --color-neutral-300: #c2c7ca;
  --color-neutral-400: #c6c6c6;
  --color-gray-1: #9b9da3;
  --color-gray-3: #f0f4f5;
  --color-gray-4: #f5f5f5;
  --color-primary-100: #ffc5c8;
  --color-gradient-stroke: #ffecf140;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #e20a42 0%, #ff4d7b 100%);

  /* Typography */
  --font-family-dm-sans: "DM Sans", sans-serif;
  --font-family-epilogue: "Epilogue", sans-serif;
  --font-family-sf-pro: "SF Pro Display", sans-serif;

  /* Font Sizes */
  --font-size-14: 14px;
  --font-size-16: 16px;
  --font-size-18: 18px;
  --font-size-20: 20px;
  --font-size-24: 24px;
  --font-size-40: 40px;
  --font-size-80: 80px;

  /* Line Heights */
  --line-height-12: 1.2;
  --line-height-15: 1.5;
  --line-height-11: 1.1;
  --line-height-24: 24px;

  /* Spacing */
  --space-2: 2px;
  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-18: 18px;
  --space-20: 20px;
  --space-24: 24px;
  --space-28: 28px;
  --space-32: 32px;
  --space-36: 36px;
  --space-40: 40px;
  --space-56: 56px;
  --space-60: 60px;
  --space-80: 80px;
  --space-120: 120px;
  --space-200: 200px;
  --space-400: 400px;

  /* Border Radius */
  --radius-8: 8px;
  --radius-10: 10px;
  --radius-16: 16px;
  --radius-30: 30px;
  --radius-39: 39px;
  --radius-34: 34px;

  /* Shadows */
  --shadow-card: 0px 2px 4px -2px rgba(13, 16, 45, 0.1),
    0px 4px 6px -1px rgba(13, 16, 45, 0.1);
  --shadow-form: 0px 13px 38.8px 0px rgba(13, 12, 36, 0.03);

  /* Animation Variables - Revolut Style */
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-out-quart: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out-back: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ease-out-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* Animation Durations */
  --duration-fast: 0.2s;
  --duration-normal: 0.4s;
  --duration-slow: 0.8s;
  --duration-slower: 1.2s;

  /* Animation Delays */
  --delay-stagger: 0.1s;
  --delay-medium: 0.2s;
  --delay-long: 0.4s;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family-dm-sans);
  background-color: var(--color-dark-1);
  color: var(--color-white);
  line-height: var(--line-height-12);
  overflow-x: hidden;
  position: relative;
}

/* Ensure proper stacking context */
section {
  position: relative;
  background-color: var(--color-dark-1);
}

.container {
  max-width: 1446px;
  margin: 0 auto;
  padding: 0 var(--space-120);
}

/* Header */
.header {
  background-color: transparent;
  padding: var(--space-24) 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-bottom: 1px solid transparent;
  transform: translateY(0);
}

.header.scrolled {
  background-color: rgba(14, 14, 15, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.logo {
  display: flex;
  align-items: center;
  transition: all var(--duration-normal) var(--ease-out-quart);
}

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

.logo img {
  height: 26px;
  width: auto;
  filter: brightness(0) invert(1);
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: all var(--duration-normal) var(--ease-out-quart);
  transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile navigation */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(14, 14, 15, 0.98);
  backdrop-filter: blur(20px);
  z-index: 1000;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-40);
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) var(--ease-out-quart);
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  color: var(--color-white);
  text-decoration: none;
  font-size: var(--font-size-24);
  font-weight: 500;
  transition: all var(--duration-normal) var(--ease-out-quart);
  padding: var(--space-16) var(--space-24);
  border-radius: var(--radius-16);
  position: relative;
}

.mobile-nav a:hover {
  color: var(--color-primary-100);
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.mobile-nav a.active {
  color: var(--color-primary-100);
  background-color: rgba(255, 255, 255, 0.1);
}

.mobile-nav .mobile-social-icons {
  display: flex;
  gap: var(--space-16);
  margin-top: var(--space-40);
}

.mobile-nav .mobile-social-icons .social-icon {
  width: 48px;
  height: 48px;
  background-color: var(--color-white);
}

.mobile-nav .mobile-social-icons .social-icon img {
  width: 24px;
  height: 24px;
  filter: brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(0%)
    hue-rotate(0deg) brightness(0%) contrast(100%);
}

.nav {
  display: flex;
  gap: var(--space-56);
  align-items: center;
}

.nav a {
  color: var(--color-white);
  text-decoration: none;
  font-size: var(--font-size-18);
  font-weight: 400;
  transition: all var(--duration-normal) var(--ease-out-quart);
  position: relative;
  padding: var(--space-8) var(--space-16);
  border-radius: var(--radius-8);
}

.nav a:hover {
  color: var(--color-primary-100);
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: all var(--duration-normal) var(--ease-out-quart);
  transform: translateX(-50%);
}

.nav a:hover::after {
  width: 100%;
}

.nav a.active {
  color: var(--color-primary-100);
  background-color: rgba(255, 255, 255, 0.1);
}

.nav a.active::after {
  width: 100%;
}

.social-icons {
  display: flex;
  gap: var(--space-12);
  align-items: center;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-34);
  background-color: var(--color-white);
  transition: all var(--duration-normal) var(--ease-out-quart);
  position: relative;
  overflow: hidden;
}

.social-icon:hover {
  background-color: var(--color-white);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.social-icon img {
  width: 20px;
  height: 20px;
  filter: brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(0%)
    hue-rotate(0deg) brightness(0%) contrast(100%);
  transition: all var(--duration-normal) var(--ease-out-quart);
}

.social-icon:hover img {
  transform: scale(1.1);
}

/* Hero Section */
.hero {
  background-color: var(--color-dark-1);
  padding: var(--space-56) 0;
  min-height: 591px;
  display: flex;
  align-items: center;
  margin-top: 80px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hero .spline-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
}

.hero .spline-background spline-viewer {
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

.hero .container {
  position: relative;
  z-index: 3;
  background: transparent;
  pointer-events: none;
}

.hero .hero-content {
  pointer-events: auto;
}

.hero .container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-left: var(--space-120);
  padding-right: 0;
  max-width: none;
  margin: 0;
  width: 100%;
}

.hero-content {
  max-width: 600px;
  width: 100%;
}

.hero-title {
  font-family: var(--font-family-sf-pro);
  font-size: var(--font-size-80);
  font-weight: 700;
  line-height: var(--line-height-11);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-32);
}

.hero-subtitle {
  font-size: var(--font-size-20);
  font-weight: 400;
  margin-bottom: var(--space-40);
  color: var(--color-white);
  line-height: var(--line-height-15);
  max-width: 500px;
}

.hero-form {
  display: flex;
  gap: var(--space-24);
  align-items: center;
  flex-wrap: wrap;
}

.email-input {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--color-neutral-100);
  border-radius: var(--radius-16);
  padding: var(--space-16) var(--space-20);
  color: var(--color-white);
  font-family: var(--font-family-epilogue);
  font-size: var(--font-size-16);
  width: 280px;
  min-height: 56px;
  transition: all var(--duration-normal) var(--ease-out-quart);
}

.email-input:focus {
  outline: none;
  border-color: var(--color-primary-100);
  background-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(226, 10, 66, 0.1);
}

.email-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

/* Buttons */
.btn {
  font-family: var(--font-family-epilogue);
  font-size: var(--font-size-16);
  font-weight: 500;
  padding: var(--space-16) var(--space-32);
  border-radius: var(--radius-16);
  border: none;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--color-white);
  min-height: 56px;
  white-space: nowrap;
}

.btn-primary:hover {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 1px solid var(--color-gradient-stroke);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.btn-dark {
  background-color: var(--color-dark-4);
  color: var(--color-white);
}

.btn-dark:hover {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

/* Specific button for Persona card (first card) */
.card:nth-child(1) .btn {
  background-color: var(--color-white);
  color: var(--color-black);
}

.card:nth-child(1) .btn:hover {
  background: rgba(226, 10, 66, 0.15);
  backdrop-filter: blur(10px);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(226, 10, 66, 0.1);
}

.btn-white {
  background-color: #131313;
  color: #9b9da3;
}

.btn-footter {
  background-color: #131313;
  color: #9b9da3;
}

/*
.btn-white:hover {
  background: rgba(226, 10, 66, 0.15);
  backdrop-filter: blur(10px);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(226, 10, 66, 0.1);
}*/

.btn-link {
  background: transparent !important;
  color: var(--color-primary-100);
  text-decoration: underline;
  padding: 0;
  transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: visible;
  transform: none;
  border: none;
  box-shadow: none;
}

.btn-link:hover {
  color: var(--color-white);
  background: transparent !important;
  transform: none !important;
  box-shadow: none !important;
}

.btn-full {
  width: 100%;
}

/* Section Styles */
.section-title {
  font-family: var(--font-family-dm-sans);
  font-size: var(--font-size-40);
  font-weight: 700;
  line-height: var(--line-height-12);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-24);
}

.section-description {
  font-size: var(--font-size-16);
  font-weight: 400;
  line-height: var(--line-height-24);
  color: var(--color-neutral-100);
  margin-bottom: var(--space-32);
}

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

.section-header {
  text-align: center;
  margin-bottom: var(--space-56);
  position: relative;
  z-index: 4;
  pointer-events: none;
}

/* About Section */
.about {
  padding: var(--space-56) 0;
  position: relative;
  z-index: 2;
  background-image: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85));
  background-color: var(--color-dark-1);
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-dark-1);
  opacity: 0.95;
  z-index: -1;
}

.about .container {
  display: flex;
  align-items: center;
  gap: var(--space-120);
  position: relative;
  z-index: 1;
}

.about-content {
  flex: 1;
  max-width: 449px;
}

.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-image img {
  max-width: 650px;
  height: auto;
  width: 100%;
}

/* Floating animation for about image */
.floating-image {
  animation: float 6s ease-in-out infinite;
}

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

/* About boxes - POS Payments & Cards */
.about-boxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-32);
  margin-top: var(--space-56);
  width: 100%;
}

.about-box {
  background: rgba(255, 255, 255, 0);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.021);
  border-radius: 16px;
  padding: var(--space-32);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-box:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.about-box-title {
  font-family: var(--font-epilogue);
  font-size: 24px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: var(--space-16);
  line-height: 1.2;
}

.about-box-description {
  font-family: var(--font-dm-sans);
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0;
}

/* Features Section */
.features {
  background-image: url("images/source/bgphones.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: var(--space-56) 0;
  position: relative;
  z-index: 1;
  background-attachment: fixed;
}

.features::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.features .container {
  position: relative;
  z-index: 1;
}

.features-grid {
  display: flex;
  justify-content: space-between;
  gap: var(--space-40);
  margin-bottom: var(--space-56);
}

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

.feature-title {
  font-family: var(--font-family-dm-sans);
  font-size: var(--font-size-20);
  font-weight: 600;
  margin-bottom: var(--space-16);
  color: var(--color-white);
}

.feature-image img {
  max-width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}

.feature-image img:hover {
  transform: translateY(-8px);
}

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

/* Faster Section */
.faster {
  padding: var(--space-56) 0;
  position: relative;
  z-index: 2;
  background-color: var(--color-dark-1);
}

.faster-image {
  text-align: center;
  margin-bottom: var(--space-56);
}

.faster-image img {
  max-width: 100%;
  height: auto;
  animation: subtle-float 8s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.faster-image img:hover {
  transform: scale(1.02);
}

@keyframes subtle-float {
  0%,
  100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-15px) scale(1);
  }
}

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

/* Technology Section */
.technology {
  background-color: var(--color-dark-4);
  padding: var(--space-56) 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.spline-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
}

.spline-background spline-viewer {
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

.technology .container {
  position: relative;
  z-index: 3;
  background: transparent;
  pointer-events: none;
}

.technology .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-80);
  padding: 0 var(--space-120);
}

.tech-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--space-120) var(--space-400);
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
  justify-items: center;
  align-items: center;
  pointer-events: none;
}

.tech-card {
  background: rgba(20, 20, 20, 0.8);
  backdrop-filter: blur(12.5px);
  border: 1px solid var(--color-gradient-stroke);
  border-radius: var(--radius-16);
  padding: var(--space-20);
  position: relative;
  text-align: center;
  width: 280px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  pointer-events: none;
}

.tech-card p {
  font-size: var(--font-size-14);
  font-weight: 400;
  line-height: var(--line-height-12);
  color: var(--color-white);
  margin: 0;
  max-width: 240px;
}

.card-number {
  position: absolute;
  width: 40px;
  height: 40px;
  background-color: var(--color-dark-1);
  border: 1px solid var(--color-white);
  border-radius: var(--radius-8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family-dm-sans);
  font-size: var(--font-size-16);
  font-weight: 700;
  color: var(--color-white);
  box-shadow: var(--shadow-card);
}

/* Card 1 - Top Left */
.tech-card:nth-child(1) .card-number {
  top: -20px;
  right: -20px;
}

/* Card 2 - Top Right */
.tech-card:nth-child(2) .card-number {
  top: -20px;
  left: -20px;
}

/* Card 3 - Bottom Left */
.tech-card:nth-child(3) .card-number {
  top: -20px;
  right: -20px;
}

/* Card 4 - Bottom Right */
.tech-card:nth-child(4) .card-number {
  top: -20px;
  left: -20px;
}

/* Countries Section */
.countries {
  padding: var(--space-56) 0;
  position: relative;
  z-index: 2;
  background-color: var(--color-dark-1);
}

.countries .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-80);
  align-items: center;
}

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

.countries-image img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}

.countries-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}

.countries-intro {
  font-family: var(--font-dm-sans);
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin: 0;
}

.countries-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.country-item {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  padding: var(--space-16);
  background: #0f0f10;
  backdrop-filter: blur(10px);
  border: none;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.country-item:hover {
  background: rgba(15, 15, 16, 0.8);
  transform: translateX(8px);
}

.country-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.country-name {
  font-family: var(--font-epilogue);
  font-size: 18px;
  font-weight: 500;
  color: var(--color-white);
}

.countries-more {
  font-family: var(--font-dm-sans);
  font-size: 16px;
  font-weight: 400;
  color: var(--color-primary);
  font-style: italic;
  margin: var(--space-8) 0 0 0;
}

/* Cards Section */
.cards {
  padding: var(--space-56) 0;
  position: relative;
  z-index: 2;
  background-color: var(--color-dark-1);
}

.cards .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-20);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-40);
  max-width: 1206px;
  margin: 0 auto;
}

.card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-gradient-stroke);
  border-radius: var(--radius-16);
  padding: var(--space-32);
  text-align: center;
  position: relative;
  transition: all var(--duration-normal) var(--ease-out-quart);
  transform: translateZ(0);
  will-change: transform;
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}

.card:hover {
  transform: translateY(-5px);
}

.card-image {
  width: 90px;
  height: 90px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
}

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

.card-title {
  font-family: var(--font-family-sf-pro);
  font-size: var(--font-size-24);
  font-weight: 600;
  color: var(--color-white);
  margin: 0;
}

.card-description {
  font-size: var(--font-size-14);
  font-weight: 400;
  color: var(--color-neutral-100);
  margin: 0;
}

/* Contact Section */
.contact {
  background-color: var(--color-dark-1);
  padding: var(--space-56) 0;
  position: relative;
  z-index: 2;
  min-height: 651px;
  overflow: hidden;
}

.contact .spline-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
}

.contact .spline-background spline-viewer {
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

.contact .container {
  display: flex;
  align-items: center;
  gap: var(--space-120);
  position: relative;
  z-index: 3;
  background: transparent;
  pointer-events: none;
}

.contact-content {
  flex: 1;
  max-width: 603px;
  display: flex;
  flex-direction: column;
  gap: var(--space-28);
  pointer-events: auto;
}

.contact-info {
  background: transparent;
  border: none;
  border-radius: var(--radius-16);
  padding: var(--space-24);
  display: flex;
  flex-direction: column;
  gap: var(--space-19);
}

.contact-description {
  font-size: var(--font-size-20);
  font-weight: 400;
  color: var(--color-neutral-400);
  margin: 0;
}

.social-links {
  display: flex;
  gap: var(--space-12);
  margin-top: var(--space-24);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--color-gray-3);
  border-radius: var(--radius-34);
  transition: background-color 0.3s ease;
}

.social-link:hover {
  background-color: var(--color-gray-4);
}

.social-link img {
  width: 24px;
  height: 24px;
}

.contact-form {
  background-color: var(--color-dark-1);
  border: none;
  border-radius: var(--radius-30);
  padding: var(--space-20);
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
  max-width: 390px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
}

.form-group label {
  display: block;
  font-size: var(--font-size-18);
  font-weight: 400;
  color: var(--color-white);
  text-align: left;
  margin: 0;
}

.form-input {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--color-neutral-100);
  border-radius: var(--radius-16);
  padding: var(--space-16) var(--space-20);
  color: var(--color-white);
  font-family: var(--font-family-epilogue);
  font-size: var(--font-size-16);
  min-height: 56px;
  transition: all var(--duration-normal) var(--ease-out-quart);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary-100);
  background-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(226, 10, 66, 0.1);
}

.contact-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-image img {
  max-width: 542px;
  height: 547px;
  object-fit: cover;
}

/* Footer */
.footer {
  background-image: url("images/source/Image [grid-footer] 1.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  padding: 0;
  position: relative;
  z-index: 2;
  height: 581px;
  min-height: 400px;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.footer .container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  margin: 0;
  max-width: 100%;
  overflow: hidden;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 187px;
  margin-left: 120px;
  margin-right: 120px;
  max-width: 557px;
  align-items: flex-start;
  width: auto;
  position: relative;
  left: 0;
}

.footer-logo {
  position: absolute;
  top: 142px;
  left: 120px;
  z-index: 3;
}

.footer-logo img {
  height: 22px;
  width: 71px;
}

.footer-info p {
  font-size: var(--font-size-16);
  font-weight: 400;
  color: var(--color-neutral-100);
  margin: 0;
  line-height: 1.2;
  margin-bottom: var(--space-40);
  text-align: left;
  margin-left: 0;
  padding-left: 0;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.footer-button {
  align-self: flex-start;
  margin-bottom: var(--space-40);
  width: auto;
  margin-left: 0;
  padding-left: 0;
}

.footer-button .btn {
  background-color: #7a7a7a;
  color: var(--color-dark-4);
  border-radius: var(--radius-39);
  padding: var(--space-16) var(--space-32);
  font-size: var(--font-size-16);
  font-weight: 500;
  min-height: auto;
  width: auto;
  margin-left: 0;
  padding-left: var(--space-32);
  white-space: nowrap;
}

.footer-social {
  display: flex;
  gap: var(--space-12);
  margin-left: 0;
  padding-left: 0;
  align-self: flex-start;
  flex-wrap: wrap;
}

.footer-social .social-icon {
  width: 34px;
  height: 34px;
  background-color: var(--color-gray-3);
  border-radius: var(--radius-34);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  flex-shrink: 0;
}

.footer-social .social-icon img {
  width: 20px;
  height: 20px;
  filter: brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(0%)
    hue-rotate(0deg) brightness(0%) contrast(100%);
}

.footer-copyright {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  white-space: nowrap;
}

.footer-copyright p {
  font-size: var(--font-size-16);
  font-weight: 400;
  color: var(--color-gray-3);
  margin: 0;
  line-height: 24px;
}

.footer-privacy {
  position: absolute;
  bottom: 180px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  max-width: calc(100% - 40px);
}

.privacy-policy {
  display: inline-block;
  padding: 10px 20px;
  background-color: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.privacy-policy:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .container {
    padding: 0 var(--space-40);
  }

  .hero .container {
    padding-left: var(--space-40);
    padding-right: var(--space-40);
    max-width: none;
    margin: 0;
    width: 100%;
  }

  .technology .container {
    padding: 0 var(--space-40);
    gap: var(--space-16);
  }

  .tech-cards {
    gap: var(--space-40) var(--space-120);
    max-width: 1200px;
  }

  .tech-card {
    width: 260px;
  }

  .cards-grid {
    gap: var(--space-32);
  }

  .cards .container {
    gap: var(--space-16);
  }

  .countries .container {
    grid-template-columns: 1fr;
    gap: var(--space-40);
  }

  .countries-image {
    order: 2;
  }

  .countries-content {
    order: 1;
  }

  .hero-title {
    font-size: 60px;
  }

  .section-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-24);
  }

  .header .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0;
  }

  .nav {
    display: none;
  }

  .social-icons {
    display: none;
  }

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

  .mobile-nav {
    display: flex;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-form {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-16);
  }

  .email-input {
    width: 100%;
    min-height: 48px;
  }

  .hero .container {
    justify-content: center;
    text-align: center;
    padding-left: var(--space-24);
    padding-right: var(--space-24);
    max-width: none;
    margin: 0;
    width: 100%;
  }

  .about .container {
    flex-direction: column;
    gap: var(--space-40);
  }

  .about-boxes {
    grid-template-columns: 1fr;
    gap: var(--space-24);
    margin-top: var(--space-40);
  }

  .about-box-title {
    font-size: 20px;
  }

  .about-box-description {
    font-size: 14px;
  }

  .features-grid {
    flex-direction: column;
    gap: var(--space-32);
  }

  .tech-cards {
    grid-template-columns: 1fr;
    gap: var(--space-40);
    justify-items: center;
    max-width: 400px;
  }

  .tech-card {
    width: 100%;
    max-width: 320px;
    height: auto;
    min-height: 110px;
    padding: var(--space-20);
  }

  .tech-card p {
    max-width: none;
  }

  /* Ajuste: Números en la esquina inferior derecha en mobile y más pequeños */
  .tech-card .card-number {
    top: auto !important;
    bottom: 12px !important;
    left: auto !important;
    right: 12px !important;
    width: 28px !important;
    height: 28px !important;
    font-size: 14px !important;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: var(--space-32);
    max-width: 400px;
  }

  .cards .container {
    gap: var(--space-12);
  }

  .card {
    padding: var(--space-24);
    gap: var(--space-20);
  }

  .contact .container {
    flex-direction: column;
    gap: var(--space-40);
    text-align: center;
  }

  .contact-content {
    gap: var(--space-20);
  }

  .contact-info {
    gap: var(--space-16);
  }

  .contact-form {
    gap: var(--space-32);
  }

  .form-group {
    gap: var(--space-16);
  }

  .footer {
    height: auto;
    min-height: 500px;
    background-size: cover;
    background-position: center top;
  }

  .footer .container {
    padding: var(--space-40) 0;
    min-height: 500px;
  }

  .footer-content {
    margin-top: 120px;
    margin-left: var(--space-40);
    margin-right: var(--space-40);
    max-width: calc(100% - 80px);
    gap: var(--space-24);
  }

  .footer-info p {
    margin-bottom: var(--space-32);
    font-size: var(--font-size-14);
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
  }

  .footer-button {
    margin-bottom: var(--space-32);
    width: 100%;
  }

  .footer-button .btn {
    width: 100%;
    text-align: center;
    padding: var(--space-16) var(--space-24);
    font-size: var(--font-size-14);
  }

  .footer-social {
    justify-content: flex-start;
    width: 100%;
  }

  .footer-logo {
    left: var(--space-40);
    top: 80px;
  }

  .footer-privacy {
    bottom: 140px;
    left: 50%;
    transform: translateX(-50%);
    max-width: calc(100% - 40px);
    padding: 0 var(--space-20);
  }

  .privacy-policy {
    font-size: 12px;
    padding: 8px 16px;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .footer-copyright {
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    max-width: calc(100% - 40px);
    text-align: center;
  }

  .footer-copyright p {
    font-size: var(--font-size-14);
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .hero .container {
    padding-left: var(--space-16);
    padding-right: var(--space-16);
    max-width: none;
    margin: 0;
    width: 100%;
  }

  .hero-title {
    font-size: 36px;
  }

  .section-title {
    font-size: 28px;
  }

  .btn {
    padding: var(--space-12) var(--space-24);
    font-size: var(--font-size-14);
    min-height: 48px;
  }

  .email-input {
    font-size: var(--font-size-14);
    padding: var(--space-12) var(--space-16);
  }

  .hero-form {
    gap: var(--space-12);
  }

  .mobile-nav a {
    font-size: var(--font-size-20);
    padding: var(--space-12) var(--space-20);
  }

  .mobile-nav .mobile-social-icons .social-icon {
    width: 40px;
    height: 40px;
  }

  .mobile-nav .mobile-social-icons .social-icon img {
    width: 20px;
    height: 20px;
  }

  .technology .container {
    padding: 0 var(--space-24);
    gap: var(--space-12);
  }

  .footer {
    min-height: 450px;
    background-size: cover;
  }

  .footer .container {
    min-height: 450px;
    padding: var(--space-24) 0;
  }

  .footer-content {
    margin-left: var(--space-24);
    margin-right: var(--space-24);
    margin-top: 100px;
    gap: var(--space-20);
    max-width: calc(100% - 48px);
  }

  .footer-info p {
    margin-bottom: var(--space-24);
    font-size: 13px;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .footer-button {
    margin-bottom: var(--space-24);
    width: 100%;
  }

  .footer-button .btn {
    font-size: 13px;
    padding: var(--space-12) var(--space-20);
    width: 100%;
  }

  .footer-social {
    gap: var(--space-8);
    justify-content: flex-start;
  }

  .footer-social .social-icon {
    width: 30px;
    height: 30px;
  }

  .footer-social .social-icon img {
    width: 16px;
    height: 16px;
  }

  .footer-logo {
    left: var(--space-24);
    top: 60px;
  }

  .footer-privacy {
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    max-width: calc(100% - 32px);
    padding: 0 var(--space-16);
  }

  .privacy-policy {
    font-size: 11px;
    padding: 6px 12px;
    border-radius: 20px;
    line-height: 1.2;
    max-width: 100%;
  }

  .footer-copyright {
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    max-width: calc(100% - 32px);
    text-align: center;
  }

  .footer-copyright p {
    font-size: 12px;
    line-height: 1.3;
  }

  /* Disable fixed background on mobile */
  .features {
    background-attachment: scroll;
  }

  /* Optimize Spline for mobile */
  .spline-background {
    opacity: 0.5;
    pointer-events: auto;
  }

  .hero .spline-background {
    opacity: 0.4;
  }

  .contact .spline-background {
    display: none;
  }

  /* Reduced motion for accessibility and performance */
  @media (prefers-reduced-motion: reduce) {
    * {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }

  .reduced-motion * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  /* Prevent layout shift */
  .card,
  .btn,
  .feature-item,
  .social-link,
  .tech-card {
    contain: layout style paint;
  }

  .tech-card {
    background: rgba(20, 20, 20, 0.9);
  }
}
.footer-text {
  position: absolute;
  margin: auto;
  text-align: center;
  width: 100%;
  top: 62%;
  padding: 15px;
  color: #c1c1c1;
}
