/* ==========================================================================
   LUIS SALAZAR - CONCEPT VISUAL SYSTEM & STYLESHEET
   Identity: Audio • Podcast • Video • Web • Tecnología • IA
   Palette: #07111F (Dark Base), #0B1728 (Deep Blue), #00ABE4 (Tech Blue),
            #22D3EE (Cyan), #7C3AED (Tech Violet), #FFFFFF, #CBD5E1 (Slate)
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-base: #07111F;
  --bg-deep: #0B1728;
  --bg-card: rgba(11, 23, 40, 0.7);
  --bg-card-hover: rgba(15, 29, 50, 0.85);
  --bg-card-border: rgba(34, 211, 238, 0.12);
  --bg-card-border-hover: rgba(34, 211, 238, 0.35);

  --color-blue: #00ABE4;
  --color-cyan: #22D3EE;
  --color-purple: #7C3AED;
  --color-purple-light: #A855F7;
  --color-white: #FFFFFF;
  --color-slate-100: #F1F5F9;
  --color-slate-300: #CBD5E1;
  --color-slate-400: #94A3B8;
  --color-slate-500: #64748B;
  --color-emerald: #10B981;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #00ABE4 0%, #22D3EE 50%, #7C3AED 100%);
  --grad-cyan-blue: linear-gradient(135deg, #00ABE4 0%, #22D3EE 100%);
  --grad-purple-cyan: linear-gradient(135deg, #7C3AED 0%, #22D3EE 100%);
  --grad-card-glow: radial-gradient(circle at 50% 0%, rgba(34, 211, 238, 0.15), transparent 70%);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;

  /* Shadows & Glows */
  --glow-cyan: 0 0 25px rgba(34, 211, 238, 0.25);
  --glow-blue: 0 0 35px rgba(0, 171, 228, 0.3);
  --glow-purple: 0 0 30px rgba(124, 58, 237, 0.25);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);

  /* Layout Constants */
  --max-width: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-base);
  color: var(--color-slate-300);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-base);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   BACKGROUND AMBIENT GLOW & CYBER GRID
   ========================================================================== */
.glow-bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.16;
  animation: floatBlobs 20s ease-in-out infinite alternate;
}

.glow-blue {
  width: 500px;
  height: 500px;
  background: var(--color-blue);
  top: -150px;
  left: 10%;
}

.glow-cyan {
  width: 450px;
  height: 450px;
  background: var(--color-cyan);
  top: 40%;
  right: -100px;
  animation-duration: 25s;
}

.glow-purple {
  width: 600px;
  height: 600px;
  background: var(--color-purple);
  bottom: -150px;
  left: 30%;
  animation-duration: 30s;
}

@keyframes floatBlobs {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(40px, 30px) scale(1.1);
  }

  100% {
    transform: translate(-30px, -20px) scale(0.95);
  }
}

.cyber-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 0.85rem 1.25rem;
  transition: all var(--transition-smooth);
}

.site-header.scrolled {
  background: rgba(7, 17, 31, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(34, 211, 238, 0.12);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-badge {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0, 171, 228, 0.2), rgba(124, 58, 237, 0.2));
  border: 1px solid rgba(34, 211, 238, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: var(--glow-cyan);
}

.brand-badge.small {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
}

.brand-monogram {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  background: var(--grad-cyan-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.brand-pulse {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 6px;
  height: 6px;
  background: var(--color-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-cyan);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(1.3);
  }
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--color-white);
  line-height: 1.2;
}

.brand-tag {
  font-size: 0.7rem;
  color: var(--color-cyan);
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.desktop-nav {
  display: none;
}

@media (min-width: 900px) {
  .desktop-nav {
    display: block;
    background: rgba(11, 23, 40, 0.65);
    border: 1px solid rgba(34, 211, 238, 0.15);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-full);
    padding: 0.35rem 1rem;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-slate-400);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-white);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 2px;
  background: var(--color-cyan);
  border-radius: var(--radius-full);
  box-shadow: 0 0 6px var(--color-cyan);
}

.nav-link.badge-link {
  color: var(--color-cyan);
}

.nav-sub-dot {
  width: 5px;
  height: 5px;
  background: var(--color-cyan);
  border-radius: 50%;
  display: inline-block;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-btn {
  display: none;
}

@media (min-width: 640px) {
  .header-btn {
    display: inline-flex;
  }
}

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: rgba(11, 23, 40, 0.8);
  border: 1px solid rgba(34, 211, 238, 0.2);
  padding: 10px;
  color: var(--color-white);
}

@media (min-width: 900px) {
  .mobile-menu-btn {
    display: none;
  }
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background: var(--color-slate-100);
  border-radius: 2px;
  transition: transform var(--transition-fast);
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  background: rgba(7, 17, 31, 0.95);
  backdrop-filter: blur(20px);
  z-index: 200;
  display: flex;
  flex-direction: column;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.mobile-nav-drawer.open {
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-nav-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(34, 211, 238, 0.15);
}

.mobile-nav-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-white);
}

.mobile-nav-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-slate-300);
}

.mobile-nav-links {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-slate-300);
  background: rgba(11, 23, 40, 0.5);
  border: 1px solid rgba(34, 211, 238, 0.08);
  transition: all var(--transition-fast);
}

.mobile-nav-item i {
  color: var(--color-cyan);
  width: 20px;
  height: 20px;
}

.mobile-nav-item.highlight {
  background: linear-gradient(135deg, rgba(0, 171, 228, 0.25), rgba(124, 58, 237, 0.25));
  border-color: rgba(34, 211, 238, 0.4);
  color: var(--color-white);
}

.mobile-nav-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-footer-text {
  font-size: 0.8rem;
  color: var(--color-slate-400);
  text-align: center;
}

