/* ============================================
   PLANET POSITIVE TECH — styles.css
   Paleta: Azul Oscuro #3A559F | Verde #68AC44
   Azul Claro #55B4D0 | Gris/Café #4D4238
   Fondo: Blanco
   ============================================ */

/* ---- Google Fonts ya en index.html ---- */

/* ===== CSS VARIABLES ===== */
:root {
  /* Brand Colors */
  --blue-dark: #3A559F;
  --blue-mid: #4e6bbf;
  --blue-light: #718dcf;
  --blue-xlight: #c5d2f0;
  --blue-pale: #eef1fb;

  --green: #68AC44;
  --green-dark: #4d8730;
  --green-light: #85c45e;
  --green-pale: #edf7e4;

  --cyan: #55B4D0;
  --cyan-pale: #e4f5fb;

  --brown-gray: #4D4238;
  --brown-light: #7a6b5e;

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f8faff;
  --gray-100: #f1f4fc;
  --gray-200: #e2e8f5;
  --gray-300: #c8d2e6;
  --gray-500: #8596b8;
  --gray-700: #4a5568;
  --gray-900: #1a2340;

  /* Typography */
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-pad: 100px;
  --container: 1200px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(58, 85, 159, 0.08);
  --shadow-md: 0 4px 20px rgba(58, 85, 159, 0.12);
  --shadow-lg: 0 12px 40px rgba(58, 85, 159, 0.18);
  --shadow-xl: 0 24px 60px rgba(58, 85, 159, 0.22);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* Gradients */
  --grad-primary: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  --grad-accent: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  --grad-hero: linear-gradient(135deg, var(--blue-dark) 0%, var(--cyan) 100%);
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--gray-700);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  color: var(--gray-900);
  line-height: 1.15;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  letter-spacing: -0.015em;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  line-height: 1.75;
}

/* ===== GRADIENT TEXT ===== */
.gradient-text {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--cyan) 50%, var(--green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== CONTAINER ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== SECTION HELPERS ===== */
.section-pad {
  padding: var(--section-pad) 0;
}

.bg-light {
  background: var(--gray-50);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.section-badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 100px;
  border: 1.5px solid var(--blue-xlight);
  background: var(--blue-pale);
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--gray-500);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--grad-primary);
  background-size: 200% 200%;
  color: white;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: none;
  box-shadow: 0 4px 20px rgba(58, 85, 159, 0.35);
  transition: all 0.3s var(--ease-out);
  animation: grad-shift 5s ease infinite;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 32px rgba(58, 85, 159, 0.45);
  filter: brightness(1.08);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

.btn-block {
  width: 100%;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--blue-dark);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: 2px solid var(--blue-xlight);
  transition: all 0.3s var(--ease-out);
}

.btn-outline:hover {
  background: var(--blue-pale);
  border-color: var(--blue-dark);
  transform: translateY(-2px);
}

.btn-outline.btn-lg {
  padding: 16px 36px;
  border-radius: var(--radius-lg);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: white;
  color: var(--blue-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 36px;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  transition: all 0.3s var(--ease-out);
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: white;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 36px;
  border-radius: var(--radius-lg);
  border: 2px solid rgba(255, 255, 255, 0.5);
  transition: all 0.3s var(--ease-out);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
  transform: translateY(-2px);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.35s var(--ease-out);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
  padding: 14px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gray-900);
}

.logo-text strong {
  color: var(--blue-dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--gray-700);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.25s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--blue-dark);
  border-radius: 2px;
  transition: width 0.3s var(--ease-out);
}

.nav-link:hover {
  color: var(--blue-dark);
  background: var(--blue-pale);
}

.nav-link:hover::after {
  width: calc(100% - 28px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--blue-pale);
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--blue-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 20px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--gray-200);
}

.mobile-menu.open {
  display: flex;
}

.mobile-link {
  padding: 12px 16px;
  border-radius: 10px;
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.mobile-link:hover {
  background: var(--blue-pale);
  color: var(--blue-dark);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--white) 0%, var(--blue-pale) 50%, var(--cyan-pale) 100%);
  display: flex;
  flex-direction: column;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(58, 85, 159, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 85, 159, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-container {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 64px;
  padding-top: 60px;
  padding-bottom: 80px;
}

.hero-content {
  flex: 1;
  max-width: 580px;
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--blue-pale), var(--green-pale));
  border: 1.5px solid var(--blue-xlight);
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 24px;
  animation: fade-in-up 0.6s var(--ease-out) forwards;
}

