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

:root {
  --color-primary: #005bb5;        /* Deep luxury royal blue */
  --color-primary-light: #0077ed;  /* Bright dynamic blue */
  --color-primary-dark: #003e7e;
  
  --cielo: #38bdf8;                /* Electric cyan */
  --cielo-dark: #0284c7;
  
  --noche: #0A111E;                /* Infonet inspired deep midnight */
  --noche-2: #10192A;
  --noche-3: #162438;
  --linea-noche: rgba(255, 255, 255, 0.08);
  
  --color-bg: #ffffff;
  --color-bg-alt: #f8fafc;
  --color-bg-subtle: #f1f5f9;
  
  --color-text: #0f172a;
  --color-text-muted: #64748b;
  --color-text-light: #94a3b8;
  
  --color-border: #e2e8f0;
  --color-border-hover: #cbd5e1;
  
  --color-whatsapp: #25D366;
  --color-pure-white: #ffffff;
  --color-gold: #f59e0b;
  --color-danger: #ef4444;
  --color-success: #10b981;
  
  --grad-text-blue: linear-gradient(135deg, #005bb5 0%, #0077ed 50%, #38bdf8 100%);
  --grad-text-cyan: linear-gradient(135deg, #ffffff 15%, #7dd3fc 60%, #38bdf8 100%);
  
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.02);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 35px -10px rgba(0, 91, 181, 0.12), 0 10px 15px -5px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
  
  --transition-fast: 0.25s ease;
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

section[id], header[id] {
  scroll-margin-top: 80px;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ==================================
   TYPOGRAPHY & GRADIENTS
   ================================== */
h1, h2, h3, h4 {
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.2;
}

.text-accent {
  color: var(--color-primary-light);
}

.text-gradient-blue {
  background: var(--grad-text-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient-cyan {
  background: var(--grad-text-cyan);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-cyan {
  color: var(--cielo) !important;
}

.text-white {
  color: #ffffff !important;
}

.text-danger {
  color: var(--color-danger);
}

.text-success {
  color: var(--color-success);
}

.font-bold {
  font-weight: 700;
}

/* ==================================
   LIVE PULSING DOTS & PATTERNS
   ================================== */
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25), 0 0 10px var(--color-success);
  animation: pulseDot 2s infinite;
  flex-shrink: 0;
  margin-right: 8px;
  vertical-align: middle;
}

.live-dot-cyan {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cielo);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.3), 0 0 12px var(--cielo);
  animation: pulseDot 2s infinite;
  flex-shrink: 0;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.bg-pattern {
  background-image: radial-gradient(rgba(0, 91, 181, 0.08) 1.2px, transparent 1.2px);
  background-size: 20px 20px;
}

/* ==================================
   BUTTONS
   ================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.3px;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  color: var(--color-pure-white);
  box-shadow: 0 6px 18px rgba(0, 91, 181, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 91, 181, 0.38);
}

.btn-secondary-outline {
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  box-shadow: 0 4px 14px rgba(0, 91, 181, 0.1);
}

.btn-secondary-outline:hover {
  background: var(--color-primary);
  color: var(--color-pure-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 91, 181, 0.25);
}

.btn-whatsapp-outline {
  background: rgba(255, 255, 255, 0.9);
  color: #128C7E;
  border: 2px solid var(--color-whatsapp);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.15);
}

.btn-whatsapp-outline:hover {
  background: var(--color-whatsapp);
  color: var(--color-pure-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: var(--color-pure-white);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  background: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
}

.btn-whatsapp-glow {
  background: var(--color-whatsapp);
  color: #fff;
  box-shadow: 0 0 25px rgba(37, 211, 102, 0.45), 0 8px 20px rgba(0, 0, 0, 0.3);
  font-weight: 700;
}

.btn-whatsapp-glow:hover {
  background: #22c55e;
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(37, 211, 102, 0.65);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
  transform: translateY(-2px);
}

/* ==================================
   HEADER TRASLÚCIDO AL TOP & SÓLIDO AL SCROLL
   ================================== */
.scroll-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.35); /* más translúcido cuando estamos arriba */
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.45);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

.scroll-header.is-scrolled {
  background: #ffffff; /* sólido sin translucidez al hacer scroll */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 4px 25px rgba(0, 91, 181, 0.1);
}

.scroll-header.is-active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.scroll-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #005bb5 0%, #0077ed 50%, #38bdf8 100%);
  z-index: 10001;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.8), 0 0 4px #0077ed;
  transition: width 0.08s ease-out;
  pointer-events: none;
}

.scroll-header-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 12px 4%;
  display: flex;
  align-items: center;
  justify-content: center; /* Menú centrado */
  position: relative;
  min-height: 64px;
}

.scroll-brand {
  position: absolute;
  left: 4%;
  display: flex;
  align-items: center;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-15px) scale(0.92);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10002;
}

.scroll-header.is-scrolled .scroll-brand {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}

.scroll-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 91, 181, 0.18));
  transition: transform 0.25s ease;
}

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

.scroll-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px; /* Más espaciado */
}

.scroll-nav-link {
  color: var(--color-text);
  text-decoration: none;
  font-size: 1.06rem; /* Un poco más grande */
  font-weight: 700;
  transition: color 0.25s ease, transform 0.2s ease;
  position: relative;
  padding: 6px 2px;
  letter-spacing: -0.2px;
}

.scroll-nav-link:hover,
.scroll-nav-link.active {
  color: var(--color-primary-light);
  transform: translateY(-1px);
}

.scroll-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--color-primary-light);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.scroll-nav-link:hover::after,
.scroll-nav-link.active::after {
  width: 100%;
}

.scroll-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(0, 119, 237, 0.2);
  color: var(--color-primary);
  font-size: 1.15rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 91, 181, 0.12);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  align-items: center;
  justify-content: center;
}

.scroll-nav-toggle:hover,
.scroll-nav-toggle:active {
  background: #ffffff;
  border-color: var(--color-primary-light);
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(0, 119, 237, 0.22);
  color: var(--color-primary-light);
}

