@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Geist:wght@300;400;500;600;700;800&family=Geist+Mono:wght@400;500;600;700&display=swap');

:root {
  --bg: #070709;
  --bg-surface: #0e0e12;
  --bg-card: #111115;
  --bg-card-hover: #16161b;
  --border: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.04);
  --border-hover: rgba(255, 255, 255, 0.22);
  
  --text-main: #ffffff;
  --text-muted: #a1a1aa;
  --text-dim: #71717a;
  
  --accent-orange: #ff5429;
  --accent-orange-hover: #ff6e47;
  --accent-glow: rgba(255, 84, 41, 0.4);
  
  --font-main: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Figtree', sans-serif;
  --font-mono: 'Geist Mono', monospace;
  
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
  background-color: var(--bg);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* ========================================================
   [EFECTO LUMINOSO / GLOW ORBS & NOISE TEXTURE]
======================================================== */
.hk-ambient-glow {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.hk-ambient-glow::before {
  content: '';
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 84, 41, 0.16) 0%, rgba(255, 84, 41, 0.04) 45%, transparent 70%);
  filter: blur(80px);
  animation: pulseGlow 10s ease-in-out infinite alternate;
}
.hk-ambient-glow::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 84, 41, 0.09) 0%, transparent 65%);
  filter: blur(90px);
}
@keyframes pulseGlow {
  0% { transform: translateX(-50%) scale(1); opacity: 0.8; }
  100% { transform: translateX(-50%) scale(1.2); opacity: 1; }
}

/* ========================================================
   [ANIMACIÓN DE CARGA / LOAD-TRANSITIONS (PAGE REVEAL)]
======================================================== */
.page-load-curtain {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: #050507;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.7s cubic-bezier(0.77, 0, 0.175, 1);
  pointer-events: auto;
}
.page-load-curtain.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.curtain-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.curtain-spinner {
  width: 42px; height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--accent-orange);
  border-radius: 50%;
  animation: spinCurtain 0.8s linear infinite;
}
.curtain-text {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}
@keyframes spinCurtain {
  to { transform: rotate(360deg); }
}

::selection { background: var(--accent-orange); color: #000; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.skip-link { position: absolute; top: -100px; left: 20px; background: #fff; color: #000; padding: 8px 16px; z-index: 1000; font-family: var(--font-mono); font-size: 0.8rem; }
.skip-link:focus { top: 20px; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 2; }
.section { padding: 120px 0; position: relative; z-index: 2; }
.border-top { border-top: 1px solid var(--border-subtle); }

/* ========================================================
   1. NAVBAR (HeyKuba Exact Sticky Top Bar & Brand Logo MIG)
======================================================== */
.hk-header {
  position: sticky; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(7, 7, 9, 0.88);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}
.hk-nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 14px 40px;
  display: flex; align-items: center; justify-content: space-between;
}

/* LOGO INSTITUCIONAL MIG (DEL PILOTO INICIAL) */
.hk-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  cursor: pointer;
}
.hk-nav-brand-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
  transition: transform 0.3s ease;
}
.hk-nav-brand:hover .hk-nav-brand-img {
  transform: scale(1.06);
}
.hk-nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.hk-nav-brand-top {
  font-family: var(--font-main);
  font-size: 1.55rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.03em;
}
.hk-nav-brand-top span {
  color: var(--accent-orange);
}
.hk-nav-brand-bottom {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 3px;
}

.hk-nav-right-group {
  display: flex; align-items: center; gap: 32px;
}
.hk-nav-links {
  display: flex; align-items: center; gap: 28px; list-style: none;
}
.hk-nav-links > li {
  position: relative;
}
.hk-nav-link-btn, .hk-nav-links > li > a {
  background: none; border: none; font-family: var(--font-main);
  font-size: 0.92rem; font-weight: 500; color: var(--text-muted);
  cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 0; transition: var(--transition); text-decoration: none;
}
.hk-nav-link-btn:hover, .hk-nav-links > li > a:hover { color: #fff; }
.hk-nav-link-btn svg { width: 10px; height: 10px; transition: transform 0.25s ease; stroke: currentColor; }
.hk-nav-dropdown:hover .hk-nav-link-btn svg { transform: rotate(180deg); stroke: var(--accent-orange); }

/* Menú Desplegable Flotante Estilo HeyKuba Ejecutivo */
.hk-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 250px;
  background: #0d0d12;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 1100;
  list-style: none;
}
.hk-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  width: 100%;
  height: 14px;
}
.hk-nav-dropdown:hover .hk-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.hk-dropdown-menu li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 0.84rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}
.hk-dropdown-menu li a:hover {
  background: rgba(255, 84, 41, 0.08);
  color: #fff;
  padding-left: 18px;
}
.hk-dropdown-menu li a span.hk-dd-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--accent-orange);
  background: rgba(255, 84, 41, 0.12);
  padding: 2px 6px;
  border-radius: 3px;
}

.hk-btn-linkedin-nav {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.78rem !important;
  color: #fff !important;
  transition: var(--transition);
}
.hk-btn-linkedin-nav:hover {
  border-color: var(--accent-orange);
  background: rgba(255, 84, 41, 0.08);
}