.hero-title {
  margin-bottom: 24px;
  animation: fade-in-up 0.7s var(--ease-out) 0.1s both;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  margin-bottom: 36px;
  max-width: 480px;
  animation: fade-in-up 0.7s var(--ease-out) 0.2s both;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fade-in-up 0.7s var(--ease-out) 0.3s both;
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  animation: fade-in-up 0.7s var(--ease-out) 0.4s both;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--blue-dark);
  line-height: 1;
}

.stat-suffix {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--green);
  display: inline;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--gray-500);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--gray-200);
  align-self: center;
}

/* Hero Visual */
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fade-in-rotate 1s var(--ease-out) 0.2s both;
}

.hero-orb-wrapper {
  position: relative;
  width: 480px;
  height: 480px;
}

.hero-orb {
  position: absolute;
  inset: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 7s ease-in-out infinite;
}

.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid transparent;
}

.orb-ring-1 {
  inset: -30px;
  border-color: rgba(104, 172, 68, 0.3);
  animation: spin-slow 20s linear infinite;
}

.orb-ring-2 {
  inset: -55px;
  border-color: rgba(85, 180, 208, 0.2);
  border-style: dashed;
  animation: spin-slow 30s linear infinite reverse;
}

.orb-ring-3 {
  inset: -80px;
  border-color: rgba(58, 85, 159, 0.15);
  animation: spin-slow 40s linear infinite;
}

.orb-core {
  position: relative;
  transform: rotate(22deg);
  filter: drop-shadow(0 0 40px rgba(58, 85, 159, 0.35)) drop-shadow(0 0 80px rgba(85, 180, 208, 0.2));
}

/* Float Tags */
.float-tag {
  position: absolute;
  background: white;
  border: 1.5px solid var(--blue-xlight);
  border-radius: var(--radius-md);
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-dark);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}

/* ── Orbital positions: asymmetric, clock-face style ──────────────── */
/* 🖥️ Data Center  ~11 o'clock  (upper-left, close) */
.float-tag-1 {
  top: 5%;
  left: 12%;
  animation: tag-orbit 9s ease-in-out infinite;
}

/* ☁️ Cloud        ~1 o'clock   — mirrors Data Center height */
.float-tag-2 {
  top: 5%;
  right: 12%;
  animation: tag-orbit 11s ease-in-out 1.4s infinite;
}

/* 🔒 Seguridad    ~9 o'clock   (left-mid, slightly high) */
.float-tag-3 {
  top: 35%;
  left: -14px;
  animation: tag-orbit 10s ease-in-out 0.6s infinite;
}

/* ☁️ SaaS         ~3 o'clock   — mirrors Seguridad height */
.float-tag-4 {
  top: 35%;
  right: -14px;
  animation: tag-orbit 8s ease-in-out 2.1s infinite;
}

/* 🌐 Networking   ~7 o'clock   (lower-left, wide) */
.float-tag-5 {
  top: 65%;
  left: 5%;
  animation: tag-orbit 12s ease-in-out 0.2s infinite;
}

/* 💾 Storage      ~4:30 o'clock — mirrors Networking height */
.float-tag-6 {
  top: 65%;
  right: 5%;
  animation: tag-orbit 9.5s ease-in-out 1.7s infinite;
}

/* 📞 VoIP         ~6 o'clock   (bottom, slightly left) */
.float-tag-7 {
  bottom: 3%;
  left: 25%;
  animation: tag-orbit 10.5s ease-in-out 1s infinite;
}

/* 🔒 VPN          ~5 o'clock   — mirrors VoIP, right side bottom */
.float-tag-8 {
  bottom: 3%;
  right: 25%;
  animation: tag-orbit 8.5s ease-in-out 0.4s infinite;
}

/* Hero Wave */
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 80px;
}

/* Particles */
.particles-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--blue-dark);
  opacity: 0.12;
  animation: float-particle 20s infinite ease-in-out;
}