.btn-whatsapp-full {
  width: 100%;
  background: #25D366;
  color: #07111F;
  font-weight: 700;
  padding: 0.85rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* ==========================================================================
   BUTTONS & UI COMPONENTS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn-icon {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translate(2px, -2px);
}

.btn-primary-gradient {
  background: var(--grad-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(0, 171, 228, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(34, 211, 238, 0.5);
  filter: brightness(1.08);
}

.btn-secondary-glass {
  background: rgba(11, 23, 40, 0.7);
  color: var(--color-slate-100);
  border: 1px solid rgba(34, 211, 238, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary-glass:hover {
  background: rgba(15, 29, 50, 0.95);
  border-color: var(--color-cyan);
  color: var(--color-cyan);
  transform: translateY(-2px);
}

.btn-outline-cyan {
  background: transparent;
  color: var(--color-cyan);
  border: 1px solid rgba(34, 211, 238, 0.4);
  padding: 0.5rem 1.1rem;
  font-size: 0.82rem;
  border-radius: var(--radius-full);
}

.btn-outline-cyan:hover {
  background: rgba(34, 211, 238, 0.12);
  border-color: var(--color-cyan);
  box-shadow: 0 0 15px rgba(34, 211, 238, 0.25);
}

/* ==========================================================================
   HERO SECTION (Mobile-First with Studio Background)
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 4rem 0 5rem;
  z-index: 10;
  overflow: hidden;
  min-height: 82vh;
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(180deg, rgba(7, 17, 31, 0.82) 0%, rgba(7, 17, 31, 0.88) 55%, rgba(7, 17, 31, 0.98) 100%),
    radial-gradient(circle at center, rgba(0, 171, 228, 0.15) 0%, rgba(124, 58, 237, 0.1) 60%, transparent 50%),
    url('img/estudio_01.jfif');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-bottom: 1px solid rgba(34, 211, 238, 0.12);
}

@media (min-width: 768px) {
  .hero-section {
    padding: 6rem 0 7rem;
    min-height: 86vh;
  }
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.35rem;
  max-width: 860px;
  margin: 0 auto;
}

.hero-badge-wrapper {
  display: inline-flex;
  justify-content: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(11, 23, 40, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(16, 185, 129, 0.35);
  font-size: 0.8rem;
  font-weight: 600;
  color: #34D399;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.4);
    opacity: 0.6;
  }
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  align-items: center;
}

.hero-name-gradient {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  background: linear-gradient(135deg, #FFFFFF 25%, #22D3EE 65%, #C084FC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 20px rgba(0, 171, 228, 0.2));
}

.hero-role-title {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--color-slate-100);
  line-height: 1.25;
}

.hero-subtitle {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 0.75rem;
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  font-weight: 700;
  color: var(--color-cyan);
  background: rgba(7, 17, 31, 0.6);
  padding: 0.4rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(34, 211, 238, 0.2);
  backdrop-filter: blur(8px);
}

.sub-sep {
  color: var(--color-purple-light);
  opacity: 0.8;
}

.hero-description {
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  color: var(--color-slate-200);
  line-height: 1.65;
  max-width: 680px;
  margin: 0 auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-description strong {
  color: var(--color-white);
  font-weight: 700;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.75rem;
  justify-content: center;
  width: 100%;
}

@media (min-width: 480px) {
  .hero-cta-group {
    flex-direction: row;
    align-items: center;
    width: auto;
  }
}

.hero-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  margin-top: 1.5rem;
  padding: 1.25rem 2rem;
  border-radius: var(--radius-lg);
  background: rgba(11, 23, 40, 0.7);
  border: 1px solid rgba(34, 211, 238, 0.18);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

@media (max-width: 540px) {
  .hero-stats-row {
    gap: 1rem;
    padding: 1rem;
  }
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-cyan);
  line-height: 1.1;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--color-slate-300);
  font-weight: 500;
}

.hero-stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(34, 211, 238, 0.2);
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
.section {
  padding: 4rem 0;
  position: relative;
  z-index: 10;
}

@media (min-width: 768px) {
  .section {
    padding: 6rem 0;
  }
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-header-flex {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .section-header-flex {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(0, 171, 228, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.25);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--color-cyan);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.badge-icon {
  width: 14px;
  height: 14px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: var(--color-slate-400);
  margin-top: 0.85rem;
  line-height: 1.6;
}

/* ==========================================================================
   SERVICIOS SECTION
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  transition: all var(--transition-smooth);
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--bg-card-border-hover);
  background: var(--bg-card-hover);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.6), 0 0 20px rgba(34, 211, 238, 0.15);
}

.card-glow-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--grad-card-glow);
  opacity: 0;
  transition: opacity var(--transition-smooth);
  pointer-events: none;
}

.service-card:hover .card-glow-bg {
  opacity: 1;
}

.service-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.service-number {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: rgba(34, 211, 238, 0.4);
  letter-spacing: 1px;
}

.service-icon-box {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0, 171, 228, 0.15), rgba(124, 58, 237, 0.15));
  border: 1px solid rgba(34, 211, 238, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-cyan);
  transition: all var(--transition-fast);
}

.service-card:hover .service-icon-box {
  background: var(--grad-primary);
  color: var(--color-white);
  box-shadow: var(--glow-cyan);
}

.svc-icon {
  width: 26px;
  height: 26px;
}

.svc-sub-icons {
  position: absolute;
  bottom: -4px;
  right: -4px;
  display: flex;
  gap: 2px;
}

.svc-sub-icons i {
  width: 10px;
  height: 10px;
  color: var(--color-purple-light);
}

.service-body {
  margin-bottom: 1.25rem;
}

.service-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.25;
  margin-bottom: 0.35rem;
}

.service-punchline {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-cyan);
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--color-slate-400);
  line-height: 1.6;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.feat-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--color-slate-300);
}

.feat-tag i {
  width: 14px;
  height: 14px;
  color: #34D399;
}

.service-footer {
  margin-top: auto;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-cyan);
}

.service-link:hover {
  color: var(--color-white);
  gap: 0.6rem;
}

.service-link i {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

/* ==========================================================================
   PORTAFOLIO SECTION (Editorial Layout & Filters)
   ========================================================================== */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  background: rgba(11, 23, 40, 0.6);
  border: 1px solid rgba(34, 211, 238, 0.12);
  padding: 0.35rem;
  border-radius: var(--radius-full);
}

.filter-btn {
  padding: 0.45rem 1rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-slate-400);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: var(--color-white);
}

.filter-btn.active {
  background: var(--grad-primary);
  color: var(--color-white);
  box-shadow: 0 2px 10px rgba(0, 171, 228, 0.35);
}

/* ==========================================================================
   PORTFOLIO CATEGORY SECTIONS (Categories A, B, C)
   ========================================================================== */
.portfolio-categories-wrapper {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.portfolio-category-block {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: all var(--transition-smooth);
}

.category-block-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

@media (min-width: 640px) {
  .category-block-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cat-header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cat-header-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cat-header-icon-box i {
  width: 22px;
  height: 22px;
}

.cat-icon-orange {
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.35);
  color: #F97316;
}

.cat-icon-purple {
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.35);
  color: #C084FC;
}

.cat-icon-cyan {
  background: rgba(34, 211, 238, 0.15);
  border: 1px solid rgba(34, 211, 238, 0.35);
  color: #22D3EE;
}

.cat-header-text {
  display: flex;
  flex-direction: column;
}

.cat-header-title {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.cat-header-subtitle {
  font-size: 0.84rem;
  color: var(--color-slate-400);
  margin-top: 2px;
}

.cat-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(11, 23, 40, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--color-slate-300);
  white-space: nowrap;
  align-self: flex-start;
}

@media (min-width: 640px) {
  .cat-header-badge {
    align-self: auto;
  }
}

.cat-header-badge i {
  width: 14px;
  height: 14px;
  color: var(--color-slate-400);
}

.cat-header-badge.purple-badge {
  background: rgba(124, 58, 237, 0.15);
  border-color: rgba(124, 58, 237, 0.35);
  color: #C084FC;
  font-family: monospace;
  font-size: 0.72rem;
}

.cat-header-badge.purple-badge i {
  color: #C084FC;
}

.cat-header-badge.cyan-badge {
  background: rgba(34, 211, 238, 0.12);
  border-color: rgba(34, 211, 238, 0.35);
  color: #22D3EE;
}

.cat-header-badge.cyan-badge i {
  color: #22D3EE;
}

/* Grids */
.portfolio-grid-three {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .portfolio-grid-three {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .portfolio-grid-three {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .video-mixed-grid .video-project-card.vertical-card {
    grid-column: 1 / -1;
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
  }
}

.portfolio-grid-two {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 860px) {
  .portfolio-grid-two {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Video Card Styling (Exact Image match) */
.video-project-card {
  background: #0B1323;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  cursor: pointer;
}

.video-project-card:hover {
  border-color: rgba(249, 115, 22, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.7), 0 0 20px rgba(249, 115, 22, 0.15);
}

.video-thumb-container {
  position: relative;
  aspect-ratio: 16/9;
  background: #050B14;
  overflow: hidden;
}

.video-thumb-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.video-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-project-card:hover .video-thumb-img {
  transform: scale(1.06);
}

.video-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 17, 31, 0.3) 0%, rgba(7, 17, 31, 0.75) 100%);
}

.video-thumb-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.v-badge {
  font-size: 0.62rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-family: monospace;
  letter-spacing: 0.4px;
}

.v-badge.dark {
  background: rgba(7, 17, 31, 0.85);
  color: #CBD5E1;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.v-badge.blue {
  background: rgba(0, 171, 228, 0.25);
  color: #38BDF8;
  border: 1px solid rgba(0, 171, 228, 0.45);
}

.v-badge.amber {
  background: rgba(245, 158, 11, 0.25);
  color: #FCD34D;
  border: 1px solid rgba(245, 158, 11, 0.45);
}

.v-badge.purple {
  background: rgba(124, 58, 237, 0.25);
  color: #C084FC;
  border: 1px solid rgba(124, 58, 237, 0.45);
}

.v-badge.red {
  background: rgba(239, 68, 68, 0.3);
  color: #FCA5A5;
  border: 1px solid rgba(239, 68, 68, 0.55);
}

/* Embedded YouTube Player Container */
.video-player-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #050B14;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.video-player-container.vertical-shorts {
  aspect-ratio: 9 / 16;
  max-height: 480px;
  background: #020610;
}

.video-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.video-project-card.vertical-card {
  border-color: rgba(239, 68, 68, 0.25);
}

.video-project-card.vertical-card:hover {
  border-color: rgba(239, 68, 68, 0.55);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.7), 0 0 22px rgba(239, 68, 68, 0.18);
}

.video-center-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.play-btn-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: transform 0.2s ease, background 0.2s ease;
}

.play-btn-circle.orange {
  background: #F97316;
  box-shadow: 0 4px 18px rgba(249, 115, 22, 0.5);
}

.video-project-card:hover .play-btn-circle.orange {
  transform: scale(1.12);
  background: #EA580C;
}

.icon-play-fill {
  width: 22px;
  height: 22px;
  fill: #FFFFFF;
  stroke: none;
  margin-left: 3px;
}

.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.85);
  color: #F1F5F9;
  font-size: 0.68rem;
  font-family: monospace;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  z-index: 2;
}