/* Botón Rectangular Estilo HeyKuba Original: "INICIAR UN PROYECTO" */
.hk-btn-start {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-orange); color: #000; font-family: var(--font-main);
  font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 13px 22px; border-radius: 4px; border: none; cursor: pointer;
  transition: var(--transition); text-decoration: none;
  box-shadow: 0 4px 14px rgba(255, 84, 41, 0.25);
}
.hk-btn-start:hover {
  background: var(--accent-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px var(--accent-glow);
}

.hk-nav-toggle {
  display: none; background: none; border: 1px solid var(--border); border-radius: 6px;
  padding: 8px 10px; cursor: pointer; flex-direction: column; gap: 4px;
}
.hk-nav-toggle span {
  display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px;
}

/* ========================================================
   2. HERO SECTION CON EFECTO NUBES (CLOUDS / FOG)
======================================================== */
.hk-hero {
  padding: 120px 0 100px; position: relative; min-height: 86vh;
  display: flex; align-items: center; overflow: hidden; z-index: 2;
}
.hk-hero-content { width: 100%; position: relative; z-index: 3; }
.hk-hero-headline {
  font-size: clamp(2.6rem, 5.8vw, 4.6rem); line-height: 1.1; font-weight: 800;
  letter-spacing: -0.035em; max-width: 1060px; margin-bottom: 30px; color: #fff;
}
.hero-carrusel-box {
  position: relative;
  display: block;
  min-height: 1.25em;
  overflow: visible;
}
.hero-dynamic-text {
  display: inline-block;
  white-space: nowrap;
  color: #ffffff;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.hero-dynamic-text.fade-out {
  opacity: 0;
  transform: translateY(-8px);
}
.hero-dynamic-text.fade-in {
  opacity: 1;
  transform: translateY(0);
}
.hk-hero-buttons {
  display: flex; align-items: center; gap: 14px; margin-bottom: 70px; flex-wrap: wrap;
}
.hk-btn-hero-dark {
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.04); color: #fff; border: 1px solid var(--border);
  font-family: var(--font-main); font-size: 0.82rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; padding: 13px 22px; border-radius: 4px; cursor: pointer;
  transition: var(--transition); text-decoration: none;
}
.hk-btn-hero-dark:hover {
  background: rgba(255, 255, 255, 0.08); border-color: var(--border-hover);
}

.hk-hero-meta {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  margin-bottom: 28px; font-family: var(--font-main); font-size: 0.88rem; color: var(--text-muted); flex-wrap: wrap;
}
.hk-hero-meta-left { max-width: 440px; }
.hk-hero-meta-right { display: flex; flex-direction: column; gap: 4px; text-align: right; }

/* ========================================================
   [EFECTO NUBES / CLOUDS & FOG OVERLAY BASE]
   Inspirado exactamente en la niebla luminosa difusa de HeyKuba
======================================================== */
.hk-clouds-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 220px;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.hk-clouds-layer {
  position: absolute;
  bottom: -40px;
  left: -20%;
  width: 140%;
  height: 260px;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(255, 255, 255, 0.09) 0%, rgba(255, 84, 41, 0.05) 30%, transparent 70%);
  filter: blur(40px);
  opacity: 0.85;
  animation: cloudsDrift 18s ease-in-out infinite alternate;
}
.hk-clouds-layer-second {
  position: absolute;
  bottom: -60px;
  left: -10%;
  width: 120%;
  height: 200px;
  background: radial-gradient(ellipse 50% 60% at 50% 100%, rgba(255, 255, 255, 0.06) 0%, transparent 60%);
  filter: blur(55px);
  animation: cloudsDrift 12s ease-in-out infinite alternate-reverse;
}
@keyframes cloudsDrift {
  0% { transform: translateY(0) scaleX(1); }
  50% { transform: translateY(-15px) scaleX(1.05); }
  100% { transform: translateY(-5px) scaleX(0.98); }
}

/* ========================================================
   [CONTROL DESLIZANTE / CLIENTS LOGO MARQUEE TICKER SLIDER]
   Infinite continuous ticker slider + 7-column grid
======================================================== */
.hk-ticker-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: rgba(14, 14, 18, 0.6);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 0;
  margin-top: 24px;
}
.hk-ticker-container::before, .hk-ticker-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.hk-ticker-container::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}
.hk-ticker-container::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}
.hk-ticker-track {
  display: flex;
  width: max-content;
  animation: tickerSlide 28s linear infinite;
}
.hk-ticker-track:hover {
  animation-play-state: paused;
}
@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.hk-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 34px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  transition: var(--transition);
  white-space: nowrap;
}
.hk-ticker-item:hover {
  color: #fff;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}
.hk-ticker-dot {
  width: 5px; height: 5px;
  background: var(--accent-orange);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-orange);
}

/* ========================================================
   [POLAROIDS / POLAROID SHOWCASE GALLERY]
   OnePageLove Tag: Polaroids con tilt, sombra y bordes fotográficos
======================================================== */
.hk-polaroids-section {
  padding: 40px 0 100px;
  position: relative;
  z-index: 2;
}
.hk-polaroids-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  margin-top: 48px;
  perspective: 1000px;
}
.hk-polaroid-card {
  background: #141419;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 16px 16px 28px 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  cursor: pointer;
}
.hk-polaroid-card:nth-child(1) { transform: rotate(-2.5deg); }
.hk-polaroid-card:nth-child(2) { transform: rotate(1.8deg) translateY(-8px); }
.hk-polaroid-card:nth-child(3) { transform: rotate(-1.5deg); }
.hk-polaroid-card:hover {
  transform: rotate(0deg) translateY(-14px) scale(1.03);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9), 0 0 24px rgba(255, 84, 41, 0.25);
  z-index: 10;
  border-color: rgba(255, 84, 41, 0.4);
}
.hk-polaroid-img-wrap {
  width: 100%;
  height: 250px;
  background: #09090c;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.hk-polaroid-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.hk-polaroid-card:hover .hk-polaroid-img-wrap img {
  transform: scale(1.06);
}
.hk-polaroid-caption {
  margin-top: 18px;
  text-align: center;
}
.hk-polaroid-title {
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.hk-polaroid-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--accent-orange);
  text-transform: uppercase;
}
.hk-polaroid-pin {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  background: var(--accent-orange);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.8), inset 0 1px 2px rgba(255,255,255,0.6);
}