.scroll-mobile-drawer {
  display: none;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  padding: 16px 5%;
  gap: 6px;
  box-shadow: 0 15px 35px rgba(0, 91, 181, 0.08);
}

.scroll-mobile-drawer a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 18px;
  border-radius: 12px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
}

.scroll-mobile-drawer a:hover,
.scroll-mobile-drawer a.active {
  background: rgba(0, 119, 237, 0.08);
  color: var(--color-primary);
  font-weight: 700;
  transform: translateX(4px);
}

.scroll-mobile-drawer.open {
  display: flex;
}

/* ==================================
   HERO SECTION & SEAMLESS FADE
   ================================== */
.hero {
  position: relative;
  min-height: clamp(560px, 80vh, 750px);
  display: flex;
  align-items: center;
  padding: 100px 6% 75px;
  background-color: var(--color-bg);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: url('assets/ferrari.jpeg') no-repeat center right / cover;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: 
    linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0.92) 42%, rgba(255,255,255,0.2) 100%),
    linear-gradient(to bottom, transparent 60%, rgba(255, 255, 255, 0.6) 82%, #ffffff 100%);
}

.hero-glow {
  position: absolute;
  top: 15%;
  right: 15%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(0, 119, 237, 0.18) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
}

.hero-fade-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.35) 40%, rgba(255, 255, 255, 0.85) 75%, #ffffff 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-text {
  flex: 1;
  max-width: 650px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 91, 181, 0.08);
  border: 1px solid rgba(0, 91, 181, 0.2);
  color: var(--color-primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-bottom: 18px;
  backdrop-filter: blur(8px);
  animation: heroFadeDown 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-text h1 {
  font-size: clamp(2.1rem, 3.8vw, 3.8rem);
  color: var(--color-text);
  margin-bottom: 16px;
  line-height: 1.15;
  letter-spacing: -0.5px;
  text-shadow: 0 0 30px rgba(255,255,255,0.9);
  word-break: normal;
  overflow-wrap: break-word;
  animation: heroFadeUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

.hero-text p {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: 25px;
  line-height: 1.6;
  max-width: 540px;
  font-weight: 400;
  animation: heroFadeUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 25px;
  animation: heroFadeUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.16s both;
}

.hero-perks {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  animation: heroFadeUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}

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

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

.hero-perk {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
}

.hero-perk i {
  color: var(--color-primary-light);
}

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

/* Animación de entrada con pop-in y levitación orgánica del Logo */
.hero-logo-large {
  max-width: 480px;
  width: 100%;
  filter: drop-shadow(0 15px 35px rgba(0, 91, 181, 0.28));
  animation: logoEntrance 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards, floatLogo 3.8s ease-in-out infinite 0.75s;
  transform-origin: center center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  will-change: transform;
}

.hero-logo-large:hover {
  transform: scale(1.05) rotate(-1.5deg);
  filter: drop-shadow(0 25px 50px rgba(0, 119, 237, 0.45));
}

@keyframes logoEntrance {
  0% {
    opacity: 0;
    transform: scale(0.65) translateY(45px) rotate(-5deg);
    filter: drop-shadow(0 0 0 rgba(0, 91, 181, 0));
  }
  70% {
    transform: scale(1.04) translateY(-6px) rotate(1.2deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0) rotate(0deg);
    filter: drop-shadow(0 15px 35px rgba(0, 91, 181, 0.28));
  }
}

@keyframes floatLogo {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-14px) rotate(1.2deg);
    filter: drop-shadow(0 25px 45px rgba(0, 119, 237, 0.38));
  }
}

/* ==================================
   STATS & PRESTIGE BAR (BENTO STYLE)
   ================================== */
.stats-bar {
  position: relative;
  z-index: 3;
  margin-top: -35px;
  margin-bottom: 15px;
  padding: 0 6%;
}

.stats-container {
  max-width: 1250px;
  margin: 0 auto;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 24px 20px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  backdrop-filter: blur(12px);
}

.stat-card {
  text-align: center;
  padding: 0 10px;
  border-right: 1px solid var(--color-border);
  transition: var(--transition-smooth);
}

.stat-card:last-child {
  border-right: none;
}

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

.stat-icon-wrap {
  width: 42px;
  height: 42px;
  margin: 0 auto 8px;
  background: rgba(0, 119, 237, 0.1);
  color: var(--color-primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.stat-number {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 4px;
  display: block;
  letter-spacing: -0.5px;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
  display: block;
}

.stat-desc {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.35;
}

/* ==================================
   COMMON SECTION STYLING
   ================================== */
.section {
  padding: 60px 6%;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 35px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 91, 181, 0.08);
  color: var(--color-primary);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ==================================
   GALLERY & STACKED ALBUMS
   ================================== */
.gallery {
  background-color: var(--color-bg);
}

.albums-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1250px;
  margin: 0 auto;
}

.album-stack {
  position: relative;
  width: 220px;
  height: 220px;
  cursor: pointer;
  transition: transform 0.35s ease;
}

.album-stack:hover {
  transform: translateY(-8px);
}

.album-stack img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.12);
  border: 4px solid var(--color-bg);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.album-stack img:nth-child(1) {
  transform: rotate(-6deg);
  z-index: 1;
}

.album-stack img:nth-child(2) {
  transform: rotate(5deg);
  z-index: 2;
}

.album-stack img:nth-child(3) {
  transform: rotate(0deg);
  z-index: 3;
}

.album-stack:hover img:nth-child(1) { transform: rotate(-13deg) translate(-14px, 8px); }
.album-stack:hover img:nth-child(2) { transform: rotate(13deg) translate(14px, 8px); }
.album-stack:hover img:nth-child(3) { transform: scale(1.05) translateY(-4px); }

.album-label {
  position: absolute;
  bottom: -34px;
  left: 0;
  width: 100%;
  text-align: center;
  font-weight: 700;
  color: var(--color-text);
  font-size: 0.98rem;
}

/* ==================================
   SERVICES SECTION (VIBRANT & BENTO)
   ================================== */
.filter-pills-wrap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 900px;
  margin: 0 auto 35px;
}