.video-bottom-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.3s ease;
  z-index: 3;
}

.video-project-card:hover .video-bottom-progress {
  background: #F97316;
  box-shadow: 0 0 10px #F97316;
}

.video-card-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.video-channel-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.channel-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  flex-shrink: 0;
}

.ls-avatar {
  background: #3B82F6;
}

.ft-avatar {
  background: #B45309;
}

.vl-avatar {
  background: #6366F1;
}

.channel-details {
  display: flex;
  flex-direction: column;
}

.channel-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-slate-200);
  line-height: 1.2;
}

.channel-meta {
  font-size: 0.68rem;
  color: var(--color-slate-500);
}

.video-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.35;
}

.video-excerpt {
  font-size: 0.82rem;
  color: var(--color-slate-400);
  line-height: 1.5;
}

.video-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.tag-pill {
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  color: var(--color-slate-300);
  font-weight: 500;
}

/* Podcast Player Card (Spotify-Style Match) */
.podcast-player-card {
  background: #0B1323;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: all var(--transition-smooth);
}

.podcast-player-card:hover {
  border-color: rgba(124, 58, 237, 0.4);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.7), 0 0 20px rgba(124, 58, 237, 0.15);
}

.podcast-card-top {
  display: flex;
  gap: 1.25rem;
  cursor: pointer;
}

@media (max-width: 480px) {
  .podcast-card-top {
    flex-direction: column;
  }
}

.podcast-cover-art {
  position: relative;
  width: 110px;
  height: 110px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  background: #050B14;
}

@media (max-width: 480px) {
  .podcast-cover-art {
    width: 100%;
    height: 140px;
  }
}

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

.podcast-cover-badge {
  position: absolute;
  bottom: 6px;
  left: 6px;
  right: 6px;
  background: rgba(7, 17, 31, 0.88);
  color: #38BDF8;
  font-size: 0.6rem;
  font-family: monospace;
  font-weight: 800;
  text-align: center;
  padding: 0.15rem 0.3rem;
  border-radius: 4px;
  letter-spacing: 0.5px;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.podcast-meta-content {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.podcast-pill-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pod-badge {
  font-size: 0.64rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-family: monospace;
  letter-spacing: 0.4px;
}

.pod-badge.purple {
  background: rgba(124, 58, 237, 0.25);
  color: #C084FC;
  border: 1px solid rgba(124, 58, 237, 0.4);
}

.pod-badge.orange {
  background: rgba(249, 115, 22, 0.25);
  color: #FDBA74;
  border: 1px solid rgba(249, 115, 22, 0.4);
}

.pod-ep {
  font-size: 0.74rem;
  color: var(--color-slate-500);
  font-weight: 600;
}

.podcast-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.3;
}

.podcast-card-desc {
  font-size: 0.82rem;
  color: var(--color-slate-400);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.podcast-author-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: auto;
}

.podcast-author-row.gold-author {
  color: #F59E0B;
}

.podcast-author-row.purple-author {
  color: #A855F7;
}

.verified-icon {
  width: 14px;
  height: 14px;
}

/* Spotify Controller Bar */
.spotify-control-bar {
  background: rgba(7, 17, 31, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.spotify-main-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sp-play-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
  flex-shrink: 0;
}

.sp-play-btn:hover {
  transform: scale(1.1);
  filter: brightness(1.15);
}

.sp-play-btn.purple-btn {
  background: #7C3AED;
  box-shadow: 0 2px 12px rgba(124, 58, 237, 0.5);
}

.sp-play-btn.orange-btn {
  background: #EA580C;
  box-shadow: 0 2px 12px rgba(234, 88, 12, 0.5);
}

.sp-play-btn i {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.sp-skip-btn {
  color: var(--color-slate-400);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  transition: color var(--transition-fast);
}

.sp-skip-btn:hover {
  color: var(--color-white);
}

.sp-skip-btn i {
  width: 17px;
  height: 17px;
}

.sp-speed-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 0.2rem 0.5rem;
  font-size: 0.72rem;
  font-family: monospace;
  font-weight: 700;
  color: var(--color-slate-300);
  transition: all var(--transition-fast);
}

.sp-speed-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
}

.sp-right-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sp-vol-btn {
  color: var(--color-slate-400);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sp-vol-btn:hover {
  color: var(--color-white);
}

.sp-vol-btn i {
  width: 16px;
  height: 16px;
}

.sp-spotify-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--color-white);
  transition: all var(--transition-fast);
}