/* ===== SOCIAL PROOF ===== */
.social-proof {
  background: white;
  padding: 40px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.proof-label {
  text-align: center;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  font-weight: 600;
  margin-bottom: 24px;
}

.logos-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 28px;
}

.logo-item {
  padding: 10px 20px;
  border-radius: var(--radius-md);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  color: var(--gray-500);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.logo-item:hover {
  background: var(--blue-pale);
  border-color: var(--blue-xlight);
  color: var(--blue-dark);
  transform: translateY(-2px);
}

/* ===== SERVICIOS — FLIP CARDS ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card-flip {
  height: 320px;
  perspective: 1000px;
  cursor: pointer;
}

.service-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-flip:hover .service-card-inner,
.service-card-flip.flipped .service-card-inner {
  transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.service-card-front {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.service-card-front::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.5));
}

.service-icon-front {
  font-size: 3.2rem;
  margin-bottom: 16px;
  z-index: 1;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.service-front-content {
  z-index: 1;
  text-align: center;
}

.service-front-content h3 {
  color: white;
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.front-hint {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
}

.service-card-back {
  transform: rotateY(180deg);
  background: white;
  border: 1.5px solid var(--blue-xlight);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  box-shadow: var(--shadow-xl);
}

.service-back-icon {
  font-size: 2.2rem;
}

.service-card-back h3 {
  color: var(--blue-dark);
  font-size: 1.1rem;
}

.service-card-back p {
  color: var(--gray-500);
  font-size: 0.88rem;
  line-height: 1.6;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.tag {
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--blue-pale);
  border: 1px solid var(--blue-xlight);
  color: var(--blue-dark);
  font-size: 0.72rem;
  font-weight: 600;
}

/* ===== WHY US ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.why-card:hover {
  border-color: var(--blue-xlight);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.why-card:hover::before {
  transform: scaleX(1);
}

.why-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.why-card h3 {
  color: var(--blue-dark);
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.why-card p {
  color: var(--gray-500);
  font-size: 0.88rem;
  line-height: 1.65;
}

/* ===== PROCESO ===== */
.steps-track {
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 16px;
}

.step-item {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: white;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(58, 85, 159, 0.35);
  position: relative;
  z-index: 1;
}

.step-content h3 {
  color: var(--blue-dark);
  margin-bottom: 8px;
  font-size: 1rem;
}

.step-content p {
  color: var(--gray-500);
  font-size: 0.85rem;
  line-height: 1.6;
}

.step-connector {
  flex-shrink: 0;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-dark), var(--green));
  margin-top: 30px;
  position: relative;
}

.step-connector::after {
  content: '▶';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--green);
  font-size: 0.7rem;
}

/* ===== TESTIMONIOS ===== */
.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonio-card {
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.35s var(--ease-out);
  position: relative;
}

.testimonio-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 5rem;
  line-height: 1;
  color: var(--blue-xlight);
  font-family: Georgia, serif;
  pointer-events: none;
}

.testimonio-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--blue-xlight);
}

.stars {
  color: #F59E0B;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonio-text {
  color: var(--gray-700);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonio-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.testimonio-author strong {
  display: block;
  color: var(--gray-900);
  font-size: 0.9rem;
}

.testimonio-author span {
  color: var(--gray-500);
  font-size: 0.78rem;
}

/* ===== NOSOTROS ===== */
.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}

.nosotros-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.nosotros-orb {
  animation: float 7s ease-in-out infinite;
  filter: drop-shadow(0 12px 40px rgba(58, 85, 159, 0.25));
}

.nosotros-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 260px;
}

.nb {
  background: white;
  border: 1.5px solid var(--blue-xlight);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-dark);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.nosotros-content .section-badge {
  display: inline-block;
  margin-bottom: 16px;
}

.nosotros-content h2 {
  margin-bottom: 20px;
}

.nosotros-content p {
  color: var(--gray-500);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.nosotros-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--blue-pale);
  border: 1px solid var(--blue-xlight);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 0.85rem;
}

.value-icon {
  font-size: 1.2rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--grad-hero);
}

.cta-box {
  text-align: center;
  padding: 48px 32px;
  max-width: 720px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: white;
  margin: 16px 0 20px;
  font-weight: 800;
}

.cta-title span {
  color: var(--green-light);
}