.filter-pill {
  background: var(--color-pure-white);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.filter-pill:hover {
  border-color: var(--color-primary-light);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.filter-pill.active {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 6px 16px rgba(0, 91, 181, 0.25);
}

.service-card.hidden-card,
.service-vip-banner.hidden-card {
  display: none !important;
}

/* ==========================================================================
   Tarjeta Panorámica VIP / Banner Bento Maestro: Lavado Integral
   ========================================================================== */
.service-vip-banner {
  max-width: 1250px;
  margin: 0 auto 30px auto;
  background: linear-gradient(135deg, rgba(0, 119, 237, 0.05) 0%, #ffffff 45%, rgba(0, 91, 181, 0.04) 100%);
  border: 1.5px solid rgba(0, 119, 237, 0.35);
  border-radius: 24px;
  padding: 34px 38px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 91, 181, 0.1);
  transition: var(--transition-smooth);
}

.service-vip-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0077ed, #00c6ff, #f59e0b, #0077ed);
  background-size: 300% 100%;
  animation: shineLine 6s linear infinite;
}

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

.service-vip-banner:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary-light);
  box-shadow: 0 22px 50px rgba(0, 91, 181, 0.16);
}

.vip-banner-badge {
  position: absolute;
  top: 22px;
  right: 26px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #f8fafc;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 6px 16px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.25);
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.vip-banner-badge .text-gold {
  color: #fbbf24;
}

.vip-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.vip-banner-info {
  flex: 1 1 auto;
}

.vip-title-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.vip-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 119, 237, 0.15), rgba(0, 91, 181, 0.25));
  color: var(--color-primary);
  font-size: 1.6rem;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(0, 119, 237, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vip-title-row h3 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.vip-title-row p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 680px;
  margin: 0;
}

.vip-features-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
  margin: 0;
  padding: 0;
}

.vip-features-grid li {
  font-size: 0.88rem;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 500;
}

.vip-features-grid li i {
  color: #10b981;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.vip-banner-action {
  flex: 0 0 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(248, 250, 252, 0.85);
  border: 1px solid rgba(0, 119, 237, 0.15);
  border-radius: 18px;
  padding: 24px 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
}

.vip-price {
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--color-primary);
  border-top: none;
  padding-top: 0;
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  line-height: 1;
}

.vip-price span {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.vip-btn {
  width: 100%;
  padding: 13px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 50px;
  letter-spacing: 0.2px;
  background: linear-gradient(135deg, #0077ed, #005bb5) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(0, 119, 237, 0.35);
  border: none;
  transition: all 0.25s ease;
}

.vip-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 119, 237, 0.45);
  background: linear-gradient(135deg, #0084ff, #0066cc) !important;
  color: #ffffff !important;
}

.vip-btn i {
  color: #4ade80 !important;
  margin-left: 4px;
}

.vip-guarantee-note {
  font-size: 0.76rem;
  color: var(--color-text-muted);
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

@media (max-width: 900px) {
  .service-vip-banner {
    padding: 24px 18px;
    margin-bottom: 24px;
    border-radius: 20px;
  }
  .vip-banner-badge {
    position: static;
    display: inline-flex;
    margin-bottom: 16px;
    align-self: flex-start;
  }
  .vip-banner-content {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }
  .vip-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .vip-title-row h3 {
    font-size: 1.4rem;
  }
  .vip-features-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .vip-banner-action {
    flex: auto;
    width: 100%;
    padding: 20px 16px;
  }
  .vip-price {
    font-size: 2rem;
  }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1250px;
  margin: 0 auto;
}

.service-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-primary-light);
  box-shadow: 0 16px 36px rgba(0, 91, 181, 0.12);
}

.service-card.featured {
  border: 2px solid var(--color-primary-light);
  background: linear-gradient(180deg, rgba(0, 119, 237, 0.04) 0%, #ffffff 100%);
  box-shadow: var(--shadow-lg);
}

.service-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 5px 14px;
  border-radius: 50px;
  z-index: 2;
}