.sp-spotify-btn:hover {
  background: rgba(29, 185, 84, 0.15);
  border-color: rgba(29, 185, 84, 0.4);
}

.spotify-svg-icon {
  width: 15px;
  height: 15px;
  fill: #1DB954;
}

.spotify-timeline-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sp-time {
  font-size: 0.68rem;
  font-family: monospace;
  color: var(--color-slate-400);
}

.sp-progress-track {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.sp-progress-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.2s ease;
}

.sp-progress-fill.purple-fill {
  background: linear-gradient(90deg, #7C3AED, #22D3EE);
}

.sp-progress-fill.orange-fill {
  background: linear-gradient(90deg, #EA580C, #C084FC);
}

/* ==========================================================================
   CATEGORÍA C: DESARROLLO WEB & SOFTWARE CLOUD (Safari Browser Showcase)
   ========================================================================== */
.cat-icon-indigo {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: #818CF8;
}

.lighthouse-badge {
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.35);
  color: #C084FC;
  font-family: monospace;
  font-size: 0.72rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.lh-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #A855F7;
  box-shadow: 0 0 8px #A855F7;
  animation: pulseDot 2s infinite;
}

.cloud-browser-window {
  background: #0B1220;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(124, 58, 237, 0.08);
  transition: all var(--transition-smooth);
}

.cloud-browser-window:hover {
  border-color: rgba(124, 58, 237, 0.35);
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.85), 0 0 35px rgba(124, 58, 237, 0.15);
}

.cloud-browser-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: #070D18;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  gap: 1rem;
}

@media (max-width: 768px) {
  .cloud-browser-topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
}

.browser-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.b-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.b-dot.orange {
  background: #F97316;
  box-shadow: 0 0 6px rgba(249, 115, 22, 0.6);
}

.b-dot.purple {
  background: #A855F7;
  box-shadow: 0 0 6px rgba(168, 85, 247, 0.6);
}

.b-dot.cyan {
  background: #06B6D4;
  box-shadow: 0 0 6px rgba(6, 182, 212, 0.6);
}

.browser-url-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #040810;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.4rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-family: monospace;
  color: var(--color-slate-300);
  max-width: 440px;
  flex: 1;
}

.url-lock-icon {
  width: 13px;
  height: 13px;
  color: var(--color-cyan);
}

.browser-tech-badges {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.tech-pill {
  font-size: 0.68rem;
  font-weight: 700;
  font-family: monospace;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  color: #CBD5E1;
}

.tech-pill.amber {
  color: #FBBF24;
  border-color: rgba(251, 191, 36, 0.3);
  background: rgba(251, 191, 36, 0.08);
}

.cloud-showcase-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 1.75rem;
}

@media (min-width: 1024px) {
  .cloud-showcase-body {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 2.5rem;
    padding: 2.25rem;
  }
}

.cloud-preview-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cloud-laptop-mockup {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #030712;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}

.cloud-laptop-mockup:hover {
  transform: scale(1.015);
  border-color: rgba(34, 211, 238, 0.4);
}

.laptop-screen-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  object-fit: cover;
  opacity: 0.82;
  display: block;
}

.laptop-screen-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 7, 18, 0.2) 0%, rgba(3, 7, 18, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
}

.screen-analytics-preview {
  background: rgba(11, 19, 35, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: var(--radius-md);
  padding: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

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

.analytics-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #FFFFFF;
  font-family: var(--font-heading);
  letter-spacing: 0.3px;
}

.analytics-live {
  font-size: 0.65rem;
  font-weight: 800;
  color: #34D399;
  font-family: monospace;
  animation: pulseDot 1.8s infinite;
}

.analytics-charts-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.chart-mini-box {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  padding: 0.4rem 0.55rem;
  display: flex;
  flex-direction: column;
}

.chart-val {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--color-cyan);
  font-family: var(--font-heading);
  line-height: 1.15;
}

.chart-lbl {
  font-size: 0.6rem;
  color: var(--color-slate-400);
  margin-top: 2px;
}

.cloud-laptop-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.35rem;
}

.latency-stat {
  font-size: 0.68rem;
  font-family: monospace;
  font-weight: 700;
  color: #C084FC;
  letter-spacing: 0.5px;
}

.btn-demo-live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, #7C3AED, #6366F1);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-demo-live:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.6);
  color: #FFFFFF;
}

.btn-demo-live i {
  width: 14px;
  height: 14px;
}

.cloud-info-col {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.cloud-badge-destacado {
  align-self: flex-start;
  background: rgba(124, 58, 237, 0.2);
  border: 1px solid rgba(124, 58, 237, 0.45);
  color: #C084FC;
  font-size: 0.65rem;
  font-weight: 800;
  font-family: monospace;
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.cloud-project-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.25;
}

.cloud-project-desc {
  font-size: 0.9rem;
  color: var(--color-slate-300);
  line-height: 1.6;
}

.lighthouse-metrics-box {
  background: #070D18;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.lh-header-lbl {
  font-size: 0.66rem;
  font-weight: 800;
  font-family: monospace;
  color: var(--color-slate-400);
  letter-spacing: 0.6px;
}

.lh-scores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.lh-score-item {
  background: rgba(11, 19, 35, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 0.85rem 0.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.score-num {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
}

.score-num.purple {
  color: #A855F7;
  text-shadow: 0 0 14px rgba(168, 85, 247, 0.45);
}

.score-num.orange {
  color: #F97316;
  text-shadow: 0 0 14px rgba(249, 115, 22, 0.45);
}

.score-num.cyan {
  color: #22D3EE;
  text-shadow: 0 0 14px rgba(34, 211, 238, 0.45);
}

.score-lbl {
  font-size: 0.7rem;
  color: var(--color-slate-400);
  font-weight: 600;
}

.cloud-footer-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

.other-links {
  color: var(--color-slate-400);
  font-size: 0.82rem;
}

.other-links strong {
  color: #F59E0B;
  font-weight: 600;
}

.btn-view-code {
  background: none;
  border: none;
  color: var(--color-slate-300);
  font-size: 0.84rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.btn-view-code:hover {
  color: var(--color-cyan);
}

.btn-view-code code {
  font-family: monospace;
  color: var(--color-cyan);
  font-weight: 800;
}

/* ==========================================================================
   CATEGORÍA D: ASESORAMIENTO & MENTORÍA — ÁLBUM DE SESIONES
   ========================================================================== */
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.35);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  color: #C084FC;
  font-family: monospace;
}

.rating-badge .star-icon {
  color: #F59E0B;
}

.session-mentoria-card {
  background: #0B1323;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  cursor: pointer;
}

.session-mentoria-card:hover {
  border-color: rgba(124, 58, 237, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.7), 0 0 20px rgba(124, 58, 237, 0.15);
}

.session-thumb-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #050B14;
}

.session-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.session-mentoria-card:hover .session-img {
  transform: scale(1.06);
}

.session-badges-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.s-badge {
  font-size: 0.62rem;
  font-weight: 800;
  font-family: monospace;
  padding: 0.22rem 0.55rem;
  border-radius: 4px;
  letter-spacing: 0.4px;
}

.s-badge.top-left {
  background: rgba(7, 17, 31, 0.85);
  color: #E2E8F0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.s-badge.purple-bg {
  background: rgba(124, 58, 237, 0.85);
  color: #FFFFFF;
  border: 1px solid rgba(168, 85, 247, 0.5);
}

.s-badge.amber-bg {
  background: rgba(217, 119, 6, 0.85);
  color: #FFFFFF;
  border: 1px solid rgba(245, 158, 11, 0.5);
}

.s-badge.bottom-right {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.85);
  color: #CBD5E1;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.session-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.session-stars {
  color: #F59E0B;
  font-size: 0.95rem;
  letter-spacing: 2px;
  line-height: 1;
}