.cta-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  margin-bottom: 36px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form {
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--gray-900);
  background: var(--gray-50);
  transition: all 0.25s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-dark);
  background: white;
  box-shadow: 0 0 0 3px rgba(58, 85, 159, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-top: 12px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}

.info-card h3 {
  color: var(--blue-dark);
  margin-bottom: 24px;
  font-size: 1.1rem;
}

.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.info-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-item strong {
  display: block;
  color: var(--gray-900);
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.info-item span {
  color: var(--gray-500);
  font-size: 0.85rem;
  line-height: 1.5;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue-pale);
  border: 1.5px solid var(--blue-xlight);
  color: var(--blue-dark);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.social-btn:hover {
  background: var(--blue-dark);
  color: white;
  transform: translateY(-2px);
}

.soporte-card {
  background: linear-gradient(135deg, var(--blue-pale), var(--green-pale));
  border: 1.5px solid var(--blue-xlight);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.soporte-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.soporte-card strong {
  display: block;
  color: var(--gray-900);
  font-size: 0.88rem;
  margin-bottom: 4px;
}

.soporte-card span {
  display: block;
  color: var(--gray-500);
  font-size: 0.8rem;
  margin-bottom: 8px;
}

.soporte-link {
  color: var(--blue-dark);
  font-weight: 700;
  font-size: 0.9rem;
}

.soporte-link:hover {
  color: var(--green-dark);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1rem;
  color: white;
  margin-bottom: 16px;
}

.footer-logo strong {
  color: var(--green);
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
  max-width: 260px;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.fsocial-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray-300);
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.fsocial-link:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: white;
  transform: translateY(-2px);
}

.footer-col h4 {
  color: white;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  color: var(--gray-500);
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.footer-col ul a:hover {
  color: var(--green);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: white;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s var(--ease-out);
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top:hover {
  transform: translateY(-3px) scale(1.05);
  filter: brightness(1.1);
}

/* ===== ANIMATIONS ===== */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in-rotate {
  from {
    opacity: 0;
    transform: scale(0.85) rotate(-5deg);
  }

  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  25% {
    transform: translateY(-16px) rotate(2deg);
  }

  50% {
    transform: translateY(-8px) rotate(-1.5deg);
  }

  75% {
    transform: translateY(-22px) rotate(1deg);
  }
}

@keyframes float-tag {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Orbital movement — elliptical path, each tag moves at its own speed */
@keyframes tag-orbit {
  0% {
    transform: translate(0px, 0px);
  }

  12% {
    transform: translate(10px, -13px);
  }

  25% {
    transform: translate(16px, -4px);
  }

  38% {
    transform: translate(9px, 10px);
  }

  50% {
    transform: translate(-5px, 14px);
  }

  62% {
    transform: translate(-14px, 5px);
  }

  75% {
    transform: translate(-10px, -9px);
  }

  88% {
    transform: translate(-2px, -14px);
  }

  100% {
    transform: translate(0px, 0px);
  }
}

@keyframes float-particle {

  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.08;
  }

  25% {
    transform: translate(60px, -80px);
    opacity: 0.15;
  }

  50% {
    transform: translate(-30px, -160px);
    opacity: 0.1;
  }

  75% {
    transform: translate(-80px, -80px);
    opacity: 0.15;
  }
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes grad-shift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@keyframes pulse-ring {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(58, 85, 159, 0.35);
  }

  50% {
    box-shadow: 0 4px 32px rgba(58, 85, 159, 0.55), 0 0 60px rgba(85, 180, 208, 0.2);
  }
}

/* ===== SCROLL REVEAL ===== */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1023px) {
  :root {
    --section-pad: 72px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonios-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .nosotros-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .nosotros-visual {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-container {
    gap: 40px;
  }

  .hero-orb-wrapper {
    width: 360px;
    height: 360px;
  }
}

@media (max-width: 767px) {
  :root {
    --section-pad: 56px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  h1 {
    font-size: 2.2rem;
  }

  .hero-container {
    flex-direction: column;
    padding-top: 32px;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .testimonios-grid {
    grid-template-columns: 1fr;
  }

  .steps-track {
    flex-direction: column;
    align-items: center;
  }

  .step-connector {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, var(--blue-dark), var(--green));
    margin: 0;
  }

  .step-connector::after {
    display: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .nosotros-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .particle:nth-child(n+20) {
    display: none;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nosotros-badges {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .contact-form {
    padding: 24px 20px;
  }
}

/* ==============================================
   THEME TOGGLE BUTTON
   ============================================== */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1.5px solid var(--blue-xlight);
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: scale(1.08);
}

.toggle-icon {
  font-size: 1rem;
  line-height: 1;
  position: absolute;
  transition: opacity 0.25s ease, transform 0.35s var(--ease-out);
}

/* Light mode: show sun, hide moon */
.toggle-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.toggle-moon {
  opacity: 0;
  transform: rotate(90deg) scale(0.6);
}

/* Dark mode: show moon, hide sun */
[data-theme="dark"] .toggle-sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0.6);
}

[data-theme="dark"] .toggle-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

[data-theme="dark"] .theme-toggle {
  border-color: rgba(85, 180, 208, 0.35);
  background: rgba(85, 180, 208, 0.12);
}

[data-theme="dark"] .theme-toggle:hover {
  background: var(--blue-dark);
  border-color: var(--cyan);
}

/* ==============================================
   LOGO VISIBILITY (light / dark versions)
   ============================================== */
.site-logo {
  display: block;
  object-fit: contain;
}

.logo-dark-img {
  display: none;
}

[data-theme="dark"] #logo-light {
  display: none;
}

[data-theme="dark"] .logo-dark-img {
  display: block;
}

/* Footer logo: always shows logo_dark.png (ok on dark footer) */
.footer-logo-img {
  object-fit: contain;
}

/* ==============================================
   HERO WAVE — adapts fill color to theme
   ============================================== */
.hero-wave-path {
  fill: var(--gray-50);
}

[data-theme="dark"] .hero-wave-path {
  fill: #111827;
}

/* ==============================================
   DARK MODE — FULL THEME
   ============================================== */
[data-theme="dark"] {
  /* ---- Background levels ---- */
  --white: #0d1117;
  --gray-50: #111827;
  --gray-100: #161b28;
  --gray-200: #1f2a3c;
  --gray-300: #2a3852;
  --gray-500: #8da0c0;
  --gray-700: #c5d0e6;
  --gray-900: #e8edf8;

  /* ---- Blue tones — brighter for visibility ---- */
  --blue-dark: #6b8ed6;
  --blue-mid: #5577cc;
  --blue-light: #8aaae0;
  --blue-xlight: rgba(107, 142, 214, 0.3);
  --blue-pale: rgba(107, 142, 214, 0.1);

  /* ---- Greens stay vivid ---- */
  --green: #7ec855;
  --green-dark: #68AC44;
  --green-light: #9dd97a;
  --green-pale: rgba(104, 172, 68, 0.1);

  /* ---- Cyan ---- */
  --cyan: #55B4D0;
  --cyan-pale: rgba(85, 180, 208, 0.1);

  /* ---- Shadows — deeper for dark surfaces ---- */
  --shadow-sm: 0 1px 6px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.55);
  --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.6);

  /* ---- Gradients ---- */
  --grad-primary: linear-gradient(135deg, #3A559F 0%, #55B4D0 100%);
  --grad-hero: linear-gradient(135deg, #1a2a6e 0%, #0e4a6e 100%);
}

/* ---- Body & Base ---- */
[data-theme="dark"] body {
  background: #0d1117;
  color: var(--gray-700);
}

/* ---- Navbar ---- */
[data-theme="dark"] .navbar.scrolled {
  background: rgba(13, 17, 23, 0.92);
  border-bottom-color: var(--gray-200);
}

[data-theme="dark"] .mobile-menu {
  background: rgba(17, 24, 39, 0.98);
  border-top-color: var(--gray-200);
}

[data-theme="dark"] .nav-link {
  color: var(--gray-700);
}

[data-theme="dark"] .nav-link:hover {
  background: var(--blue-pale);
  color: var(--blue-dark);
}

[data-theme="dark"] .nav-logo {
  color: var(--gray-900);
}

[data-theme="dark"] .hamburger {
  background: var(--blue-pale);
}

[data-theme="dark"] .hamburger span {
  background: var(--blue-dark);
}

/* ---- Hero ---- */
[data-theme="dark"] .hero {
  background: linear-gradient(160deg, #0d1117 0%, #0f1e38 55%, #0a1a2e 100%);
}

[data-theme="dark"] .hero-bg-grid {
  background-image:
    linear-gradient(rgba(107, 142, 214, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107, 142, 214, 0.07) 1px, transparent 1px);
}

[data-theme="dark"] .hero-badge {
  background: linear-gradient(135deg, rgba(107, 142, 214, 0.15), rgba(104, 172, 68, 0.1));
  border-color: rgba(107, 142, 214, 0.3);
  color: var(--blue-dark);
}

[data-theme="dark"] .float-tag {
  background: #161b28;
  border-color: rgba(107, 142, 214, 0.25);
  color: var(--blue-dark);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .stat-divider {
  background: var(--gray-200);
}

/* ---- Social Proof ---- */
[data-theme="dark"] .social-proof {
  background: #111827;
  border-color: var(--gray-200);
}

[data-theme="dark"] .logo-item {
  background: #161b28;
  border-color: var(--gray-200);
  color: var(--gray-500);
}

[data-theme="dark"] .logo-item:hover {
  background: var(--blue-pale);
  border-color: rgba(107, 142, 214, 0.35);
  color: var(--blue-dark);
}

/* ---- Section Badges ---- */
[data-theme="dark"] .section-badge {
  background: var(--blue-pale);
  border-color: var(--blue-xlight);
  color: var(--blue-dark);
}

[data-theme="dark"] .bg-light {
  background: #111827;
}

/* ---- Service Cards Back ---- */
[data-theme="dark"] .service-card-back {
  background: #161b28;
  border-color: rgba(107, 142, 214, 0.25);
}

[data-theme="dark"] .service-card-back h3 {
  color: var(--blue-dark);
}

[data-theme="dark"] .service-card-back p {
  color: var(--gray-500);
}

[data-theme="dark"] .tag {
  background: rgba(107, 142, 214, 0.12);
  border-color: rgba(107, 142, 214, 0.3);
  color: var(--blue-dark);
}

/* ---- Why Us Cards ---- */
[data-theme="dark"] .why-card {
  background: #161b28;
  border-color: var(--gray-200);
}

[data-theme="dark"] .why-card:hover {
  border-color: rgba(107, 142, 214, 0.4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(107, 142, 214, 0.15);
}

[data-theme="dark"] .why-card h3 {
  color: var(--blue-dark);
}

[data-theme="dark"] .why-card p {
  color: var(--gray-500);
}

/* ---- Process Steps ---- */
[data-theme="dark"] .step-content h3 {
  color: var(--blue-dark);
}

[data-theme="dark"] .step-content p {
  color: var(--gray-500);
}

/* ---- Testimonios ---- */
[data-theme="dark"] .testimonio-card {
  background: #161b28;
  border-color: var(--gray-200);
}

[data-theme="dark"] .testimonio-card:hover {
  border-color: rgba(107, 142, 214, 0.4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .testimonio-card::before {
  color: rgba(107, 142, 214, 0.2);
}

[data-theme="dark"] .testimonio-text {
  color: var(--gray-700);
}

[data-theme="dark"] .testimonio-author strong {
  color: var(--gray-900);
}

[data-theme="dark"] .testimonio-author span {
  color: var(--gray-500);
}

/* ---- Nosotros ---- */
[data-theme="dark"] .nb {
  background: #161b28;
  border-color: rgba(107, 142, 214, 0.25);
  color: var(--blue-dark);
}

[data-theme="dark"] .nosotros-content p {
  color: var(--gray-500);
}

[data-theme="dark"] .value-item {
  background: rgba(107, 142, 214, 0.08);
  border-color: rgba(107, 142, 214, 0.2);
}

/* ---- Contact Form ---- */
[data-theme="dark"] .contact-form {
  background: #161b28;
  border-color: var(--gray-200);
}

[data-theme="dark"] .form-group label {
  color: var(--gray-700);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
  background: #0d1117;
  border-color: var(--gray-200);
  color: var(--gray-900);
  color-scheme: dark;
}

[data-theme="dark"] .form-group input::placeholder,
[data-theme="dark"] .form-group textarea::placeholder {
  color: var(--gray-500);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group select:focus,
[data-theme="dark"] .form-group textarea:focus {
  background: #111827;
  border-color: var(--blue-dark);
  box-shadow: 0 0 0 3px rgba(107, 142, 214, 0.15);
}

[data-theme="dark"] .form-note {
  color: var(--gray-500);
}

[data-theme="dark"] .info-card {
  background: #161b28;
  border-color: var(--gray-200);
}

[data-theme="dark"] .info-card h3 {
  color: var(--blue-dark);
}

[data-theme="dark"] .info-item strong {
  color: var(--gray-900);
}

[data-theme="dark"] .info-item span {
  color: var(--gray-500);
}

[data-theme="dark"] .social-btn {
  background: rgba(107, 142, 214, 0.1);
  border-color: rgba(107, 142, 214, 0.25);
  color: var(--blue-dark);
}

[data-theme="dark"] .social-btn:hover {
  background: var(--blue-dark);
  color: white;
}

[data-theme="dark"] .soporte-card {
  background: linear-gradient(135deg, rgba(107, 142, 214, 0.1), rgba(104, 172, 68, 0.08));
  border-color: rgba(107, 142, 214, 0.25);
}

[data-theme="dark"] .soporte-card strong {
  color: var(--gray-900);
}

[data-theme="dark"] .soporte-card span {
  color: var(--gray-500);
}

[data-theme="dark"] .soporte-link {
  color: var(--blue-dark);
}

/* ---- Outline Button ---- */
[data-theme="dark"] .btn-outline {
  color: var(--blue-dark);
  border-color: rgba(107, 142, 214, 0.4);
}

[data-theme="dark"] .btn-outline:hover {
  background: rgba(107, 142, 214, 0.1);
  border-color: var(--blue-dark);
}

/* ---- Footer in dark mode ---- */
[data-theme="dark"] .footer {
  background: #080c14;
  color: #8da0c0;
}
[data-theme="dark"] .footer-logo {
  color: #e8edf8;
}
[data-theme="dark"] .footer-logo strong {
  color: var(--green);
}
[data-theme="dark"] .footer-tagline {
  color: #6b7fa0;
}
[data-theme="dark"] .footer-col h4 {
  color: #e8edf8;
}
[data-theme="dark"] .footer-col ul a {
  color: #6b7fa0;
}
[data-theme="dark"] .footer-col ul a:hover {
  color: var(--green);
}
[data-theme="dark"] .fsocial-link {
  background: rgba(107, 142, 214, 0.1);
  border-color: rgba(107, 142, 214, 0.2);
  color: #8da0c0;
}
[data-theme="dark"] .fsocial-link:hover {
  background: var(--blue-dark);
  color: white;
}
[data-theme="dark"] .footer-bottom {
  border-color: rgba(107, 142, 214, 0.1);
  color: #4a5e80;
}
[data-theme="dark"] .footer-logo-img {
  filter: brightness(1.2);
}

/* ---- Scroll to Top ---- */
[data-theme="dark"] .scroll-top {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 20px rgba(107, 142, 214, 0.3);
}

/* ---- Headings in dark mode ---- */
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4 {
  color: var(--gray-900);
}

/* ---- Gradient text stays vivid ---- */
[data-theme="dark"] .gradient-text {
  background: linear-gradient(135deg, #6b8ed6 0%, #55B4D0 50%, #7ec855 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---- Smooth theme transition ---- */
body,
.navbar,
.mobile-menu,
.hero,
.social-proof,
.bg-light,
.why-card,
.testimonio-card,
.service-card-back,
.contact-form,
.info-card,
.soporte-card,
.logo-item,
.nb,
.float-tag,
.tag,
.value-item,
.footer,
.scroll-top,
.theme-toggle,
h1,
h2,
h3,
h4,
p,
span,
a,
input,
select,
textarea {
  transition-property: background-color, border-color, color, box-shadow;
  transition-duration: 0.35s;
  transition-timing-function: ease;
}

/* Don't override animation transitions */
[data-animate],
.service-card-inner,
.btn-primary,
.btn-outline,
.why-card,
.scroll-top,
.nav-link {
  transition-property: all;
}