/* 7-Columns Logo Grid (HeyKuba Exact Client Strip) */
.hk-clients-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px;
  background: var(--border-subtle); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm); overflow: hidden;
}
.hk-client-cell {
  background: var(--bg); padding: 34px 14px; text-align: center;
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; color: var(--text-dim); transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.hk-client-cell:hover {
  background: var(--bg-card); color: #fff;
}

/* ========================================================
   3. SHOWCASE / WORK (HeyKuba Exact Executive Layout)
======================================================== */
.hk-showcase-section { padding: 40px 0 100px; }
.hk-work-block { margin-bottom: 120px; }
.hk-work-header {
  display: grid; grid-template-columns: 1.2fr 1.4fr 0.8fr; gap: 48px;
  margin-bottom: 36px;
}
.hk-work-title-col h3 {
  font-size: 1.6rem; line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 16px; color: #fff;
}
.hk-work-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.hk-work-tag {
  font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase;
  letter-spacing: 0.1em; background: rgba(255, 255, 255, 0.04); color: var(--text-muted);
  border: 1px solid var(--border-subtle); padding: 4px 10px; border-radius: 4px;
}
.hk-work-desc-col p {
  color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 12px;
}
.hk-work-desc-col p:last-child { margin-bottom: 0; }
.hk-work-meta-col {
  display: flex; flex-direction: column; justify-content: flex-start;
  border-left: 1px solid var(--border-subtle); padding-left: 36px;
}
.hk-work-meta-label {
  font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--text-dim); margin-bottom: 4px;
}
.hk-work-meta-val {
  font-size: 0.94rem; font-weight: 600; color: #fff; margin-bottom: 24px;
}
.hk-work-link {
  font-size: 0.88rem; font-weight: 600; color: #fff; transition: var(--transition);
  display: inline-flex; align-items: center; gap: 6px;
}
.hk-work-link:hover { color: var(--accent-orange); transform: translateX(4px); }

/* Full-width Product Frame (HeyKuba Exact Pattern) */
.hk-work-frame {
  width: 100%; height: 560px; background: #0e0e12; border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background-size: cover; background-position: top center;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.45s ease;
  margin-bottom: 28px;
}
.hk-work-frame:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 84, 41, 0.45);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.85), 0 0 34px rgba(255, 84, 41, 0.15);
}
.hk-work-hero-overlay {
  text-align: center; padding: 40px 24px; max-width: 900px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  z-index: 2;
}
.hk-work-hero-title {
  font-family: var(--font-main);
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  color: #ffffff;
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 16px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.8), 0 1px 2px rgba(0, 0, 0, 0.9);
}
.hk-work-hero-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 680px;
  line-height: 1.55;
  margin-bottom: 28px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}
.hk-work-btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #0b0b0e !important;
  font-family: var(--font-main);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 9999px;
  text-decoration: none;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
}
.hk-work-btn-pill:hover {
  background: #f0f0f4;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 36px rgba(255, 255, 255, 0.25);
}

/* ========================================================
   4. SERVICES & PROCESS (HeyKuba Clean Structured Rows)
======================================================== */
.hk-section-header { margin-bottom: 56px; }
.hk-section-eyebrow {
  font-family: var(--font-mono); font-size: 0.76rem; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--accent-orange); margin-bottom: 14px;
}
.hk-section-h2 {
  font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; font-weight: 600; letter-spacing: -0.03em;
}
.hk-section-h2 span { color: var(--text-dim); font-weight: 400; }
.hk-section-desc {
  font-size: 1.1rem; color: var(--text-muted); max-width: 640px; margin-top: 14px;
  line-height: 1.65;
}

