/* ============================================================
   TECNORIGEN — APPLE LIQUID GLASS DESIGN SYSTEM (HIGH PERFORMANCE)
   Vidrio neutro transparente + luz + profundidad + refracción
   ============================================================ */

/* ─── VARIABLES GLOBALES ─────────────────────────────────── */
:root {
  /* Fondo y superficies neutras */
  --clr-bg:             #05050a;
  --clr-bg-alt:         #080810;
  --clr-surface-card:   rgba(18, 20, 28, 0.85);
  --clr-apple-silver:   #F5F5F7;
  --clr-apple-muted:    #A1A1A6;
  --clr-apple-dim:      #76767B;
  
  /* Acentos de marca sutiles */
  --clr-accent-blue:    #2997FF;
  --clr-accent-green:   #30D158;
  --clr-accent-amber:   #FF9F0A;
  --clr-accent-purple:  #BF5AF2;

  /* ── LIQUID GLASS (APPLE NEUTRAL): Transparente + Luz Blanca ── */
  --glass-bg-strong:    rgba(255, 255, 255, 0.08);
  --glass-bg-medium:    rgba(255, 255, 255, 0.045);
  --glass-bg-light:     rgba(255, 255, 255, 0.025);
  --glass-bg-hover:     rgba(255, 255, 255, 0.09);

  --glass-border-strong: rgba(255, 255, 255, 0.20);
  --glass-border-medium: rgba(255, 255, 255, 0.12);
  --glass-border-light:  rgba(255, 255, 255, 0.07);
  --glass-border-hover:  rgba(255, 255, 255, 0.28);

  --glass-blur-strong:  blur(28px) saturate(180%);
  --glass-blur-medium:  blur(18px) saturate(160%);
  --glass-blur-light:   blur(10px) saturate(140%);

  --glass-shadow-strong: 0 30px 60px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 -1px 0 rgba(255, 255, 255, 0.03);
  --glass-shadow-medium: 0 16px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  --glass-shadow-light:  0 8px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);

  --glass-radius:        24px;
  --glass-radius-sm:     16px;
  --glass-radius-pill:   999px;
  --radius-pill:         999px;
  --radius-sm:           14px;
  --radius-md:           20px;
  --radius-lg:           24px;

  /* Tipografía */
  --font-heading:       'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:          'Geist', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Transiciones óptimas (GPU) */
  --transition-fast:    all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition:         all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow:    all 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  --navbar-h:           70px;
}

/* ─── RESET ──────────────────────────────────────────────── */
*, *::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(--clr-bg);
  color: var(--clr-apple-silver);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  animation: pageFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes pageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

img, video { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font-body); border: none; outline: none; }
ul, ol { list-style: none; }

/* ─── SCROLLBAR ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 99px;
  border: 2px solid #000;
}
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.5); }

/* ─── TYPOGRAPHY ──────────────────────────────────────────── */
h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  line-height: 1.3;
  font-weight: 700;
  color: #FFFFFF;
}

p {
  font-size: 0.95rem;
  color: var(--clr-apple-silver);
  line-height: 1.6;
}