.session-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.35;
}

.session-quote {
  font-size: 0.84rem;
  font-style: italic;
  color: var(--color-slate-300);
  line-height: 1.55;
  border-left: 2px solid rgba(124, 58, 237, 0.5);
  padding-left: 0.75rem;
  margin: 0;
}

.session-footer {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.74rem;
}

.session-client {
  color: var(--color-slate-400);
}

.session-highlight {
  color: #C084FC;
  font-weight: 700;
  font-family: monospace;
}

/* Original Project Card support */
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--bg-card-border-hover);
  box-shadow: var(--shadow-card);
}

.project-visual {
  position: relative;
  background: #060E1A;
  min-height: 200px;
  border-bottom: 1px solid rgba(34, 211, 238, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow: hidden;
}

.project-card.card-wide .project-visual {
  height: 100%;
  min-height: 240px;
  border-bottom: none;
  border-right: 1px solid rgba(34, 211, 238, 0.1);
}

@media (min-width: 768px) {
  .project-card.card-wide {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
  }
}

.project-visual-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(7, 17, 31, 0.85);
  border: 1px solid rgba(34, 211, 238, 0.2);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-cyan);
}

/* Mockups Visuals */
.project-preview-mockup {
  width: 100%;
  max-width: 380px;
}

.web-mockup {
  background: #0B1728;
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.browser-header {
  background: rgba(7, 17, 31, 0.9);
  padding: 0.4rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dots {
  display: flex;
  gap: 4px;
}

.dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.d-red {
  background: #EF4444;
}

.d-yellow {
  background: #F59E0B;
}

.d-green {
  background: #10B981;
}

.browser-url {
  font-size: 0.65rem;
  color: var(--color-slate-400);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  flex: 1;
}

.mockup-screen-content {
  padding: 1.25rem;
  background: linear-gradient(180deg, #07111F 0%, #0B1728 100%);
  position: relative;
}

.mockup-hero-banner {
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: var(--radius-sm);
  padding: 1rem;
  background: rgba(0, 171, 228, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mockup-player-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-white);
}

.radio-live-pill {
  color: #EF4444;
  animation: pulseDot 1.5s infinite;
}

.mockup-waveform-bar {
  height: 18px;
  background: repeating-linear-gradient(90deg, var(--color-cyan) 0px, var(--color-cyan) 3px, transparent 3px, transparent 6px);
  border-radius: 2px;
  opacity: 0.8;
}

/* Audio Mockup */
.audio-mockup {
  background: #0B1728;
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.audio-cover-art {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.cover-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #7C3AED, #22D3EE);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}

.cover-icon {
  width: 22px;
  height: 22px;
}

.cover-show {
  font-size: 0.68rem;
  color: var(--color-cyan);
  font-weight: 600;
  display: block;
}

.cover-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-white);
}

.audio-mini-player {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(7, 17, 31, 0.7);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.play-toggle-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-cyan);
  color: var(--bg-base);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.play-toggle-btn:hover {
  transform: scale(1.1);
}

.play-toggle-btn i {
  width: 14px;
  height: 14px;
}

.player-timeline {
  flex: 1;
}

.timeline-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  margin-bottom: 0.2rem;
}

.timeline-progress {
  width: 40%;
  height: 100%;
  background: var(--grad-cyan-blue);
  border-radius: 2px;
}

.timeline-time {
  font-size: 0.65rem;
  color: var(--color-slate-400);
  font-family: monospace;
}

/* Video Mockup */
.video-mockup {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #07111F, #0F172A);
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-center-play {
  z-index: 5;
}

.play-pulse-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.5);
  animation: pulseGreen 2.5s infinite;
}

.play-pulse-circle i {
  width: 22px;
  height: 22px;
}

.video-badge-tech {
  position: absolute;
  bottom: 8px;
  right: 8px;
  font-size: 0.62rem;
  font-family: monospace;
  background: rgba(0, 0, 0, 0.7);
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  color: var(--color-slate-300);
}

/* Mentoría Mockup */
.mentoria-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.diag-node.central {
  background: var(--grad-purple-cyan);
  color: var(--color-white);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: var(--glow-purple);
}

.diag-links {
  display: flex;
  gap: 0.5rem;
}

.link-node {
  background: rgba(11, 23, 40, 0.85);
  border: 1px solid rgba(34, 211, 238, 0.25);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.68rem;
  color: var(--color-slate-300);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.link-node i {
  width: 12px;
  height: 12px;
  color: var(--color-cyan);
}

/* Project Info Content */
.project-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.project-cat-pill {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-cat-pill.web {
  color: var(--color-cyan);
}

.project-cat-pill.podcast {
  color: #A855F7;
}

.project-cat-pill.video {
  color: #00ABE4;
}

.project-cat-pill.mentoria {
  color: #34D399;
}

.project-year {
  font-size: 0.75rem;
  color: var(--color-slate-500);
}

.project-title {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.project-desc {
  font-size: 0.88rem;
  color: var(--color-slate-400);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.project-tags span {
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  color: var(--color-slate-300);
}

.project-actions {
  margin-top: auto;
}

.btn-project-view {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-cyan);
  padding: 0.4rem 0;
  transition: all var(--transition-fast);
}

.btn-project-view:hover {
  color: var(--color-white);
  gap: 0.7rem;
}

.btn-project-view i {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   CASOS DE ESTUDIO SECTION
   ========================================================================== */
.case-study-showcase {
  max-width: 1080px;
  margin: 0 auto;
}

.case-study-card {
  background: linear-gradient(135deg, rgba(11, 23, 40, 0.85) 0%, rgba(7, 17, 31, 0.95) 100%);
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
}

@media (min-width: 768px) {
  .case-study-card {
    padding: 3rem;
  }
}

.case-badge-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.case-tag {
  background: var(--grad-primary);
  color: var(--color-white);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.case-category {
  font-size: 0.8rem;
  color: var(--color-cyan);
  font-weight: 600;
}

.case-main-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 2rem;
  line-height: 1.25;
}

.case-flow-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 860px) {
  .case-flow-grid {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0.75rem;
  }
}

.case-step-box {
  background: rgba(7, 17, 31, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: all var(--transition-fast);
}

.case-step-box:hover {
  border-color: rgba(34, 211, 238, 0.3);
  transform: translateY(-2px);
}

.step-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon {
  width: 20px;
  height: 20px;
}

.step-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--color-slate-400);
}

.step-heading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 0.25rem 0 0.4rem;
  line-height: 1.3;
}

.step-text {
  font-size: 0.85rem;
  color: var(--color-slate-400);
  line-height: 1.5;
}

.case-step-connector {
  display: none;
}

@media (min-width: 860px) {
  .case-step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-cyan);
    opacity: 0.5;
  }
}