.badge-blue { background: #e0f2fe; color: #0284c7; border: 1px solid #bae6fd; }
.badge-star { background: linear-gradient(135deg, #0077ed, #005bb5); color: #fff; box-shadow: 0 4px 12px rgba(0, 119, 237, 0.35); }
.badge-amber { background: #fef3c7; color: #d97706; border: 1px solid #fde68a; }
.badge-cyan { background: #cffafe; color: #0891b2; border: 1px solid #a5f3fc; }
.badge-green { background: #dcfce7; color: #16a34a; border: 1px solid #bbf7d0; }
.badge-gold { background: #fef9c3; color: #ca8a04; border: 1px solid #fef08a; }

.service-icon {
  width: 55px;
  height: 55px;
  background: rgba(0, 91, 181, 0.08);
  color: var(--color-primary);
  font-size: 1.4rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.08);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin-bottom: 16px;
  line-height: 1.45;
}

.service-features {
  list-style: none;
  margin-bottom: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-features li {
  font-size: 0.85rem;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features li i {
  color: var(--color-primary-light);
  font-size: 0.8rem;
}

.service-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-primary);
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
  margin-bottom: 14px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.service-price span {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

.service-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 18px;
  background: var(--color-bg-alt);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.88rem;
  transition: var(--transition-fast);
}

.service-btn:hover {
  background: var(--color-whatsapp);
  color: var(--color-pure-white);
  border-color: var(--color-whatsapp);
}

.featured-btn {
  background: rgba(0, 119, 237, 0.08);
  border-color: rgba(0, 119, 237, 0.25);
  color: var(--color-primary);
}

/* ==================================
   CONFIGURADOR RÁPIDO DE PRESUPUESTO (INTERACTIVO)
   ================================== */
.configurator {
  background-color: var(--color-bg);
  padding: 60px 6%;
}

.configurator-box {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--color-pure-white);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  position: relative;
}

.config-controls {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.config-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.config-label {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.config-label i {
  color: var(--color-primary-light);
}

.config-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.config-chip {
  background: var(--color-bg-alt);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  font-family: inherit;
}

.config-chip i {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  transition: color 0.25s ease;
}

.config-chip:hover {
  border-color: var(--color-primary-light);
  color: var(--color-primary);
  transform: translateY(-2px);
  background: #ffffff;
}

.config-chip:hover i {
  color: var(--color-primary);
}

.config-chip.active {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 6px 18px rgba(0, 91, 181, 0.25);
  transform: translateY(-2px);
}

.config-chip.active i {
  color: #ffffff;
}

.config-summary {
  background: linear-gradient(135deg, #f0f7ff 0%, #e0effe 100%);
  border: 2px solid #bae6fd;
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(0, 119, 237, 0.08);
}

.summary-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--color-primary);
  border: 1px solid #bae6fd;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  align-self: flex-start;
  margin-bottom: 14px;
}

.config-summary h4 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 8px;
  line-height: 1.3;
}

.config-summary p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.calc-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(0, 91, 181, 0.15);
  border-bottom: 1px solid rgba(0, 91, 181, 0.15);
  margin-bottom: 22px;
}

.calc-spec-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.calc-spec-item .spec-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 700;
  letter-spacing: 0.6px;
}

.calc-spec-item strong {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-text);
}

.calc-spec-item strong.text-accent {
  color: var(--color-primary);
}

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

/* ==================================
   SECCIÓN DE EXCELENCIA TÉCNICA & BENTO LIGHT
   ================================== */
.section-tech-impact {
  position: relative;
  background-color: var(--color-bg);
  padding: 70px 6%;
  overflow: hidden;
}

.tech-glow-1 {
  position: absolute;
  top: -80px;
  left: 5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 119, 237, 0.08) 0%, transparent 70%);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

.tech-glow-2 {
  position: absolute;
  bottom: -80px;
  right: 5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, transparent 70%);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

.tech-impact-container {
  max-width: 1250px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.bento-grid-light {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.bento-card-light {
  background: var(--color-pure-white);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

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

.bento-card-light p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.bento-card-light:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary-light);
  box-shadow: 0 15px 35px rgba(0, 91, 181, 0.1);
}

.bento-card-light.featured-card {
  grid-column: span 2;
  background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
  border: 1px solid rgba(0, 119, 237, 0.25);
  box-shadow: 0 10px 30px rgba(0, 91, 181, 0.07);
}

.bento-card-light.full-width-cta {
  grid-column: span 2;
  background: linear-gradient(135deg, #005bb5 0%, #0077ed 100%);
  border: none;
  padding: 36px 40px;
  box-shadow: 0 15px 35px rgba(0, 91, 181, 0.25);
}

.bento-card-light.full-width-cta h3 {
  color: #ffffff;
}

.bento-card-light.full-width-cta p {
  color: rgba(255, 255, 255, 0.9);
}

.bento-card-light.full-width-cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 91, 181, 0.35);
}

.card-stat-footer {
  display: flex;
  gap: 35px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.stat-mini b {
  display: block;
  font-size: 2.2rem;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 4px;
  font-weight: 800;
}

.stat-mini span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

.card-chip-cyan {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(56, 189, 248, 0.12);
  color: #0284c7;
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 16px;
  align-self: flex-start;
}

.card-chip-blue {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 91, 181, 0.1);
  color: var(--color-primary);
  border: 1px solid rgba(0, 91, 181, 0.25);
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 16px;
  align-self: flex-start;
}

.live-badge-green {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: auto;
  align-self: flex-start;
}

.live-badge-cyan {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.12);
  color: #0284c7;
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: auto;
  align-self: flex-start;
}

.cta-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta-banner-content h3 {
  font-size: 1.55rem;
  margin-bottom: 8px;
  line-height: 1.25;
}

.cta-banner-content p {
  margin-bottom: 0;
  font-size: 0.98rem;
  line-height: 1.5;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.74rem;
  font-weight: 700;
  margin-bottom: 10px;
  backdrop-filter: blur(4px);
}

/* ==================================
   TECNOLOGÍA & EQUIPAMIENTO AL DETALLE (INFONET AGROWEIGHT STYLE)
   ================================== */
.tech-specs {
  background-color: var(--color-bg);
  padding: 60px 6%;
}

.specs-grid {
  max-width: 1250px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.spec-card {
  background: var(--color-pure-white);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 30px 24px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.spec-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary-light);
  box-shadow: 0 15px 35px rgba(0, 91, 181, 0.1);
}

.spec-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 16px;
}

.spec-icon-wrap.icon-cyan {
  background: #e0f2fe;
  color: #0284c7;
}

.spec-icon-wrap.icon-blue {
  background: #dbeafe;
  color: #1d4ed8;
}

.spec-icon-wrap.icon-amber {
  background: #fef3c7;
  color: #d97706;
}

.spec-icon-wrap.icon-green {
  background: #dcfce7;
  color: #16a34a;
}

.spec-chip {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--color-primary);
  background: rgba(0, 91, 181, 0.08);
  padding: 4px 10px;
  border-radius: 50px;
  margin-bottom: 10px;
  align-self: flex-start;
}

.spec-card h3 {
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text);
}

.spec-card p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 0;
}

/* ==================================
   HISTORY & STORYTELLING
   ================================== */
.history {
  background-color: var(--color-bg);
}

.history-grid {
  max-width: 1250px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 45px;
  align-items: center;
}

.history-text h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
  line-height: 1.3;
}

.history-text p {
  color: var(--color-text-muted);
  margin-bottom: 14px;
  font-size: 1rem;
}

.history-highlights {
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.highlight-item {
  display: flex;
  gap: 14px;
  background: var(--color-bg-alt);
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--color-border);
}

.highlight-item i {
  font-size: 1.5rem;
  margin-top: 2px;
}

.highlight-item strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 2px;
}

.highlight-item p {
  font-size: 0.88rem;
  margin-bottom: 0;
  line-height: 1.45;
}

.history-media {
  position: relative;
}

.history-card-img {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.history-card-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.history-card-img:hover img {
  transform: scale(1.03);
}

.history-floating-card {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-md);
}

.history-floating-card i {
  font-size: 1.5rem;
}

.history-floating-card strong {
  display: block;
  font-size: 0.92rem;
  color: var(--color-text);
}