.servicios-list { display: flex; flex-direction: column; gap: 8px; }
.servicio-hover {
  display: flex; align-items: center; justify-content: space-between; padding: 26px 32px;
  background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm);
  text-decoration: none; color: inherit; transition: var(--transition); position: relative; overflow: hidden;
}
.servicio-hover::before {
  content: ''; position: absolute; left: 0; top: 0; width: 3px; height: 100%;
  background: var(--accent-orange); opacity: 0; transition: var(--transition);
}
.servicio-hover:hover {
  background: var(--bg-card-hover); border-color: var(--border-hover); transform: translateX(6px);
}
.servicio-hover:hover::before { opacity: 1; }
.servicio-hover-left { display: flex; align-items: center; gap: 24px; }
.servicio-num { font-family: var(--font-mono); font-size: 0.84rem; color: var(--accent-orange); font-weight: 600; }
.servicio-nombre { font-size: 1.25rem; font-weight: 600; color: #fff; }
.servicio-flecha { font-size: 1.2rem; color: var(--text-dim); transition: var(--transition); }
.servicio-hover:hover .servicio-flecha { color: #fff; transform: translateX(6px); }

/* Paquetes Productizados */
.paquetes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.paquete-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 38px; display: flex; flex-direction: column; justify-content: space-between; transition: var(--transition);
}
.paquete-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.6); }
.paquete-card.destacado-card { background: rgba(255, 98, 59, 0.035); border-color: rgba(255, 98, 59, 0.35); }
.paquete-badge {
  display: inline-block; align-self: flex-start; background: rgba(255, 98, 59, 0.15);
  color: var(--accent-orange); font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600;
  padding: 4px 12px; border-radius: 4px; margin-bottom: 16px;
}
.paquete-tag { font-family: var(--font-mono); font-size: 0.74rem; color: var(--text-dim); text-transform: uppercase; margin-bottom: 8px; }
.paquete-titulo { font-size: 1.3rem; font-weight: 600; color: #fff; margin-bottom: 12px; }
.paquete-desc { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 24px; line-height: 1.6; }
.paquete-lista { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.paquete-lista li { font-size: 0.86rem; color: #d4d4d8; padding-left: 20px; position: relative; }
.paquete-lista li::before { content: '✓'; position: absolute; left: 0; color: var(--accent-orange); font-weight: 700; }
.paquete-meta { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border-subtle); padding-top: 20px; font-size: 0.84rem; color: var(--text-muted); }

/* ========================================================
   5. SOBRE MI & VALORES
======================================================== */
.sobre-grid { display: grid; grid-template-columns: 420px 1fr; gap: 64px; align-items: center; }
.sobre-img-box { border-radius: var(--radius-md); overflow: hidden; background: #121215; border: 1px solid var(--border); }
.sobre-img-box img { width: 100%; height: auto; display: block; filter: contrast(105%); }
.sobre-quote {
  border-left: 2px solid var(--accent-orange); padding-left: 22px; margin: 24px 0;
  font-size: 1.25rem; color: #fff; font-style: italic; font-weight: 400; line-height: 1.6;
}
.sobre-texto p { color: var(--text-muted); font-size: 1.02rem; margin-bottom: 16px; line-height: 1.75; }

.valores-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; margin-bottom: 40px; }
.valor-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 32px; transition: var(--transition);
}
.valor-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.valor-icono { font-size: 1.5rem; margin-bottom: 14px; }
.valor-card h3 { font-size: 1.15rem; margin-bottom: 8px; color: #fff; }
.valor-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

.sla-strip {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 30px 38px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.sla-strip-left { display: flex; align-items: center; gap: 18px; }
.sla-badge-icon { font-size: 1.8rem; }
.sla-strip-text h4 { font-size: 1.15rem; margin-bottom: 4px; color: #fff; }
.sla-strip-text p { font-size: 0.88rem; color: var(--text-muted); }
.sla-strip-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.sla-pill { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); padding: 7px 14px; border-radius: 4px; font-family: var(--font-mono); font-size: 0.76rem; color: #d4d4d8; }

/* ========================================================
   6. TESTIMONIALS (HeyKuba Duotone Split Card)
======================================================== */
.hk-testimonial-split {
  display: grid; grid-template-columns: 1.3fr 1fr; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden;
  transition: opacity 0.3s ease;
}
.hk-testimonial-text-side {
  padding: 64px 56px; display: flex; flex-direction: column; justify-content: space-between;
}
.hk-testimonial-quote {
  font-size: clamp(1.2rem, 2.4vw, 1.65rem); color: #fff; font-weight: 500; line-height: 1.5;
  margin-bottom: 36px;
}
.hk-testimonial-author { font-size: 1.05rem; font-weight: 600; color: #fff; }
.hk-testimonial-role { font-size: 0.86rem; color: var(--text-dim); margin-top: 4px; font-family: var(--font-mono); }

/* Controles de Slider */
.hk-test-controls {
  display: flex; align-items: center; gap: 12px;
}
.hk-test-btn {
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border);
  color: #fff; width: 38px; height: 38px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  transition: var(--transition);
}
.hk-test-btn:hover {
  background: var(--accent-orange); color: #000; border-color: var(--accent-orange);
}
.hk-test-count {
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-dim);
}

.hk-testimonial-duotone-side {
  background: var(--accent-orange); min-height: 380px; position: relative;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hk-testimonial-duotone-side img {
  width: 100%; height: 100%; object-fit: cover;
  mix-blend-mode: multiply; filter: contrast(140%) grayscale(100%);
  opacity: 0.92;
}
.hk-testimonial-metric-overlay {
  position: absolute; bottom: 28px; left: 28px; background: rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 4px; padding: 14px 20px;
  color: #fff;
}
.hk-testimonial-metric-num { font-size: 1.8rem; font-weight: 800; color: var(--accent-orange); line-height: 1; }
.hk-testimonial-metric-lbl { font-size: 0.72rem; text-transform: uppercase; font-family: var(--font-mono); letter-spacing: 0.1em; }

/* ========================================================
   7. FAQ & CALLOUT SECTION (HeyKuba Exact Layout)
======================================================== */
.hk-faq-layout {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: flex-start;
}
.hk-faq-callout h2 {
  font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; font-weight: 600;
  letter-spacing: -0.03em; margin-bottom: 32px; color: #fff;
}

.faq-lista { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q {
  width: 100%; padding: 22px 28px; background: transparent; border: none; color: #fff;
  font-family: inherit; font-size: 1.05rem; font-weight: 600; text-align: left; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .icono { font-size: 1.3rem; color: var(--text-dim); transition: transform 0.25s ease; font-weight: 300; }
.faq-item.open .faq-q .icono { transform: rotate(45deg); color: var(--accent-orange); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; padding: 0 28px; color: var(--text-muted); font-size: 0.94rem; line-height: 1.7; }
.faq-item.open .faq-a { max-height: 260px; padding-bottom: 22px; }

/* ========================================================
   8. FOOTER (HeyKuba Exact Split Footer)
======================================================== */
.hk-footer {
  border-top: 1px solid var(--border-subtle); padding: 90px 0 40px; background: #070709;
}
.hk-footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 64px; margin-bottom: 70px;
}
.hk-footer-callout h3 {
  font-size: 1.6rem; font-weight: 600; line-height: 1.3; color: #fff; margin-bottom: 24px;
}
.hk-footer-col-title {
  font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.15em; color: var(--accent-orange); margin-bottom: 18px;
}
.hk-footer-list { display: flex; flex-direction: column; gap: 12px; }
.hk-footer-list li, .hk-footer-list a {
  color: var(--text-muted); font-size: 0.92rem; transition: var(--transition);
}
.hk-footer-list a:hover { color: #fff; }

.hk-footer-bottom {
  border-top: 1px solid var(--border-subtle); padding-top: 28px;
  display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--text-dim);
  flex-wrap: wrap; gap: 14px; font-family: var(--font-mono);
}
.hk-footer-bottom a { color: inherit; }

/* ========================================================
   9. SIDE-DRAWER CONTACT MODAL
======================================================== */
.hk-drawer-backdrop {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  z-index: 2000; opacity: 0; pointer-events: none; transition: opacity 0.35s ease;
}
.hk-drawer-backdrop.active { opacity: 1; pointer-events: auto; }

.hk-drawer {
  position: fixed; top: 0; right: 0; width: 560px; max-width: 100vw; height: 100vh;
  background: #0d0d10; border-left: 1px solid var(--border); z-index: 2001;
  padding: 44px; overflow-y: auto; transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.8);
}
.hk-drawer.active { transform: translateX(0); }

/* SERVICE DETAIL DRAWER (HEYKUBA EXECUTIVE ONE-PAGE MODAL) */
.hk-service-drawer {
  position: fixed; top: 0; right: 0; width: 720px; max-width: 100vw; height: 100vh;
  background: #09090c; border-left: 1px solid var(--border); z-index: 2002;
  padding: 48px 44px; overflow-y: auto; transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.95);
}
.hk-service-drawer.active { transform: translateX(0); }
.hk-service-drawer-header {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 28px;
  padding-bottom: 20px; border-bottom: 1px solid var(--border-subtle);
}
.hk-service-drawer-tag {
  font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--accent-orange); margin-bottom: 8px;
}
.hk-service-drawer-title {
  font-family: var(--font-main); font-size: clamp(1.8rem, 3.2vw, 2.4rem); font-weight: 800;
  letter-spacing: -0.03em; color: #fff; line-height: 1.15;
}
.hk-service-drawer-title span { color: var(--accent-orange); }
.hk-service-drawer-body {
  color: var(--text-muted); font-size: 0.98rem; line-height: 1.8;
}
.hk-service-drawer-body h3 {
  font-family: var(--font-main); font-size: 1.25rem; font-weight: 700; color: #fff;
  margin: 32px 0 12px; letter-spacing: -0.02em;
}
.hk-service-drawer-body h3 span { color: var(--accent-orange); }
.hk-service-drawer-body p { margin-bottom: 18px; }
.hk-service-drawer-body strong { color: #fff; font-weight: 600; }
.hk-service-drawer-body ul {
  list-style: none; margin: 16px 0 24px; display: flex; flex-direction: column; gap: 10px;
}
.hk-service-drawer-body ul li {
  padding-left: 22px; position: relative; color: var(--text-muted); font-size: 0.94rem;
}
.hk-service-drawer-body ul li::before {
  content: '✓'; position: absolute; left: 0; top: 0; color: var(--accent-orange); font-weight: 700; font-family: var(--font-mono);
}
.hk-service-drawer-actions {
  display: flex; align-items: center; gap: 14px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.hk-drawer-header {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 32px;
}
.hk-drawer-heading { font-size: 1.45rem; font-weight: 700; line-height: 1.25; color: #fff; }
.hk-drawer-close {
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border); border-radius: 50%;
  width: 36px; height: 36px; color: #fff; cursor: pointer; display: flex; align-items: center;
  justify-content: center; font-size: 1rem; transition: var(--transition); flex-shrink: 0;
}
.hk-drawer-close:hover { background: rgba(255, 255, 255, 0.15); }

.hk-form-group-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.hk-form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.hk-form-label { font-size: 0.82rem; font-weight: 600; color: #e4e4e7; font-family: var(--font-main); }
.hk-form-input, .hk-form-textarea {
  background: #141418; border: 1px solid var(--border); border-radius: 6px;
  padding: 13px 16px; color: #fff; font-family: inherit; font-size: 0.9rem; transition: var(--transition);
}
.hk-form-input:focus, .hk-form-textarea:focus {
  outline: none; border-color: var(--accent-orange); box-shadow: 0 0 0 3px rgba(255, 98, 59, 0.15);
}
.hk-form-textarea { min-height: 110px; resize: vertical; }

.hk-pill-group-label {
  font-family: var(--font-mono); font-size: 0.76rem; text-transform: uppercase;
  color: var(--text-dim); margin: 20px 0 10px; letter-spacing: 0.08em;
}
.hk-pills-wrap { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.hk-pill-choice {
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border);
  padding: 7px 14px; border-radius: 4px; font-size: 0.82rem;
  color: var(--text-muted); cursor: pointer; transition: var(--transition); font-family: var(--font-main);
}
.hk-pill-choice:hover { border-color: var(--border-hover); color: #fff; }
.hk-pill-choice.selected {
  background: #fff; color: #000; font-weight: 600; border-color: #fff;
}

.hk-btn-drawer-send {
  width: 100%; background: var(--accent-orange); color: #000; border: none;
  padding: 14px; border-radius: 4px; font-size: 0.95rem; font-weight: 700;
  cursor: pointer; font-family: var(--font-main); margin-top: 24px; transition: var(--transition);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.hk-btn-drawer-send:hover {
  background: var(--accent-orange-hover); transform: translateY(-2px); box-shadow: 0 10px 25px var(--accent-glow);
}

/* Animations */
.fade-up { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.show { opacity: 1; transform: translateY(0); }

/* ========================================================
   10. HEYKUBA EXECUTIVE SUBPAGE STYLING (SERVICIOS, INDUSTRIA, CASOS)
   Garantiza 100% de coherencia visual HeyKuba sin fondos planos ni tipografía legacy
======================================================== */
.hk-subpage-hero {
  padding: 130px 0 60px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}
.hk-subpage-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-orange);
  margin-bottom: 20px;
}
.hk-subpage-breadcrumb a {
  color: var(--text-dim);
  transition: var(--transition);
}
.hk-subpage-breadcrumb a:hover {
  color: #fff;
}
.hk-subpage-title {
  font-family: var(--font-main);
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 22px;
}
.hk-subpage-title span {
  color: var(--accent-orange);
}
.hk-subpage-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-muted);
  max-width: 780px;
  line-height: 1.65;
  margin-bottom: 28px;
}
.hk-subpage-meta {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  flex-wrap: wrap;
}
.hk-subpage-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hk-subpage-meta-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-orange);
  border-radius: 50%;
}

/* SUBPAGE CONTENT CONTAINER */
.hk-subpage-layout {
  padding: 80px 0 120px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: flex-start;
}
.hk-subpage-layout.full-width {
  grid-template-columns: 1fr;
}
.hk-subpage-article {
  max-width: 820px;
}
.hk-subpage-article h2 {
  font-family: var(--font-main);
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 54px 0 20px;
  line-height: 1.2;
}
.hk-subpage-article h2:first-of-type {
  margin-top: 0;
}
.hk-subpage-article h2 span {
  color: var(--accent-orange);
}
.hk-subpage-article h3 {
  font-family: var(--font-main);
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin: 32px 0 14px;
}
.hk-subpage-article p {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 22px;
}
.hk-subpage-article strong {
  color: #ffffff;
  font-weight: 600;
}
.hk-subpage-article ul {
  list-style: none;
  margin: 20px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hk-subpage-article ul li {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.7;
  padding-left: 24px;
  position: relative;
}
.hk-subpage-article ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-orange);
  font-weight: 700;
  font-family: var(--font-mono);
}

/* EXECUTIVE CALLOUT CARD (ESTILO HEYKUBA) */
.hk-exec-callout {
  background: rgba(17, 17, 21, 0.7);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-orange);
  border-radius: var(--radius-sm);
  padding: 26px 30px;
  margin: 36px 0;
  backdrop-filter: blur(12px);
}
.hk-exec-callout p {
  margin-bottom: 0;
  color: #e4e4e7;
  font-size: 0.98rem;
  line-height: 1.75;
}
.hk-exec-callout-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-orange);
  margin-bottom: 8px;
}