.case-metrics-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(34, 211, 238, 0.12);
}

@media (min-width: 640px) {
  .case-metrics-bar {
    grid-template-columns: repeat(4, 1fr);
  }
}

.metric-item {
  display: flex;
  flex-direction: column;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.metric-val {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-cyan);
  line-height: 1.1;
}

.metric-lbl {
  font-size: 0.72rem;
  color: var(--color-slate-400);
  margin-top: 0.25rem;
}

/* ==========================================================================
   PROCESO SECTION (Así Trabajo - 5 Pasos)
   ========================================================================== */
.process-timeline {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
}

.timeline-track-line {
  display: none;
}

@media (min-width: 900px) {
  .timeline-track-line {
    display: block;
    position: absolute;
    top: 24px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: linear-gradient(90deg, #00ABE4, #22D3EE, #7C3AED);
    opacity: 0.3;
    z-index: 1;
  }
}

.process-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

@media (min-width: 640px) {
  .process-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .process-steps-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
  }
}

.process-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-indicator-wrap {
  margin-bottom: 1rem;
}

.step-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0B1728;
  border: 2px solid rgba(34, 211, 238, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: all var(--transition-fast);
}

.step-circle.active-glow {
  border-color: var(--color-cyan);
  background: var(--grad-primary);
  box-shadow: var(--glow-cyan);
}

.step-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: var(--color-white);
}

.step-card-box {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  backdrop-filter: blur(10px);
  transition: all var(--transition-fast);
}

.step-card-box:hover,
.step-card-box.active-border {
  border-color: rgba(34, 211, 238, 0.4);
  transform: translateY(-3px);
}

.step-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 171, 228, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-cyan);
  margin-bottom: 0.6rem;
}

.step-card-icon i {
  width: 18px;
  height: 18px;
}

.step-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.4rem;
}

.step-card-desc {
  font-size: 0.8rem;
  color: var(--color-slate-400);
  line-height: 1.45;
  margin-bottom: 0.75rem;
}

.step-subtag {
  margin-top: auto;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--color-cyan);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* ==========================================================================
   SOBRE MÍ SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 4rem;
  }
}

.about-visual-col {
  display: flex;
  justify-content: center;
}

.about-image-card {
  position: relative;
  width: 100%;
  max-width: 380px;
}

.about-card-glow {
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.3), rgba(0, 171, 228, 0.2), transparent 70%);
  filter: blur(20px);
  z-index: 1;
}

.about-img-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1.5px solid rgba(34, 211, 238, 0.3);
  background: var(--bg-deep);
  z-index: 2;
  box-shadow: var(--shadow-card);
}

.about-real-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: center 20%;
}

/* ── About Photo Carousel ───────────────────────────────────────────────── */
.about-carousel-track {
  position: relative;
  width: 100%;
  height: 440px;
}

.about-carousel-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  opacity: 0;
  transition: opacity 0.55s ease;
  pointer-events: none;
}

.about-carousel-img.active {
  opacity: 1;
  pointer-events: auto;
}

/* Botones prev / next */
.about-car-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(7, 17, 31, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-white);
  opacity: 0;
  transition: opacity 0.25s ease, background 0.2s ease;
}

.about-img-wrapper:hover .about-car-btn {
  opacity: 1;
}

@media (hover: none) or (max-width: 768px) {
  .about-car-btn {
    opacity: 0.88;
  }
}

.about-car-btn:hover {
  background: rgba(0, 171, 228, 0.35);
  border-color: rgba(34, 211, 238, 0.7);
}

.about-car-btn svg {
  width: 18px;
  height: 18px;
}

.about-car-prev { left: 10px; }
.about-car-next { right: 10px; }

/* Dots */
.about-car-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.about-car-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: background 0.25s ease, transform 0.25s ease;
  cursor: pointer;
  padding: 0;
  display: inline-block;
}

.about-car-dot.active {
  background: var(--color-cyan);
  border-color: var(--color-cyan);
  transform: scale(1.3);
}


.about-img-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 17, 31, 0.8) 100%);
}

.about-floating-badge {
  position: absolute;
  bottom: -15px;
  right: -10px;
  background: rgba(11, 23, 40, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: var(--radius-lg);
  padding: 0.75rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  z-index: 5;
}

.badge-icon-circ {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}

.badge-bold {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.1;
}

.badge-muted {
  font-size: 0.72rem;
  color: var(--color-slate-400);
}

.about-content-col {
  display: flex;
  flex-direction: column;
}

.about-main-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.about-quote {
  position: relative;
  background: rgba(0, 171, 228, 0.06);
  border-left: 3px solid var(--color-cyan);
  padding: 1rem 1.25rem 1rem 2.75rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 1.5rem;
}

.quote-icon {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 18px;
  height: 18px;
  color: var(--color-cyan);
}

.about-quote p {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--color-slate-100);
  font-style: italic;
  line-height: 1.5;
}

.about-bio-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: var(--color-slate-300);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.about-pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 600px) {
  .about-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(11, 23, 40, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.85rem;
  border-radius: var(--radius-md);
}

.pillar-icon {
  width: 20px;
  height: 20px;
  color: var(--color-cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

.pillar-item h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.2rem;
}

.pillar-item p {
  font-size: 0.78rem;
  color: var(--color-slate-400);
  line-height: 1.4;
}

/* ==========================================================================
   TECNOLOGÍAS Y ESPECIALIDADES SECTION
   ========================================================================== */
.tech-categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 600px) {
  .tech-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .tech-categories-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.tech-cat-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
  transition: all var(--transition-fast);
}

.tech-cat-card:hover {
  border-color: var(--bg-card-border-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.cat-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cat-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-icon-wrap i {
  width: 22px;
  height: 22px;
}

.cat-audio {
  background: rgba(168, 85, 247, 0.15);
  color: #C084FC;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.cat-video {
  background: rgba(0, 171, 228, 0.15);
  color: #38BDF8;
  border: 1px solid rgba(0, 171, 228, 0.3);
}

.cat-web {
  background: rgba(34, 211, 238, 0.15);
  color: #22D3EE;
  border: 1px solid rgba(34, 211, 238, 0.3);
}

.cat-tech {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.cat-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.1;
}

.cat-subtitle {
  font-size: 0.72rem;
  color: var(--color-slate-400);
}

.cat-chips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chip-item {
  font-size: 0.78rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  color: var(--color-slate-200);
}


/* ==========================================================================
   AWANAHOST SECTION
   ========================================================================== */
.awanahost-card-container {
  position: relative;
  background: linear-gradient(135deg, #09182C 0%, #060F1D 100%);
  border: 1px solid rgba(0, 171, 228, 0.35);
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.8), var(--glow-blue);
}

@media (min-width: 768px) {
  .awanahost-card-container {
    padding: 3.5rem;
  }
}

.awanahost-glow {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 171, 228, 0.25), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.awanahost-inner-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .awanahost-inner-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.5rem;
  }
}

.awanahost-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(0, 171, 228, 0.15);
  border: 1px solid rgba(0, 171, 228, 0.4);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-cyan);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.awanahost-brand-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--color-white);
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.awanahost-lead-text {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-cyan);
  margin-bottom: 0.75rem;
}