.history-floating-card span {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

/* ==================================
   SPECIALTIES (4 PILARES COLORIDOS)
   ================================== */
.specialties {
  background-color: var(--color-bg-alt);
}

.specialties-grid {
  max-width: 1250px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.specialty-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

.specialty-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-md);
}

.specialty-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.icon-red { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.icon-blue { background: rgba(0, 119, 237, 0.1); color: #0077ed; }
.icon-amber { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.icon-cyan { background: rgba(6, 182, 212, 0.1); color: #06b6d4; }

.specialty-card:hover .specialty-icon {
  transform: scale(1.1);
}

.specialty-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.specialty-card p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  flex-grow: 1;
  margin-bottom: 16px;
}

.specialty-badge {
  display: inline-block;
  background: var(--color-bg-subtle);
  color: var(--color-primary);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 5px 12px;
  border-radius: 50px;
  align-self: center;
}

/* ==================================
   COMPARISON TABLE / CARDS
   ================================== */
.comparison {
  background-color: var(--color-bg);
}

.comparison-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.comparison-card {
  border-radius: 20px;
  padding: 35px 30px;
  border: 1px solid var(--color-border);
  position: relative;
  transition: var(--transition-smooth);
}

.comparison-card.bad {
  background: #fffafa;
  border-color: #fee2e2;
}

.comparison-card.good {
  background: #f8fbff;
  border: 2px solid var(--color-primary-light);
  box-shadow: var(--shadow-lg);
}

.popular-ribbon {
  position: absolute;
  top: -12px;
  right: 25px;
  background: var(--color-primary);
  color: var(--color-pure-white);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.comparison-head {
  margin-bottom: 22px;
}

.comparison-head i {
  font-size: 1.8rem;
  margin-bottom: 10px;
  display: block;
}

.comparison-card.bad .comparison-head i {
  color: var(--color-danger);
}

.comparison-card.good .comparison-head i {
  color: var(--color-primary-light);
}

.comparison-head h3 {
  font-size: 1.45rem;
  margin-bottom: 5px;
}

.comparison-head p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--color-text);
  line-height: 1.45;
}

.comparison-list li i {
  margin-top: 3px;
  font-size: 1rem;
}

/* ==================================
   PROCESS IN 4 PHASES
   ================================== */
.process {
  background-color: var(--color-bg-alt);
}

.process-steps {
  max-width: 1250px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.step-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 26px 20px;
  position: relative;
  transition: var(--transition-smooth);
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-md);
}

.step-badge {
  display: inline-block;
  background: rgba(0, 91, 181, 0.08);
  color: var(--color-primary);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 10px;
}

.step-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: rgba(0, 91, 181, 0.15);
  line-height: 1;
  margin-bottom: 10px;
}

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

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

/* ==================================
   TESTIMONIALS
   ================================== */
.testimonials {
  background-color: var(--color-bg);
}

.testimonials-grid {
  max-width: 1250px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.testimonial-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  color: var(--color-gold);
  font-size: 1rem;
  margin-bottom: 14px;
  display: flex;
  gap: 4px;
}

.testimonial-quote {
  font-size: 0.92rem;
  color: var(--color-text);
  line-height: 1.55;
  font-style: italic;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.author-avatar {
  width: 44px;
  height: 44px;
  background: rgba(0, 91, 181, 0.1);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.testimonial-author strong {
  display: block;
  font-size: 0.95rem;
}

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

/* ==================================
   FAQ (ACCORDION)
   ================================== */
.faq {
  background-color: var(--color-bg-alt);
}

.faq-container {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--color-primary-light);
}

.faq-question {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.faq-question h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  padding-right: 15px;
}

.faq-question i {
  color: var(--color-primary);
  font-size: 0.95rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 24px;
}

.faq-answer p {
  padding-bottom: 18px;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ==================================
   INFO SECTION (LIGHT & CLEAN)
   ================================== */
.info-section {
  background-color: var(--color-bg);
  padding: 60px 6%;
}

.info-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.info-box {
  background: var(--color-pure-white);
  padding: 35px 30px;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 91, 181, 0.08);
  border-color: var(--color-primary-light);
}

.info-box h3 {
  font-size: 1.35rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text);
  font-weight: 700;
}

.info-box ul {
  list-style: none;
}

.info-box ul li {
  margin-bottom: 14px;
  color: var(--color-text-muted);
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 10px;
  font-size: 0.92rem;
}

.info-box ul li strong {
  color: var(--color-text);
}

.tag-closed {
  color: var(--color-danger);
  font-weight: 700;
}