.gradient-text {
  background: linear-gradient(180deg, #FFFFFF 0%, #B0B0B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #FFFFFF;
}

.gradient-text-lk {
  background: linear-gradient(90deg, #2997FF 0%, #30D158 60%, #ADFF2F 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── NAVBAR FLOTANTE (estilo unificado) ─────────────────── */
.navbar {
  position: fixed;
  top: 1rem; left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3rem);
  max-width: 1100px;
  z-index: 1000;
  height: 56px;
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  background: rgba(22, 22, 26, 0.82);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-pill);
  transition: var(--transition);
  animation: navbarEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes navbarEntrance {
  from { opacity: 0; transform: translate(-50%, -20px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

.navbar.scrolled {
  background: rgba(12, 12, 16, 0.95);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.9);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-right: auto;
  transition: var(--transition);
}

.navbar-brand img {
  height: 32px;
  width: auto;
  border-radius: 8px;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--clr-apple-muted);
}

.nav-link img {
  width: 16px;
  height: 16px;
  opacity: 0.8;
  filter: invert(1);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
}

/* ─── HAMBURGER ───────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #FFF;
  border-radius: 2px;
  transition: var(--transition);
}

/* ─── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: calc(var(--navbar-h) + 1.5rem);
  padding-bottom: 3rem;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.45;
  filter: saturate(1.15) brightness(0.9);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.92) 85%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 860px;
  margin: 0 auto;
}

.hero-anim-1 { animation: heroFadeUp 0.8s 0.1s cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero-anim-2 { animation: heroFadeUp 0.8s 0.25s cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero-anim-3 { animation: heroFadeUp 0.8s 0.4s cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero-anim-4 { animation: heroFadeUp 0.8s 0.55s cubic-bezier(0.16, 1, 0.3, 1) both; }

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

/* ─── BOTONES ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: var(--transition);
  position: relative;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  border: none;
}

.btn-apple-primary {
  background: #FFFFFF;
  color: #000000;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25);
}
.btn-apple-primary:hover {
  background: #EBEBEF;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.45);
}

.btn-apple-blue {
  background: #0071E3;
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(0, 113, 227, 0.35);
}
.btn-apple-blue:hover {
  background: #0077ED;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 113, 227, 0.55);
}

.btn-apple-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px);
}
.btn-apple-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.btn-apple-dark {
  background: #1C1C1E;
  color: #FFF;
  border: 1px solid var(--clr-border);
}
.btn-apple-dark:hover {
  background: #2C2C2E;
  border-color: var(--clr-border-bright);
}

.btn-lg {
  padding: 0.95rem 2.2rem;
  font-size: 0.98rem;
}

.btn-sm {
  padding: 0.45rem 1.15rem;
  font-size: 0.8rem;
}

/* ─── CARDS ──────────────────────────────────────────────── */
.glass-card {
  background: var(--clr-surface-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: var(--transition);
}

.glass-card:hover {
  background: rgba(28, 28, 35, 0.92);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow-apple);
}

/* ─── BADGES ─────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-alta {
  background: rgba(255, 69, 58, 0.15);
  color: var(--clr-danger);
  border: 1px solid rgba(255, 69, 58, 0.3);
}
.badge-media-alta {
  background: rgba(255, 159, 10, 0.15);
  color: var(--clr-warning);
  border: 1px solid rgba(255, 159, 10, 0.3);
}
.badge-media {
  background: rgba(48, 209, 88, 0.15);
  color: var(--clr-success);
  border: 1px solid rgba(48, 209, 88, 0.3);
}
.badge-pendiente {
  background: rgba(134, 134, 139, 0.15);
  color: var(--clr-apple-muted);
  border: 1px solid rgba(134, 134, 139, 0.3);
}

/* ─── SECTION ─────────────────────────────────────────────── */
.section {
  padding: 5rem 2rem;
  position: relative;
}
.section-sm { padding: 3.5rem 2rem; }

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 0.6rem;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: #FFFFFF;
}

.section-subtitle {
  text-align: center;
  color: var(--clr-apple-muted);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--clr-apple-silver);
  margin-bottom: 1rem;
}

/* ─── GRID ────────────────────────────────────────────────── */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ─── FORM ────────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--clr-apple-muted);
}

.form-control {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.1rem;
  color: #FFF;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
  width: 100%;
}

.form-control:focus {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

textarea.form-control { resize: vertical; min-height: 110px; }

/* ─── TABLE ───────────────────────────────────────────────── */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-border);
  background: var(--clr-surface-card);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.data-table thead {
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--clr-border);
}

.data-table th {
  padding: 1rem 1.15rem;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--clr-apple-silver);
}

.data-table td {
  padding: 0.9rem 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--clr-apple-silver);
}

.data-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

/* ─── PAGE HEADER ─────────────────────────────────────────── */
.page-header {
  padding: calc(var(--navbar-h) + 2.5rem) 2rem 2.5rem;
  text-align: center;
  border-bottom: 1px solid var(--clr-border);
}