/* SUBPAGE SIDEBAR (Sticky) */
.hk-subpage-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hk-sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
}
.hk-sidebar-title {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-orange);
  margin-bottom: 16px;
}
.hk-sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hk-sidebar-list a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hk-sidebar-list a:hover, .hk-sidebar-list a.active {
  color: #fff;
  padding-left: 6px;
}
.hk-sidebar-list a.active {
  color: var(--accent-orange);
  font-weight: 600;
}

/* FICHA TÉCNICA HEYKUBA */
.hk-subpage-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 14px;
}
.hk-spec-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 12px 14px;
}
.hk-spec-lbl {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 4px;
}
.hk-spec-val {
  font-size: 0.86rem;
  font-weight: 600;
  color: #fff;
}

/* CTA BLOCK BOTTOM */
.hk-subpage-cta {
  background: linear-gradient(180deg, var(--bg-surface) 0%, rgba(255, 84, 41, 0.04) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 50px 40px;
  text-align: center;
  margin-top: 60px;
}
.hk-subpage-cta h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.hk-subpage-cta p {
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 28px;
  font-size: 1rem;
}
.hk-subpage-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 1024px) {
  .hk-clients-grid { grid-template-columns: repeat(4, 1fr); }
  .hk-work-header { grid-template-columns: 1fr; gap: 24px; }
  .hk-work-meta-col { border-left: none; padding-left: 0; border-top: 1px solid var(--border-subtle); padding-top: 20px; }
  .sobre-grid, .hk-faq-layout, .hk-testimonial-split, .hk-footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .hk-subpage-layout { grid-template-columns: 1fr; gap: 48px; }
  .hk-subpage-sidebar { position: static; }
}