.info-extra {
  margin-top: 20px;
  padding: 14px 20px;
  border-radius: 14px;
  font-size: 0.88rem;
  color: var(--color-text);
  border-left: 4px solid var(--color-primary-light);
  background: rgba(0, 91, 181, 0.05);
  transition: all 0.3s ease;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-extra p {
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  text-align: center;
  line-height: 1.5;
}

.info-extra .live-dot {
  margin-right: 8px;
  margin-left: 2px;
}

.info-extra.status-open {
  background: rgba(16, 185, 129, 0.08);
  border-left: 4px solid #10b981;
}

.info-extra.status-open .live-dot {
  background-color: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
}

.info-extra.status-break {
  background: rgba(245, 158, 11, 0.08);
  border-left: 4px solid #f59e0b;
}

.info-extra.status-break .live-dot {
  background-color: #f59e0b;
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
  animation: pulseAmber 2s infinite;
}

.info-extra.status-closed {
  background: rgba(239, 68, 68, 0.08);
  border-left: 4px solid #ef4444;
}

.info-extra.status-closed .live-dot {
  background-color: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: pulseRed 2s infinite;
}

@keyframes pulseAmber {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(245, 158, 11, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

@keyframes pulseRed {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.info-box p {
  color: var(--color-text-muted);
  margin-bottom: 16px;
  font-size: 0.98rem;
  line-height: 1.6;
}

.info-box strong {
  color: var(--color-text);
}

.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* Centrado vertical y horizontal solicitado en Foto 2 */
.info-box.info-box-location {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.info-box.info-box-location h3 {
  justify-content: center;
  margin-bottom: 16px;
}

.info-box.info-box-location p {
  text-align: center;
  margin-bottom: 14px;
}

.info-box.info-box-location .contact-actions {
  justify-content: center;
  margin-top: 14px;
}

/* ==================================
   FOOTER LIGHT & KIT DIGITAL CO-BRANDING
   ================================== */
.footer-light {
  background-color: #f8fafc;
  padding: 50px 6% 30px;
  border-top: 1px solid var(--color-border);
}

.footer-container {
  max-width: 950px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  max-width: 140px;
  margin: 0 auto 16px;
}

.footer-desc {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 22px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 30px;
}

.footer-links a {
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition-fast);
}

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

/* Kit Digital Institutional Section (Logos Equilibrados y Elegantes) */
.kit-digital-footer {
  background: var(--color-pure-white);
  border: 1.5px solid var(--color-border);
  border-radius: 20px;
  padding: 26px 32px;
  margin: 30px auto 20px;
  max-width: 860px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.kit-digital-info {
  margin-bottom: 18px;
}

.kit-digital-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 91, 181, 0.08);
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.kit-digital-text {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  max-width: 720px;
  margin: 0 auto;
}

.kit-digital-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 45px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
}

.kit-logo {
  height: 46px;
  max-height: 48px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.kit-logo:hover {
  transform: translateY(-2px) scale(1.02);
}

.kit-logo-es {
  height: 46px;
  max-height: 48px;
}

.kit-logo-eu {
  height: 46px;
  max-height: 48px;
}

.kit-logo-kd {
  height: 48px;
  max-height: 50px;
}

.kit-logo-redes {
  height: 44px;
  max-height: 46px;
}

.footer-copy {
  color: var(--color-text-light);
  font-size: 0.82rem;
  margin-top: 15px;
}

/* ==================================
   LIGHTBOX MODAL COVERFLOW
   ================================== */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 15, 29, 0.94);
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(14px);
  flex-direction: column;
  overflow: hidden;
  user-select: none;
}

.lightbox-counter {
  position: absolute;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-pure-white);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 10001;
}

.lightbox-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1400px;
  height: 82vh;
  perspective: 1200px;
}

.lightbox-main-card {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 80vh;
  max-width: 58vw;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-main-card img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1);
  animation: zoomMain 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes zoomMain {
  from { transform: scale(0.94); opacity: 0.6; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox-side-card {
  position: absolute;
  top: 50%;
  width: 280px;
  height: 380px;
  cursor: pointer;
  z-index: 5;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  border: 3px solid rgba(255, 255, 255, 0.2);
  background: #000;
}

.lightbox-side-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.lightbox-side-card.prev {
  left: 6%;
  transform: translateY(-50%) rotate(-12deg) scale(0.88);
  transform-origin: center right;
}

.lightbox-side-card.next {
  right: 6%;
  transform: translateY(-50%) rotate(12deg) scale(0.88);
  transform-origin: center left;
}

.lightbox-side-card:hover {
  border-color: var(--cielo);
  box-shadow: 0 20px 50px rgba(0, 119, 237, 0.45);
}

.lightbox-side-card.prev:hover {
  transform: translateY(-50%) rotate(-7deg) scale(0.95);
}

.lightbox-side-card.next:hover {
  transform: translateY(-50%) rotate(7deg) scale(0.95);
}

.lightbox-side-card:hover img {
  opacity: 0.8;
  transform: scale(1.05);
}

.lightbox-side-hint {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
  opacity: 0.85;
  transition: opacity 0.3s ease, background 0.3s ease;
}

.lightbox-side-card:hover .lightbox-side-hint {
  opacity: 1;
  background: var(--color-primary);
  border-color: var(--color-primary-light);
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 35px;
  color: #fff;
  font-size: 45px;
  font-weight: 300;
  cursor: pointer;
  transition: 0.25s;
  z-index: 10001;
}

.lightbox-close:hover {
  color: var(--cielo);
  transform: scale(1.1);
}

.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  color: white;
  border: none;
  padding: 16px 22px;
  font-size: 26px;
  cursor: pointer;
  border-radius: 50%;
  transition: 0.3s;
  z-index: 10000;
}

.lightbox-btn:hover {
  background: rgba(255,255,255,0.4);
}

.lightbox-btn.left { left: 25px; }
.lightbox-btn.right { right: 25px; }

@media (max-width: 950px) {
  .lightbox-side-card {
    display: none !important;
  }
  .lightbox-main-card {
    max-width: 90vw;
  }
}

/* ==================================
   FLOATING WHATSAPP
   ================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: var(--color-whatsapp);
  color: var(--color-pure-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.floating-whatsapp::before {
  content: '';
  position: absolute;
  top: -5px; left: -5px; right: -5px; bottom: -5px;
  border-radius: 50%;
  border: 2px solid var(--color-whatsapp);
  opacity: 0.7;
  animation: pulseWhatsapp 2s infinite;
}

@keyframes pulseWhatsapp {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

.floating-whatsapp:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
  position: absolute;
  right: 75px;
  white-space: nowrap;
  background: var(--color-text);
  color: var(--color-pure-white);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition-fast);
  box-shadow: var(--shadow-md);
}

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

/* ==================================
   SCROLL REVEAL ANIMATIONS & CASCADING MOTION
   ================================== */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-45px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(45px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* Cascada dinámica de elementos al entrar en pantalla (Staggered Children) */
.reveal-item {
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-item.item-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Reflejo de luz pasando sobre botones clave */
.btn-primary, .btn-whatsapp-glow, .btn-scroll-whatsapp {
  position: relative;
  overflow: hidden;
}

.btn-primary::after, .btn-whatsapp-glow::after, .btn-scroll-whatsapp::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -70%;
  width: 45%;
  height: 200%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: rotate(30deg);
  animation: buttonShine 4.5s infinite;
  pointer-events: none;
}

@keyframes buttonShine {
  0%, 70% { left: -70%; }
  100% { left: 140%; }
}

/* Micro-animación flotante para la tarjeta de nave en Historia */
.history-floating-card {
  animation: floatHistory 4.5s ease-in-out infinite;
}

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

/* Brillo ambiental dinámico en fondo */
.hero-glow {
  animation: driftGlow 9s ease-in-out infinite alternate;
}
.tech-glow-1 {
  animation: driftGlow 10s ease-in-out infinite alternate;
}
.tech-glow-2 {
  animation: driftGlow 11s ease-in-out infinite alternate-reverse;
}

@keyframes driftGlow {
  0% { transform: translate(0, 0) scale(1); opacity: 0.65; }
  50% { transform: translate(30px, -20px) scale(1.15); opacity: 0.95; }
  100% { transform: translate(-25px, 20px) scale(0.95); opacity: 0.7; }
}

/* ==================================
   CINTAS INFINITAS EN MOVIMIENTO (MARQUEE)
   ================================== */
.marquee-wrapper {
  width: 100%;
  overflow: hidden;
  padding: 14px 0;
  background: linear-gradient(90deg, #f8fafc 0%, #f1f5f9 50%, #f8fafc 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  user-select: none;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}

.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, rgba(248, 250, 252, 1), transparent);
}

.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, rgba(248, 250, 252, 1), transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 26s linear infinite;
  will-change: transform;
}

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

.marquee-reverse .marquee-track {
  animation: marqueeScrollReverse 30s linear infinite;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
  flex-shrink: 0;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.3px;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.95);
  padding: 7px 18px;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(0, 91, 181, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.marquee-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 91, 181, 0.12);
  border-color: var(--cielo);
}