/* ─── REVEAL ON SCROLL ────────────────────────────────────── */
.reveal, .reveal-left, .reveal-right {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: 
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.js-enabled .reveal { 
  opacity: 0; 
  transform: translateY(40px) scale(0.97); 
}
.js-enabled .reveal-left { 
  opacity: 0; 
  transform: translateX(-40px) scale(0.97); 
}
.js-enabled .reveal-right { 
  opacity: 0; 
  transform: translateX(40px) scale(0.97); 
}

.js-enabled .reveal.visible,
.js-enabled .reveal-left.visible,
.js-enabled .reveal-right.visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: #000000;
  border-top: 1px solid var(--clr-border);
  padding: 3rem 2rem 2rem;
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ─── WHATSAPP FLOAT ──────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 52px;
  height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #FFF;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ─── LOADER ──────────────────────────────────────────────── */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  transition: opacity 0.5s ease;
}

#page-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader-ring {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: #FFF;
  border-radius: 50%;
  animation: rotate 0.8s linear infinite;
}

@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .navbar { width: calc(100% - 2rem); top: 0.75rem; }
  .navbar-nav {
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(12, 12, 15, 0.96);
    backdrop-filter: blur(30px);
    border-bottom: 1px solid var(--clr-border);
    flex-direction: column;
    padding: 1.5rem 0;
    transform: translateY(-120%);
    transition: var(--transition);
    pointer-events: none;
  }
  .navbar-nav.open { transform: translateY(0); pointer-events: all; }
  .hamburger { display: flex; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* ─── LOADER DESACTIVADO (carga inmediata) ─── */
#page-loader {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

/* ─── PROTECCIÓN DE CONTENIDO ─── */
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* Permitir seleccionar en campos de formulario */
input, textarea, select, [contenteditable="true"] {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

img {
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: auto;
}

/* ─── POPUP ENGAGEMENT ─── */
#tecno-engage {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

#tecno-engage.is-open {
  opacity: 1;
  pointer-events: auto;
}

.tecno-engage-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: #12131a;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  padding: 2rem 1.75rem 1.5rem;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

#tecno-engage.is-open .tecno-engage-card {
  transform: translateY(0) scale(1);
}

.tecno-engage-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}

.tecno-engage-close:hover {
  background: rgba(255, 255, 255, 0.16);
}

.tecno-engage-emoji {
  font-size: 2rem;
  margin-bottom: 0.6rem;
}

.tecno-engage-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}

.tecno-engage-card p {
  font-size: 0.92rem;
  color: #A1A1A6;
  line-height: 1.55;
  margin-bottom: 1.4rem;
}

.tecno-engage-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.tecno-engage-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 99px;
  background: #fff;
  color: #000;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s;
}

.tecno-engage-primary:hover {
  background: #ebebef;
  transform: translateY(-1px);
}

.tecno-engage-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s;
}