@media (max-width: 768px) {
  .hk-nav-links { display: none; }
  .hk-nav-toggle { display: flex; }
  .hk-clients-grid { grid-template-columns: repeat(2, 1fr); }
  .hk-form-group-row { grid-template-columns: 1fr; }
  .hk-drawer { padding: 30px 20px; }
  .hk-hero-headline { font-size: 2.2rem; }
  .section { padding: 70px 0; }
  .hk-work-frame { height: 360px; }
  .hk-subpage-specs { grid-template-columns: 1fr; }
}

/* ========================================================
   11. ASISTENTE INTERACTIVO MIG (HEYKUBA EXECUTIVE EDITION)
   ======================================================== */
#mig-btn {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
#mig-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 30px rgba(255, 84, 41, 0.35);
}
#mig-box {
  display: none;
  position: fixed;
  bottom: 92px;
  right: 28px;
  z-index: 9999;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 520px;
  max-height: calc(100vh - 120px);
  background: #0e0e12;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
  font-family: var(--font-main);
  backdrop-filter: blur(20px);
}
#mig-box.abierto {
  display: flex;
}
#mig-head {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
}
#mig-head strong {
  color: #fff;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}
#mig-cerrar {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 4px;
  line-height: 1;
  transition: color 0.2s;
}
#mig-cerrar:hover {
  color: #fff;
}
#mig-msgs {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.85rem;
  line-height: 1.55;
}
#mig-msgs .bienvenida {
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--text-muted);
  border-left: 2px solid var(--accent-orange);
}
#mig-msgs .usuario {
  background: var(--accent-orange);
  padding: 10px 14px;
  border-radius: 10px;
  color: #070709;
  font-weight: 500;
  max-width: 82%;
  align-self: flex-end;
}
#mig-msgs .bot {
  background: rgba(255, 255, 255, 0.04);
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--text-main);
  border: 1px solid var(--border);
}
#mig-msgs .escribiendo {
  color: var(--text-dim);
  font-size: 0.78rem;
  align-self: center;
  font-family: var(--font-mono);
}
.mig-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 16px 0;
  background: #0e0e12;
}
.mig-chip {
  padding: 4px 10px;
  font-size: 0.72rem;
  background: rgba(255, 84, 41, 0.08);
  color: var(--accent-orange);
  border: 1px solid rgba(255, 84, 41, 0.25);
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-main);
}
.mig-chip:hover {
  background: var(--accent-orange);
  color: #070709;
}
#mig-foot {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
  background: #0e0e12;
}
#mig-input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-family: var(--font-main);
  font-size: 0.85rem;
  outline: none;
}
#mig-input:focus {
  border-color: var(--accent-orange);
}
#mig-enviar {
  padding: 10px 16px;
  border-radius: 6px;
  border: none;
  background: var(--accent-orange);
  color: #070709;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-main);
  transition: var(--transition);
}
#mig-enviar:hover {
  background: var(--accent-orange-hover);
}
@media (max-width: 480px) {
  #mig-box {
    right: 12px;
    width: calc(100vw - 24px);
    bottom: 84px;
    height: 65vh;
  }
}