.marquee-item i {
  font-size: 0.92rem;
}

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

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

/* ==================================
   ORBES DE LUZ AMBIENTAL FLOTANTES
   ================================== */
.ambient-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  will-change: transform;
}

.orb-blue {
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(0, 119, 237, 0.22) 0%, transparent 70%);
  animation: orbFloat1 16s ease-in-out infinite alternate;
}

.orb-cyan {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.24) 0%, transparent 70%);
  animation: orbFloat2 20s ease-in-out infinite alternate;
}

@keyframes orbFloat1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, 35px) scale(1.1); }
  100% { transform: translate(-30px, 50px) scale(0.95); }
}

@keyframes orbFloat2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-45px, -30px) scale(1.12); }
  100% { transform: translate(40px, 25px) scale(0.92); }
}

/* ==================================
   SPOTLIGHT INTERACTIVO EN TARJETAS (MOUSE GLOW)
   ================================== */
.service-card, .bento-card-light, .testimonial-card, .stat-card, .info-box {
  position: relative;
  overflow: hidden;
}

.service-card::before, .bento-card-light::before, .testimonial-card::before, .stat-card::before, .info-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: inherit;
  background: radial-gradient(380px circle at var(--mouse-x, -999px) var(--mouse-y, -999px), rgba(0, 119, 237, 0.08), transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
}

.service-card:hover::before, .bento-card-light:hover::before, .testimonial-card:hover::before, .stat-card:hover::before, .info-box:hover::before {
  opacity: 1;
}

/* ==================================
   MICRO-MOVIMIENTOS & DINAMISMO CONTINUO
   ================================== */
.stat-card:hover .stat-icon-wrap,
.service-card:hover .service-icon {
  transform: scale(1.12) rotate(4deg);
  box-shadow: 0 8px 22px rgba(0, 119, 237, 0.35);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.step-card:hover .step-number {
  transform: scale(1.08) translateY(-3px);
  color: var(--color-primary-light);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
}

.floating-whatsapp {
  animation: waPulse 3.2s infinite;
}

@keyframes waPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4); }
  50% { transform: scale(1.06); box-shadow: 0 8px 26px rgba(37, 211, 102, 0.65), 0 0 0 8px rgba(37, 211, 102, 0.15); }
}

/* ==================================
   RESPONSIVE DESIGN
   ================================== */
@media (max-width: 1100px) {
  .specialties-grid,
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid,
  .testimonials-grid,
  .specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-grid-light {
    grid-template-columns: 1fr 1fr;
  }
  .bento-card-light.featured-card,
  .bento-card-light.full-width-cta {
    grid-column: span 2;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 45px 5%;
  }
  .hero {
    padding: 75px 5% 50px;
    min-height: auto;
  }
  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding-top: 0;
  }
  .hero-image {
    order: -1; /* ¡Logo arriba del todo en móvil! */
    margin-bottom: 5px;
  }
  .hero-logo-large {
    max-width: 250px;
    margin: 0 auto;
    filter: drop-shadow(0 10px 25px rgba(0, 91, 181, 0.22));
  }
  .hero-text {
    order: 2; /* Texto abajo */
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-badge {
    margin: 0 auto 16px;
  }
  .hero-bg::after {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.88) 60%, #ffffff 100%);
  }
  .hero-text p {
    margin: 0 auto 20px;
  }
  .hero-buttons, .hero-perks {
    justify-content: center;
  }
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .stat-card:nth-child(2) {
    border-right: none;
  }
  .history-grid,
  .comparison-grid,
  .info-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .services-grid,
  .testimonials-grid,
  .bento-grid-light {
    grid-template-columns: 1fr;
  }
  .bento-card-light.featured-card,
  .bento-card-light.full-width-cta {
    grid-column: span 1;
  }
  .configurator-box {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 25px;
  }
  .cta-banner-content {
    flex-direction: column;
    text-align: center;
  }

  /* Modo Móvil: Se elimina la barra completa del header para máxima limpieza visual,
     dejando únicamente el botón flotante del menú interactivo */
  .scroll-header,
  .scroll-header.is-scrolled,
  .scroll-header.is-active {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    pointer-events: none;
  }
  .scroll-progress-bar,
  .scroll-brand,
  .header-flag-toggle {
    display: none !important;
  }
  .scroll-header-container {
    justify-content: flex-end;
    padding: 14px 5%;
    min-height: auto;
    pointer-events: none;
  }
  .scroll-nav {
    display: none;
  }
  .scroll-nav-toggle {
    display: flex;
    pointer-events: auto;
    position: relative;
    z-index: 10005;
  }
  .scroll-mobile-drawer {
    pointer-events: auto;
    border-radius: 18px;
    margin: 6px 4% 0;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 18px 40px rgba(0, 91, 181, 0.15);
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 70px 5% 40px;
    min-height: auto;
  }
  .hero-logo-large {
    max-width: 215px;
  }
  .hero-text h1 {
    font-size: 1.75rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-perks {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .stats-container {
    grid-template-columns: 1fr;
  }
  .stat-card {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 15px;
  }
  .stat-card:last-child {
    border-bottom: none;
  }
  .specialties-grid,
  .process-steps,
  .specs-grid {
    grid-template-columns: 1fr;
  }
  .calc-specs {
    grid-template-columns: 1fr;
  }
  .config-chip {
    width: 100%;
    justify-content: center;
  }
  .hero-logo-large {
    max-width: 290px;
  }
  .scroll-brand-name {
    font-size: 0.98rem;
  }
  .kit-digital-logos {
    gap: 18px;
    flex-direction: column;
  }
  .kit-logo {
    height: 38px;
    max-height: 40px;
    max-width: 250px;
  }
  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    font-size: 1.7rem;
  }
  .whatsapp-tooltip {
    display: none;
  }
  .card-stat-footer {
    flex-direction: column;
    gap: 15px;
  }
}