.tecno-engage-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.tecno-engage-dismiss {
  background: none;
  border: none;
  color: #76767B;
  font-size: 0.82rem;
  cursor: pointer;
  padding: 6px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tecno-engage-dismiss:hover {
  color: #A1A1A6;
}

/* ─── MULTI-MONEDA ─── */
.tecno-currency-fab {
  position: fixed;
  bottom: 1.35rem;
  left: 1.15rem;
  top: auto;
  right: auto;
  z-index: 9500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 99px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(12, 14, 22, 0.88);
  backdrop-filter: blur(14px);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(0,0,0,0.4);
  transition: background 0.2s, transform 0.2s;
}
.tecno-currency-fab:hover { background: rgba(30, 34, 48, 0.95); transform: translateY(-1px); }
.tecno-currency-fab #tecno-currency-fab-flag { font-size: 1rem; line-height: 1; }

.tecno-currency-modal {
  position: fixed;
  inset: 0;
  z-index: 9600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.tecno-currency-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.tecno-currency-dialog {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow: auto;
  background: #12141c;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 22px;
  padding: 1.5rem 1.25rem 1.25rem;
  box-shadow: 0 28px 60px rgba(0,0,0,0.65);
}
.tecno-currency-dialog h2 {
  font-family: var(--font-heading, 'Plus Jakarta Sans', system-ui, sans-serif);
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.4rem;
  padding-right: 2rem;
}
.tecno-currency-lead {
  font-size: 0.88rem;
  color: #A1A1A6;
  line-height: 1.5;
  margin-bottom: 1.1rem;
}
.tecno-currency-x {
  position: absolute;
  top: 12px; right: 12px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
}
.tecno-currency-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
.tecno-currency-option {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  color: #fff;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.tecno-currency-option:hover {
  border-color: rgba(41,151,255,0.45);
  background: rgba(41,151,255,0.08);
}
.tecno-currency-option.selected {
  border-color: #2997FF;
  background: rgba(41,151,255,0.14);
}
.tecno-currency-option .flag { font-size: 1.25rem; line-height: 1; }
.tecno-currency-option .meta { display: flex; flex-direction: column; gap: 1px; }
.tecno-currency-option .meta strong { font-size: 0.82rem; font-weight: 600; }
.tecno-currency-option .meta small { font-size: 0.7rem; color: #A1A1A6; }
.tecno-currency-note {
  margin-top: 0.9rem;
  font-size: 0.72rem;
  color: #76767B;
  line-height: 1.45;
}
.tecno-currency-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 9700;
  max-width: 90vw;
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(18, 20, 28, 0.96);
  border: 1px solid rgba(48,209,88,0.35);
  color: #fff;
  font-size: 0.85rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.tecno-currency-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
@media (max-width: 480px) {
  .tecno-currency-fab { bottom: 1.35rem; left: 1.15rem; right: auto; top: auto; }
  .tecno-currency-grid { grid-template-columns: 1fr; }
}



/* ============================================================
   TECNORIGEN — LIQUID GLASS + MINIMAL + MOTION (v2)
   ============================================================ */

:root {
  --lg-blur: blur(28px) saturate(180%);
  --lg-blur-sm: blur(16px) saturate(160%);
  --lg-bg: rgba(255, 255, 255, 0.04);
  --lg-bg-strong: rgba(255, 255, 255, 0.07);
  --lg-border: rgba(255, 255, 255, 0.14);
  --lg-border-soft: rgba(255, 255, 255, 0.08);
  --lg-shine: linear-gradient(
    135deg,
    rgba(255,255,255,0.28) 0%,
    rgba(255,255,255,0.06) 28%,
    rgba(255,255,255,0) 50%,
    rgba(255,255,255,0.05) 72%,
    rgba(255,255,255,0.18) 100%
  );
  --motion-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --motion-fast: 0.25s var(--motion-ease);
  --motion-mid: 0.45s var(--motion-ease);
  --motion-slow: 0.75s var(--motion-ease);
}

/* Ambient soft glow behind pages */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 15% -10%, rgba(41,151,255,0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(48,209,88,0.06), transparent 50%),
    radial-gradient(ellipse 50% 35% at 50% 100%, rgba(41,151,255,0.05), transparent 55%);
}

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

/* ── Liquid glass core ── */
.liquid-glass,
.glass-card,
.gc {
  background: var(--lg-bg) !important;
  background-blend-mode: luminosity;
  backdrop-filter: var(--lg-blur) !important;
  -webkit-backdrop-filter: var(--lg-blur) !important;
  border: 1px solid var(--lg-border-soft) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 8px 32px rgba(0,0,0,0.35) !important;
  position: relative;
  overflow: hidden;
  transition: border-color var(--motion-mid), box-shadow var(--motion-mid), transform var(--motion-mid), background var(--motion-mid);
}

.liquid-glass::before,
.glass-card::before,
.gc::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--lg-shine);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.9;
}

.liquid-glass:hover,
.glass-card:hover,
.gc:hover {
  background: var(--lg-bg-strong) !important;
  border-color: rgba(255,255,255,0.2) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 16px 48px rgba(0,0,0,0.45),
    0 0 0 1px rgba(41,151,255,0.08) !important;
  transform: translateY(-4px);
}