/* ========================================================
   12. COUNTDOWN TIMER // HEYKUBA EXACT PILL & BUILDER CREDITS
   ======================================================== */
.hk-launch-pill-bar {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 40px;
}

.hk-launch-pill-inner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(14, 14, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 10px 22px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 84, 41, 0.08);
  transition: border-color 0.28s ease, transform 0.28s ease;
}

.hk-launch-pill-inner:hover {
  border-color: rgba(255, 84, 41, 0.4);
  transform: translateY(-1px);
}

.hk-launch-live-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: pulseLiveDot 1.8s infinite ease-in-out;
  flex-shrink: 0;
}

@keyframes pulseLiveDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hk-launch-pill-title {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
}

.hk-launch-pill-divider {
  color: rgba(255, 255, 255, 0.25);
  font-weight: 300;
  font-size: 0.85rem;
}

.hk-launch-pill-digits {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent-orange);
}

.hk-launch-pill-digits span {
  color: #ffffff;
  font-weight: 700;
}

.hk-launch-pill-credits {
  font-size: 0.82rem;
  color: var(--text-dim);
  padding-left: 6px;
  letter-spacing: 0.02em;
}

.hk-launch-pill-credits strong {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

@media (max-width: 640px) {
  .hk-launch-pill-bar {
    width: 100%;
  }
  .hk-launch-pill-inner {
    flex-wrap: wrap;
    border-radius: var(--radius-md);
    padding: 12px 16px;
    gap: 8px;
    width: 100%;
  }
  .hk-launch-pill-divider {
    display: none;
  }
  .hk-launch-pill-digits {
    width: 100%;
    font-size: 0.82rem;
  }
}

/* ========================================================
   13. PAGE BORDER (MARCO PERIMETRAL EJECUTIVO)
   ======================================================== */
.hk-page-border-frame {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  pointer-events: none;
  z-index: 999;
}
.hk-pborder-top, .hk-pborder-bottom {
  position: fixed; left: 0; width: 100vw; height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255, 84, 41, 0.45) 50%, transparent);
}
.hk-pborder-top { top: 0; }
.hk-pborder-bottom { bottom: 0; }

.hk-pborder-left, .hk-pborder-right {
  position: fixed; top: 0; width: 3px; height: 100vh;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.08) 50%, transparent);
}
.hk-pborder-left { left: 0; }
.hk-pborder-right { right: 0; }