.awanahost-desc-text {
  font-size: 0.95rem;
  color: var(--color-slate-300);
  line-height: 1.6;
  max-width: 580px;
  margin-bottom: 1.75rem;
}

.awanahost-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 540px) {
  .awanahost-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.aw-feat-box {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(7, 17, 31, 0.6);
  border: 1px solid rgba(0, 171, 228, 0.15);
  padding: 0.85rem;
  border-radius: var(--radius-md);
}

.aw-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: rgba(0, 171, 228, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-cyan);
  flex-shrink: 0;
}

.aw-icon i {
  width: 18px;
  height: 18px;
}

.aw-feat-box h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.15rem;
}

.aw-feat-box p {
  font-size: 0.76rem;
  color: var(--color-slate-400);
  line-height: 1.35;
}

.btn-awanahost {
  background: linear-gradient(135deg, #00ABE4, #22D3EE);
  color: #07111F;
  font-weight: 800;
  box-shadow: 0 4px 20px rgba(0, 171, 228, 0.4);
}

.btn-awanahost:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(34, 211, 238, 0.6);
}

/* Server Rack Graphic */
.server-rack-visual {
  background: #060E1A;
  border: 1.5px solid rgba(0, 171, 228, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.server-blade {
  background: #0B1728;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blade-lights {
  display: flex;
  gap: 5px;
}

.blade-lights span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.light-green {
  background: #10B981;
  box-shadow: 0 0 5px #10B981;
}

.light-blue {
  background: #00ABE4;
  box-shadow: 0 0 5px #00ABE4;
}

.light-blue.pulse {
  animation: pulseDot 1s infinite;
}

.blade-label {
  font-family: monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-slate-200);
}

.blade-stat {
  font-family: monospace;
  font-size: 0.68rem;
  color: var(--color-cyan);
}

.server-floating-ping {
  position: absolute;
  bottom: -12px;
  right: 15px;
  background: rgba(16, 185, 129, 0.9);
  color: #07111F;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.server-floating-ping i {
  width: 12px;
  height: 12px;
}

/* ==========================================================================
   CTA FINAL SECTION & FORM
   ========================================================================== */
.cta-master-card {
  position: relative;
  background: linear-gradient(135deg, rgba(11, 23, 40, 0.95) 0%, rgba(7, 17, 31, 0.98) 100%);
  border: 1.5px solid rgba(34, 211, 238, 0.35);
  border-radius: var(--radius-xl);
  padding: 2.5rem 1.5rem;
  box-shadow: var(--shadow-card), 0 0 40px rgba(0, 171, 228, 0.15);
  backdrop-filter: blur(20px);
  max-width: 880px;
  margin: 0 auto;
  overflow: hidden;
}

@media (min-width: 768px) {
  .cta-master-card {
    padding: 3.5rem;
  }
}

.cta-master-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 250px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.2), transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.cta-content-wrapper {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.cta-lead {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: var(--color-slate-300);
  max-width: 600px;
  margin: 0 auto 2.25rem;
  line-height: 1.6;
}

/* Contact Form Styling */
.contact-form {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row-two {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form-row-two {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-slate-200);
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: var(--color-cyan);
  pointer-events: none;
}

.input-icon-textarea {
  top: 14px;
}

.form-input {
  width: 100%;
  background: rgba(7, 17, 31, 0.75);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem 0.85rem 2.75rem;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--color-white);
  transition: all var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-cyan);
  box-shadow: 0 0 15px rgba(34, 211, 238, 0.25);
  background: rgba(11, 23, 40, 0.9);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2322D3EE' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

.form-select option {
  background: #0B1728;
  color: #FFFFFF;
}

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

.form-submit-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}

@media (min-width: 600px) {
  .form-submit-row {
    flex-direction: row;
    align-items: center;
  }
}

.btn-cta-main {
  flex: 1.3;
  padding: 1rem 1.75rem;
  font-size: 0.98rem;
}

.btn-whatsapp-submit {
  flex: 1.3;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border: 1px solid rgba(37, 211, 102, 0.5);
  color: #FFFFFF;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.75rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-whatsapp-submit:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #2be46e 0%, #179b8c 100%);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.btn-whatsapp-direct {
  flex: 1;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #25D366;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  transition: all var(--transition-fast);
}

.btn-whatsapp-direct:hover {
  background: #25D366;
  color: #07111F;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
}

.form-feedback {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10B981;
  color: #34D399;
}

.form-feedback.hidden {
  display: none;
}

.feedback-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.feedback-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #040A13;
  border-top: 1px solid rgba(34, 211, 238, 0.12);
  padding: 4rem 0 2rem;
  position: relative;
  z-index: 10;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-top {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
  }
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: 0.5px;
}

.footer-tagline {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--color-cyan);
  margin-bottom: 0.75rem;
}

.footer-subtext {
  font-size: 0.85rem;
  color: var(--color-slate-400);
  line-height: 1.55;
  max-width: 320px;
}

.footer-nav-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.25rem;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links-list a {
  font-size: 0.88rem;
  color: var(--color-slate-400);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links-list a:hover {
  color: var(--color-cyan);
  transform: translateX(3px);
}

.footer-links-list a i {
  width: 16px;
  height: 16px;
}

.footer-direct-box {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.direct-link {
  font-size: 0.88rem;
  color: var(--color-slate-300);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.direct-link:hover {
  color: var(--color-cyan);
}

.direct-link i {
  width: 16px;
  height: 16px;
  color: var(--color-cyan);
}

.direct-location {
  font-size: 0.82rem;
  color: var(--color-slate-500);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.direct-location i {
  width: 14px;
  height: 14px;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
  color: var(--color-slate-500);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright strong {
  color: var(--color-slate-300);
}

.footer-badges {
  display: flex;
  gap: 0.5rem;
}

.badge-tech-tag {
  font-size: 0.7rem;
  font-family: monospace;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--color-slate-400);
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON (Mobile-First UX)
   ========================================================================== */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #07111F;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 90;
  transition: transform var(--transition-fast);
}

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

.whatsapp-icon {
  width: 28px;
  height: 28px;
}

.whatsapp-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: pulseGreen 2s infinite;
  pointer-events: none;
}

.whatsapp-tooltip {
  display: none;
}

@media (min-width: 768px) {
  .floating-whatsapp-btn:hover .whatsapp-tooltip {
    display: block;
    position: absolute;
    right: 68px;
    background: #0B1728;
    color: #FFFFFF;
    border: 1px solid rgba(34, 211, 238, 0.3);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  }
}

/* ==========================================================================
   PROJECT MODAL
   ========================================================================== */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.project-modal.open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 17, 31, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.modal-window {
  position: relative;
  background: #0B1728;
  border: 1.5px solid rgba(34, 211, 238, 0.35);
  border-radius: var(--radius-xl);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), var(--glow-cyan);
  z-index: 10;
  padding: 2rem;
  animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: scale(0.92);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-slate-300);
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #EF4444;
}

.modal-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Modal Content Styles */
.modal-header-badge {
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--color-cyan);
  text-transform: uppercase;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.2;
}