/* Strong glass panels */
.lg-panel {
  background: rgba(12, 14, 22, 0.55);
  backdrop-filter: var(--lg-blur);
  -webkit-backdrop-filter: var(--lg-blur);
  border: 1px solid var(--lg-border-soft);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 20px 50px rgba(0,0,0,0.4);
}

/* Navbar glass */
.lk-navbar,
.navbar {
  background: rgba(8, 10, 16, 0.55) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.lk-nav-pill {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lk-nav-pill-btn {
  transition: color var(--motion-fast), background var(--motion-fast), transform var(--motion-fast) !important;
}
.lk-nav-pill-btn:hover {
  background: rgba(255,255,255,0.1) !important;
  color: #fff !important;
  transform: translateY(-1px);
}
.lk-nav-pill-btn.active {
  background: rgba(255,255,255,0.14) !important;
  color: #fff !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
}

/* Buttons — minimal glass / solid */
.btn-hero-primary {
  transition: transform var(--motion-fast), box-shadow var(--motion-fast), background var(--motion-fast) !important;
  box-shadow: 0 4px 20px rgba(255,255,255,0.12);
}
.btn-hero-primary:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 12px 36px rgba(255,255,255,0.22) !important;
}
.btn-hero-primary:active { transform: translateY(0) scale(0.98) !important; }

.btn-hero-secondary,
.btn-apple-secondary {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--motion-fast), background var(--motion-fast), border-color var(--motion-fast) !important;
}
.btn-hero-secondary:hover,
.btn-apple-secondary:hover {
  background: rgba(255,255,255,0.12) !important;
  border-color: rgba(255,255,255,0.28) !important;
  transform: translateY(-2px);
}

/* Reveal motion — smoother, more minimal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--motion-slow), transform var(--motion-slow);
  will-change: opacity, transform;
}
.reveal.from-left { transform: translateX(-24px); }
.reveal.from-right { transform: translateX(24px); }
.reveal.visible {
  opacity: 1;
  transform: translate(0, 0);
}
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* Stagger children utility */
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--motion-ease), transform 0.6s var(--motion-ease);
}
.stagger.is-in > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.is-in > *:nth-child(2) { transition-delay: 0.1s; }
.stagger.is-in > *:nth-child(3) { transition-delay: 0.15s; }
.stagger.is-in > *:nth-child(4) { transition-delay: 0.2s; }
.stagger.is-in > *:nth-child(5) { transition-delay: 0.25s; }
.stagger.is-in > *:nth-child(6) { transition-delay: 0.3s; }
.stagger.is-in > * {
  opacity: 1;
  transform: none;
}

/* Cards / portfolio / plans — glass minimal */
.portfolio-card,
.project-card,
.plan-card,
.service-card,
.addon-card,
.tv-feature-row,
.notif-card {
  background: rgba(16, 18, 26, 0.55) !important;
  backdrop-filter: blur(20px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 12px 40px rgba(0,0,0,0.3);
  transition: transform var(--motion-mid), border-color var(--motion-mid), box-shadow var(--motion-mid) !important;
}
.portfolio-card:hover,
.project-card:hover,
.plan-card:hover,
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(41,151,255,0.35) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 24px 56px rgba(0,0,0,0.45), 0 0 40px rgba(41,151,255,0.08);
}

/* Filter chips glass */
.filter-chip {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  backdrop-filter: blur(10px);
  transition: all var(--motion-fast) !important;
}
.filter-chip:hover {
  background: rgba(255,255,255,0.1) !important;
  transform: translateY(-1px);
}
.filter-chip.active {
  background: #fff !important;
  color: #000 !important;
  box-shadow: 0 4px 20px rgba(255,255,255,0.2);
}