/* ========================================================
   14. EXPLAINER VIDEO // VIDEO BACKGROUND & GLASS SHOWCASE
   ======================================================== */
.hk-explainer-frame {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  transition: transform 0.4s ease, border-color 0.4s ease;
}
.hk-explainer-frame:hover {
  border-color: rgba(255, 84, 41, 0.35);
}

.hk-video-bg-wrap {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 32px;
  background: #09090d;
  overflow: hidden;
}

.hk-video-ambient-mesh {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(255, 84, 41, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(14, 165, 233, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, rgba(7, 7, 9, 0.4) 0%, rgba(7, 7, 9, 0.95) 100%);
  animation: floatAmbientMesh 14s infinite alternate ease-in-out;
  pointer-events: none;
}

@keyframes floatAmbientMesh {
  0% { transform: scale(1) translateY(0); }
  100% { transform: scale(1.08) translateY(-10px); }
}

.hk-video-overlay-tint {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.6;
  pointer-events: none;
}

.hk-video-interactive-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hk-video-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--accent-orange);
  background: rgba(255, 84, 41, 0.08);
  border: 1px solid rgba(255, 84, 41, 0.25);
  padding: 6px 14px;
  border-radius: 9999px;
  margin-bottom: 20px;
}

.hk-video-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-orange);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-orange);
  animation: pulseLiveDot 1.6s infinite ease-in-out;
}

.hk-video-title {
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  font-weight: 800;
  line-height: 1.18;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

.hk-video-caption {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 620px;
}

.hk-video-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.hk-video-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-orange);
  color: #070709 !important;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 14px 28px;
  border-radius: 9999px;
  box-shadow: 0 8px 24px rgba(255, 84, 41, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.hk-video-play-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 30px rgba(255, 84, 41, 0.55);
  background: var(--accent-orange-hover);
}

.hk-video-metrics-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border-subtle);
  background: #0b0b0f;
}

.hk-vmetric-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 28px;
  border-right: 1px solid var(--border-subtle);
}
.hk-vmetric-item:last-child {
  border-right: none;
}

.hk-vmetric-icon {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
}

.hk-vmetric-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.hk-vmetric-sub {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .hk-video-metrics-bar {
    grid-template-columns: 1fr;
  }
  .hk-vmetric-item {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    padding: 16px 20px;
  }
  .hk-vmetric-item:last-child {
    border-bottom: none;
  }
}

/* ========================================================
   15. COMING SOON GATE // PANTALLA NEGRA DE MANTENIMIENTO
   ======================================================== */
.mig-launch-gate-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #09090c;
  overflow: hidden;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s ease;
}

.mig-launch-gate-overlay.gate-revealed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Fondo panorámico con montañas sutiles e iluminación dark */
.mig-gate-bg-media {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: 
    radial-gradient(circle at 50% 40%, rgba(255, 84, 41, 0.15) 0%, transparent 60%),
    linear-gradient(180deg, rgba(8, 8, 12, 0.75) 0%, #070709 100%),
    url('asendaspon-portal-hd.png');
  background-size: cover;
  background-position: center;
  filter: grayscale(85%) contrast(1.15) brightness(0.65);
  transform: scale(1.04);
}

.mig-gate-backdrop-tint {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(7, 7, 10, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.mig-gate-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 20px;
  max-width: 980px;
  width: 100%;
}

.mig-gate-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  cursor: pointer;
  user-select: none;
}

.mig-gate-brand-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(255, 84, 41, 0.35));
}

.mig-gate-brand-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.mig-gate-brand-name {
  font-family: var(--font-main);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.mig-gate-brand-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-orange);
}

/* BLOQUE DE TIEMPO NARANJA ESTILO NICEPAGE */
.mig-nicepage-block {
  background: #ff5429;
  border-radius: var(--radius-md);
  padding: 38px 48px;
  box-shadow: 0 20px 60px rgba(255, 84, 41, 0.38), 0 0 100px rgba(255, 84, 41, 0.18);
  margin-bottom: 32px;
  max-width: 820px;
  width: 100%;
}

.mig-np-timer-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.mig-np-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 100px;
}

.mig-np-num {
  font-family: var(--font-main);
  font-size: clamp(3.2rem, 7vw, 5.5rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.04em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.mig-np-lbl {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 10px;
}

.mig-np-colon {
  font-family: var(--font-main);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  padding: 0 4px;
  margin-bottom: 24px;
  opacity: 0.9;
}

/* PIE DE AUTORÍA SOLICITADO */
.mig-gate-footer-credits {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.mig-gate-footer-credits p {
  font-size: 0.96rem;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.mig-gate-footer-credits a {
  color: var(--accent-orange);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.mig-gate-footer-credits a:hover {
  opacity: 0.85;
}

.mig-gate-footer-credits strong {
  color: #ffffff;
  font-weight: 700;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.4);
}

.mig-gate-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 9999px;
  letter-spacing: 0.08em;
}

.mig-gate-pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--accent-orange);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-orange);
  animation: pulseLiveDot 1.6s infinite ease-in-out;
}

@media (max-width: 700px) {
  .mig-nicepage-block {
    padding: 28px 14px;
  }
  .mig-np-timer-row {
    gap: 8px;
  }
  .mig-np-unit {
    min-width: 60px;
  }
  .mig-np-num {
    font-size: 2.2rem;
  }
  .mig-np-lbl {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }
  .mig-np-colon {
    font-size: 1.8rem;
    margin-bottom: 16px;
  }
}