.modal-desc-full {
  font-size: 0.95rem;
  color: var(--color-slate-300);
  line-height: 1.65;
}

.modal-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  background: rgba(7, 17, 31, 0.6);
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.modal-spec-item {
  display: flex;
  flex-direction: column;
}

.modal-spec-label {
  font-size: 0.72rem;
  color: var(--color-slate-400);
}

.modal-spec-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-white);
}

.modal-cta-row {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

/* Modal Video Player Container */
.modal-video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #020610;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.modal-video-container.vertical-modal-video {
  aspect-ratio: 9 / 16;
  max-width: 320px;
  max-height: 520px;
  margin: 0 auto;
}

.modal-video-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.modal-video-direct-link {
  display: flex;
  justify-content: flex-end;
  margin-top: -0.5rem;
}

.btn-yt-direct {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #F87171;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.btn-yt-direct:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #FFFFFF;
  border-color: rgba(239, 68, 68, 0.6);
}

.yt-icon {
  width: 16px;
  height: 16px;
  color: #FF0000;
}

/* ==========================================================================
   WEB CAROUSEL — Categoría C
   ========================================================================== */

.web-carousel-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #020610;
  border: 1px solid rgba(34, 211, 238, 0.18);
  box-shadow: 0 8px 40px rgba(0,0,0,0.6), 0 0 0 1px rgba(34,211,238,0.06);
}

/* Barra navegador reutilizada */
.web-carousel-wrapper .cloud-browser-topbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 1.1rem;
  background: rgba(7, 17, 31, 0.95);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: relative;
  z-index: 5;
}

.b-dot.red   { background: #FF5F57; }
.b-dot.amber { background: #FEBC2E; }
.b-dot.green { background: #28C840; }

/* Track de imágenes */
.web-carousel-track {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .web-carousel-track { height: 240px; }
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Gradiente inferior para el overlay de info */
.web-carousel-track::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 30%,
    rgba(2, 6, 16, 0.75) 70%,
    rgba(2, 6, 16, 0.98) 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* Overlay de información */
.web-carousel-info-overlay {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.2rem 1.5rem 1.4rem;
  background: rgba(7, 17, 31, 0.92);
  border-top: 1px solid rgba(34,211,238,0.1);
  flex-wrap: wrap;
}

.wci-left { flex: 1; min-width: 220px; }

.wci-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--color-cyan);
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: var(--radius-full);
  padding: 0.2rem 0.7rem;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
}

.wci-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-white);
  margin: 0 0 0.3rem;
  line-height: 1.3;
}

.wci-desc {
  font-size: 0.8rem;
  color: var(--color-slate-400);
  margin: 0;
  line-height: 1.5;
  max-width: 440px;
}

.wci-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.7rem;
}

/* Mini scores Lighthouse dentro del overlay */
.wci-scores {
  display: flex;
  gap: 0.75rem;
}

.wci-score-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
}

.wci-score-num {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
}
.wci-score-num.cyan   { color: var(--color-cyan); }
.wci-score-num.purple { color: var(--color-purple-light); }
.wci-score-num.orange { color: #F97316; }
.wci-score-num.green  { color: #22C55E; }

.wci-score-lbl {
  font-size: 0.62rem;
  color: var(--color-slate-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.wci-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-cyan);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.9rem;
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.wci-link-btn:hover {
  background: rgba(34, 211, 238, 0.18);
  border-color: rgba(34, 211, 238, 0.6);
  color: #fff;
  box-shadow: 0 0 16px rgba(34,211,238,0.25);
}
.wci-link-btn svg { width: 13px; height: 13px; }

/* Botones prev / next */
.carousel-nav {
  position: absolute;
  top: calc(40px + 210px); /* topbar height + half track height */
  transform: translateY(-50%);
  z-index: 10;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: rgba(7, 17, 31, 0.82);
  color: var(--color-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}
.carousel-nav:hover {
  background: rgba(34, 211, 238, 0.18);
  border-color: var(--color-cyan);
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.35);
  transform: translateY(-50%) scale(1.08);
}
.carousel-nav svg { width: 20px; height: 20px; }
.carousel-nav.prev { left: 1rem; }
.carousel-nav.next { right: 1rem; }

/* Dots */
.carousel-dots {
  position: absolute;
  bottom: calc(88px + 12px); /* overlay height approx + padding */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 10;
}

.c-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}
.c-dot.active {
  background: var(--color-cyan);
  border-color: var(--color-cyan);
  box-shadow: 0 0 8px rgba(34,211,238,0.6);
  width: 20px;
  border-radius: 4px;
}

/* Contador */
.carousel-counter {
  position: absolute;
  top: calc(40px + 12px);
  right: 1rem;
  z-index: 10;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  background: rgba(7,17,31,0.7);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-full);
  padding: 0.2rem 0.65rem;
  backdrop-filter: blur(6px);
  letter-spacing: 0.05em;
}

/* Pills del stack tecnológico */
.web-carousel-wrapper .browser-url-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.8rem;
  font-size: 0.75rem;
  color: var(--color-slate-300);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: color 0.4s ease;
}
.web-carousel-wrapper .url-lock-icon {
  width: 11px;
  height: 11px;
  color: #22C55E;
  flex-shrink: 0;
}
.web-carousel-wrapper .browser-tech-badges {
  display: flex;
  gap: 0.4rem;
  flex-shrink: 0;
  flex-wrap: nowrap;
}

/* ==========================================================================
   RESPONSIVE ENHANCEMENTS & MOBILE OPTIMIZATIONS
   ========================================================================== */
@media (max-width: 768px) {
  .carousel-nav {
    top: calc(40px + 120px);
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 600px) {
  .web-carousel-info-overlay { 
    flex-direction: column; 
    gap: 0.8rem; 
    padding: 1rem 1.15rem;
  }
  .wci-right { align-items: flex-start; }
  .carousel-nav { 
    display: flex;
    width: 32px;
    height: 32px;
    top: calc(40px + 120px);
  }
  .carousel-nav.prev { left: 0.5rem; }
  .carousel-nav.next { right: 0.5rem; }
  .carousel-nav svg { width: 16px; height: 16px; }
}

@media (max-width: 480px) {
  .modal-window {
    padding: 1.5rem 1.1rem;
    border-radius: var(--radius-lg);
  }
  .spotify-main-controls {
    gap: 0.45rem;
  }
  .sp-spotify-btn span {
    display: none;
  }
  .sp-spotify-btn {
    padding: 0.25rem 0.5rem;
  }
  .floating-whatsapp-btn {
    bottom: 18px;
    right: 18px;
    width: 50px;
    height: 50px;
  }
  .whatsapp-icon {
    width: 24px;
    height: 24px;
  }
}