/* ==================================
   GOOGLE REVIEWS SUMMARY BANNER
   ================================== */
.google-rating-summary {
  max-width: 900px;
  margin: 0 auto 40px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  padding: 18px 28px;
  box-shadow: 0 8px 30px rgba(0, 91, 181, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.google-rating-badge {
  display: flex;
  align-items: center;
  gap: 14px;
}

.google-score-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-text-title);
  line-height: 1;
}

.google-stars-row {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #f59e0b;
  font-size: 1.15rem;
}

.google-rating-text {
  flex: 1;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.google-rating-text strong {
  font-size: 1.05rem;
  color: var(--color-text-title);
}

.google-rating-text span {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.btn-google-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 12px;
  border: 1.5px solid #4285F4;
  color: #4285F4;
  background: rgba(66, 133, 244, 0.04);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-google-outline:hover {
  background: #4285F4;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
  transform: translateY(-2px);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: #4285F4;
  font-weight: 600;
}

.testimonial-date {
  margin-top: 14px;
  font-size: 0.78rem;
  color: #94a3b8;
  font-style: italic;
}

@media (max-width: 768px) {
  .google-rating-summary {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  .google-rating-badge {
    justify-content: center;
  }
  .btn-google-outline {
    width: 100%;
    justify-content: center;
  }
}

/* ==================================
   BOTÓN BANDERA ÚNICA KIT DIGITAL (ES / EN)
   ================================== */
.lang-flag-toggle {
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  user-select: none;
}

/* Botón flotante redondo solo con la bandera en la esquina del header */
.header-flag-toggle {
  position: absolute;
  right: 4%;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(226, 232, 240, 0.95);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 91, 181, 0.1);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10002;
  padding: 0;
}

.header-flag-toggle:hover {
  background: #ffffff;
  transform: scale(1.08) translateY(-1px);
  border-color: rgba(0, 119, 237, 0.4);
  box-shadow: 0 6px 20px rgba(0, 119, 237, 0.22);
}

.header-flag-toggle:active {
  transform: scale(0.96);
}

.header-flag-toggle .lang-flag-img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  transition: transform 0.25s ease;
}

.header-flag-toggle:hover .lang-flag-img {
  transform: scale(1.04);
}

/* En el drawer desplegable para móvil */
.mobile-lang-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  margin-top: 8px;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.mobile-lang-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-text-title);
}

.drawer-flag-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  border: 1px solid rgba(226, 232, 240, 0.95);
  padding: 6px 14px 6px 8px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-text-title);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.drawer-flag-toggle:hover {
  background: #ffffff;
  border-color: var(--color-primary-light);
  color: var(--color-primary-light);
}

.drawer-flag-toggle .lang-flag-img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* En el footer oficial Kit Digital */
.footer-lang-switcher-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed rgba(226, 232, 240, 0.85);
  width: 100%;
}

.footer-lang-label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.footer-flag-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  padding: 6px 16px 6px 8px;
  border-radius: 50px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--color-text-title);
  box-shadow: 0 2px 8px rgba(0, 91, 181, 0.06);
  transition: all 0.25s ease;
}

.footer-flag-toggle:hover {
  border-color: var(--color-primary-light);
  color: var(--color-primary-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 119, 237, 0.16);
}

.footer-flag-toggle .lang-flag-img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

@media (max-width: 600px) {
  .footer-lang-switcher-wrap {
    flex-direction: column;
    gap: 8px;
  }
}

/* Enlaces Legales en Footer */
.footer-legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
  margin-bottom: 8px;
  font-size: 0.85rem;
}

.footer-legal-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.legal-sep {
  color: #cbd5e1;
  font-size: 0.75rem;
}

/* Banner Flotante de Consentimiento de Cookies (LSSI-CE) */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  width: calc(100% - 40px);
  max-width: 820px;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 14px 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  z-index: 999;
  display: none;
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.cookie-banner-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.cookie-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.cookie-banner-text {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f1f5f9;
  font-size: 0.88rem;
  line-height: 1.45;
  font-weight: 400;
}

.cookie-banner-text i {
  color: #38bdf8;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.cookie-btn-info {
  color: #94a3b8;
  text-decoration: underline;
  font-size: 0.82rem;
  font-weight: 500;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.cookie-btn-info:hover {
  color: #ffffff;
}

.cookie-btn-accept {
  background: var(--color-primary);
  color: #ffffff;
  border: none;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 119, 237, 0.35);
  white-space: nowrap;
}

.cookie-btn-accept:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

@media (max-width: 680px) {
  .cookie-banner {
    bottom: 15px;
    width: calc(100% - 24px);
    padding: 14px 16px;
    border-radius: 16px;
  }
  .cookie-banner-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .cookie-banner-actions {
    width: 100%;
    justify-content: space-between;
  }
}