/* WhatsApp float — soft pulse */
.whatsapp-float,
.wa-float {
  box-shadow: 0 8px 28px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0.35);
  animation: waPulse 2.8s ease-out infinite;
  transition: transform var(--motion-fast) !important;
}
.whatsapp-float:hover,
.wa-float:hover {
  transform: scale(1.08);
  animation: none;
}
@keyframes waPulse {
  0% { box-shadow: 0 8px 28px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0.35); }
  70% { box-shadow: 0 8px 28px rgba(37,211,102,0.4), 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 8px 28px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0); }
}

/* Currency FAB glass */
.tecno-currency-fab {
  background: rgba(12, 14, 22, 0.65) !important;
  backdrop-filter: blur(18px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(160%) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 8px 28px rgba(0,0,0,0.4) !important;
}
.tecno-currency-dialog {
  background: rgba(14, 16, 24, 0.82) !important;
  backdrop-filter: blur(32px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(32px) saturate(180%) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
/* ─── APPLE LIQUID GLASS (ESTRUCTURA Y FÍSICA DE LUZ) ─────── */
.liquid-glass,
.glass-panel,
.glass-card {
  position: relative;
  background: var(--glass-bg-medium);
  backdrop-filter: var(--glass-blur-medium);
  -webkit-backdrop-filter: var(--glass-blur-medium);
  border: 1px solid var(--glass-border-medium);
  box-shadow: var(--glass-shadow-medium);
  border-radius: var(--glass-radius);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease,
              box-shadow 0.35s ease,
              background 0.35s ease;
}

/* Micro-reflejo de luz blanca especular en borde superior (física de vidrio) */
.liquid-glass::before,
.glass-panel::before,
.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.28) 0%,
    rgba(255, 255, 255, 0.05) 45%,
    rgba(255, 255, 255, 0.02) 65%,
    rgba(255, 255, 255, 0.14) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.8;
  transition: opacity 0.35s ease;
}

/* Reflejo dinámico interactivo con cursor */
.interactive-glass {
  position: relative;
}
.interactive-glass::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.07),
    transparent 50%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1;
}

@media (hover: hover) and (pointer: fine) {
  .interactive-glass:hover::after {
    opacity: 1;
  }
  .liquid-glass:hover,
  .glass-panel:hover,
  .glass-card:hover {
    transform: translateY(-4px);
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    box-shadow: var(--glass-shadow-strong);
  }
  .liquid-glass:hover::before,
  .glass-panel:hover::before,
  .glass-card:hover::before {
    opacity: 1;
  }
}

/* Section tags glass */
.section-tag,
.section-tag-lk {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--glass-radius-pill);
  padding: 5px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--clr-apple-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Mobile menu glass */
.lk-mobile-menu {
  background: rgba(10, 12, 18, 0.94) !important;
  backdrop-filter: blur(24px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(160%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

/* FAQ glass */
.faq-item-home,
.faq-item {
  background: var(--glass-bg-medium) !important;
  backdrop-filter: var(--glass-blur-light) !important;
  -webkit-backdrop-filter: var(--glass-blur-light) !important;
  border: 1px solid var(--glass-border-medium) !important;
  transition: border-color 0.3s ease !important;
  border-radius: var(--glass-radius-sm);
}
.faq-item.active,
.faq-item-home.active {
  border-color: rgba(255, 255, 255, 0.28) !important;
}

/* ─── OPTIMIZACIÓN EXTREMA MÓVILES (PERFORMANCE STRATEGY) ──── */
@media (max-width: 768px) {
  :root {
    --glass-blur-strong: blur(14px);
    --glass-blur-medium: blur(10px);
    --glass-blur-light:  blur(6px);
  }
  
  .liquid-glass,
  .glass-panel,
  .glass-card,
  .navbar,
  .lk-navbar {
    background: rgba(14, 16, 24, 0.88) !important;
  }

  /* Reducir transformaciones costosas en móviles */
  .service-card:hover,
  .portfolio-card:hover,
  .plan-card:hover,
  .why-card:hover {
    transform: none !important;
  }
}

/* ─── ACCESIBILIDAD: REDUCED MOTION ────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .whatsapp-float, .wa-float { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

