/* ==========================================================================
   Yojann Cortés Díaz - Ingeniero Informático Portfolio & Commercial Landing
   Design System & Responsive Stylesheet
   ========================================================================== */

/* ----------------- CSS Variables & Design Tokens ----------------- */
:root {
  /* Color Palette - Dark Obsidian Luxury */
  --bg-main: #060911;
  --bg-surface: #0c1220;
  --bg-surface-elevated: #131b2e;
  --bg-glass: rgba(15, 23, 42, 0.75);
  --bg-glass-card: rgba(18, 26, 47, 0.7);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-glow: rgba(0, 242, 254, 0.35);

  /* Brand Accents */
  --primary: #00f2fe;
  --primary-rgb: 0, 242, 254;
  --secondary: #4facfe;
  --accent-purple: #9d4edd;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;

  /* Typography Colors */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  --text-inverse: #020617;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --grad-purple: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
  --grad-sunset: linear-gradient(135deg, #ff0844 0%, #ffb199 100%);
  --grad-dark-card: linear-gradient(180deg, rgba(25, 36, 64, 0.75) 0%, rgba(13, 19, 36, 0.9) 100%);

  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Transitions & Shadows */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 35px rgba(0, 242, 254, 0.2);

  /* Dimensions */
  --container-max: 1200px;
  --header-height: 75px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
}

/* ----------------- Reset & Base Styles ----------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  width: 100%;
}

img, svg, video, canvas {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Background Canvas & Ambient Glows */
#bgCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.2;
}

.glow-1 {
  top: 5%;
  left: 5%;
  width: min(500px, 80vw);
  height: min(500px, 80vw);
  background: radial-gradient(circle, #00f2fe, transparent 70%);
}

.glow-2 {
  top: 45%;
  right: 5%;
  width: min(600px, 85vw);
  height: min(600px, 85vw);
  background: radial-gradient(circle, #7f00ff, transparent 70%);
}

.glow-3 {
  bottom: 10%;
  left: 15%;
  width: min(500px, 75vw);
  height: min(500px, 75vw);
  background: radial-gradient(circle, #0072ff, transparent 70%);
}

/* ----------------- Layout & Typography ----------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.section {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
  position: relative;
  z-index: 1;
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  word-break: break-word;
}

p {
  color: var(--text-muted);
  word-break: break-word;
}

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

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

.section-header {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-header.text-center {
  text-align: center;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: var(--primary);
  border-radius: var(--radius-pill);
  font-size: clamp(0.75rem, 1.5vw, 0.85rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.125rem);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ----------------- Buttons & UI Elements ----------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: var(--radius-pill);
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  text-align: center;
  white-space: nowrap;
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.85rem 1.8rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--grad-primary);
  color: #030712;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.35);
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 242, 254, 0.5);
  filter: brightness(1.08);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
  filter: brightness(1.06);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(0, 242, 254, 0.08);
  color: var(--primary);
}

.btn-glass {
  background: var(--bg-glass-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: var(--border-glass);
  color: var(--text-main);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  background: var(--bg-glass-card);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  font-size: 1.1rem;
}

.btn-icon:hover {
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.pulse-btn {
  animation: subtlePulse 3s infinite;
}

@keyframes subtlePulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(0, 242, 254, 0.35); }
  50% { box-shadow: 0 4px 30px rgba(0, 242, 254, 0.65); }
}

/* ----------------- Header & Navigation ----------------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-normal);
  background: rgba(6, 9, 17, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.site-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 242, 254, 0.4) 25%, rgba(157, 78, 221, 0.3) 75%, transparent 100%);
  pointer-events: none;
}

.site-header.scrolled {
  background: rgba(5, 8, 15, 0.95);
  border-bottom-color: rgba(0, 242, 254, 0.25);
  box-shadow: 0 10px 35px -5px rgba(0, 0, 0, 0.85), 0 0 25px rgba(0, 242, 254, 0.1);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1360px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  gap: 1rem;
}

/* Brand Logo & Identity */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  text-decoration: none;
  position: relative;
  white-space: nowrap;
}

.logo-aura-wrap {
  position: relative;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-logo-img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(0, 242, 254, 0.6);
  box-shadow: 0 0 14px rgba(0, 242, 254, 0.4);
  background: #090d16;
  flex-shrink: 0;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  position: relative;
  z-index: 2;
}

.logo-pulse-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.4) 0%, transparent 70%);
  z-index: 1;
  animation: logoAuraPulse 3s infinite ease-in-out;
  pointer-events: none;
}

@keyframes logoAuraPulse {
  0%, 100% {
    transform: scale(0.95);
    opacity: 0.35;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.8;
  }
}

.brand-logo:hover .nav-logo-img {
  transform: scale(1.06);
  border-color: var(--primary);
  box-shadow: 0 0 22px rgba(0, 242, 254, 0.7);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
  white-space: nowrap;
}

.brand-top-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}

.logo-main-text {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.brand-logo:hover .logo-main-text {
  color: #ffffff;
  text-shadow: 0 0 12px rgba(0, 242, 254, 0.45);
}

.badge-eirl {
  font-size: 0.62rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--primary);
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid rgba(0, 242, 254, 0.35);
  padding: 0.1rem 0.38rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
  box-shadow: 0 0 8px rgba(0, 242, 254, 0.15);
  display: inline-block;
  line-height: 1.2;
  white-space: nowrap;
}

.logo-lead-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.logo-lead-sub .lead-name {
  color: #94a3b8;
}

.logo-lead-sub .lead-sep {
  color: rgba(0, 242, 254, 0.5);
  font-size: 0.6rem;
}

.logo-lead-sub .lead-role {
  color: var(--primary);
  font-weight: 600;
}

/* Nav Menu & Links */
.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: #94a3b8;
  position: relative;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
  line-height: 1;
}

.nav-link .nav-ico {
  font-size: 0.82rem;
  opacity: 0.8;
  display: inline-block;
  transition: transform var(--transition-fast), color var(--transition-fast), opacity var(--transition-fast);
}

.nav-link span {
  display: inline-block;
  white-space: nowrap;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
}

.nav-link:hover .nav-ico {
  color: var(--primary);
  opacity: 1;
  transform: translateY(-1px);
}

.nav-link.active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.14) 0%, rgba(79, 172, 254, 0.08) 100%);
  border-color: rgba(0, 242, 254, 0.35);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
  font-weight: 600;
}

.nav-link.active .nav-ico {
  color: var(--primary);
  opacity: 1;
}

/* Tienda POS Pill Badge */
.nav-badge-pill {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.12rem 0.42rem;
  border-radius: var(--radius-pill);
  background: rgba(0, 242, 254, 0.15);
  border: 1px solid rgba(0, 242, 254, 0.4);
  color: var(--primary);
  margin-left: 0.2rem;
  box-shadow: 0 0 8px rgba(0, 242, 254, 0.2);
  display: inline-block;
  line-height: 1;
  white-space: nowrap;
}

/* Nav Actions & Status */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #34d399;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
  white-space: nowrap;
  line-height: 1;
}

.status-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseGreenLive 2s infinite cubic-bezier(0.455, 0.03, 0.515, 0.955);
  display: inline-block;
  flex-shrink: 0;
}

@keyframes pulseGreenLive {
  0%, 100% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
    box-shadow: 0 0 12px #10b981;
  }
}

.btn-nav-quote {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.14) 0%, rgba(79, 172, 254, 0.2) 100%) !important;
  border: 1px solid rgba(0, 242, 254, 0.45) !important;
  color: var(--primary) !important;
  font-weight: 700;
  font-size: 0.84rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  text-decoration: none;
  transition: all var(--transition-normal);
}

.btn-nav-quote:hover {
  background: var(--grad-primary) !important;
  color: #030712 !important;
  border-color: transparent !important;
  box-shadow: 0 0 22px rgba(0, 242, 254, 0.5);
  transform: translateY(-1px);
}

.btn-nav-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.84rem;
  padding: 0.45rem 1.05rem;
  border-radius: var(--radius-pill);
  border: none !important;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  text-decoration: none;
  transition: all var(--transition-normal);
}

.btn-nav-whatsapp:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.55);
  filter: brightness(1.08);
}

/* Mobile Hamburger Button */
.mobile-toggle {
  display: none;
  background: rgba(18, 26, 47, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: all var(--transition-fast);
  padding: 0;
  flex-shrink: 0;
}

.mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
  color: var(--primary);
}

.toggle-icon-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

.mobile-toggle.open .toggle-icon-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.open .toggle-icon-bar:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.mobile-toggle.open .toggle-icon-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-cta-item {
  display: none;
}

/* ----------------- Hero Section ----------------- */
.hero-section {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 3.5rem;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-pill);
  font-size: clamp(0.75rem, 1.5vw, 0.85rem);
  color: #34d399;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulseDot 2s infinite;
  flex-shrink: 0;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px var(--accent-emerald); }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  max-width: 950px;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero-description {
  font-size: clamp(0.98rem, 2vw, 1.2rem);
  max-width: 780px;
  margin-bottom: 2rem;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 3.5rem;
  width: 100%;
}

/* Metrics Cards */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  width: 100%;
  max-width: 1050px;
  margin-bottom: 3rem;
}

.metric-card {
  background: var(--bg-glass-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.25rem 0.85rem;
  text-align: center;
  transition: all var(--transition-normal);
}

.metric-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 242, 254, 0.3);
  box-shadow: var(--shadow-glow);
}

.metric-number {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.4rem;
}

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

.metric-label {
  font-size: clamp(0.75rem, 1.4vw, 0.85rem);
  color: var(--text-muted);
  font-weight: 500;
}

/* Tech Marquee */
.tech-marquee-wrapper {
  width: 100%;
  max-width: 1000px;
}

.tech-marquee-label {
  font-size: 0.8rem;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
  font-family: var(--font-mono);
}

.tech-marquee {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.tech-track {
  display: flex;
  gap: 0.75rem;
  width: max-content;
  animation: scrollMarquee 26s linear infinite;
}

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

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

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  color: var(--text-main);
  font-weight: 500;
  white-space: nowrap;
}

.tech-pill i {
  color: var(--primary);
}

/* ----------------- Services Section ----------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--grad-dark-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 242, 254, 0.4);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), var(--shadow-glow);
}

.service-card:hover::before {
  background: var(--grad-primary);
}

.service-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.icon-cyan { background: rgba(0, 242, 254, 0.12); color: var(--primary); border: 1px solid rgba(0, 242, 254, 0.3); }
.icon-purple { background: rgba(168, 85, 247, 0.12); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.3); }
.icon-blue { background: rgba(59, 130, 246, 0.12); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }
.icon-emerald { background: rgba(16, 185, 129, 0.12); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }

.service-title {
  font-size: clamp(1.2rem, 2.5vw, 1.35rem);
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.93rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.service-features {
  list-style: none;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.service-features li {
  font-size: 0.88rem;
  color: var(--text-main);
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  line-height: 1.4;
}

.service-features li i {
  color: var(--accent-emerald);
  font-size: 0.8rem;
  margin-top: 3px;
  flex-shrink: 0;
}

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

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

.service-link:hover {
  gap: 0.75rem;
}

/* ----------------- Project Calculator / Cotizador ----------------- */
.calculator-wrapper {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.85) 0%, rgba(8, 12, 22, 0.95) 100%);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 3.25rem);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), var(--shadow-glow);
  width: 100%;
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

.calc-group {
  margin-bottom: 1.75rem;
}

.calc-group-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: #030712;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}

/* Radios for Project Type */
.calc-pill-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.calc-radio-card {
  position: relative;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1rem 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  user-select: none;
}

.calc-radio-card input {
  position: absolute;
  opacity: 0;
}

.calc-radio-card .radio-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
}

.calc-radio-card .radio-content i {
  font-size: 1.3rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
  transition: color var(--transition-fast);
}

.calc-radio-card .title {
  font-weight: 700;
  font-size: 0.9rem;
  color: #ffffff;
  line-height: 1.3;
}

.calc-radio-card .desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.calc-radio-card.active, .calc-radio-card:hover {
  border-color: var(--primary);
  background: rgba(0, 242, 254, 0.08);
}

.calc-radio-card.active .radio-content i {
  color: var(--primary);
}

/* Checkboxes for Modules */
.calc-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.calc-checkbox-card {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 0.85rem 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  user-select: none;
}

.calc-checkbox-card input {
  position: absolute;
  opacity: 0;
}

.custom-chk {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid var(--text-subtle);
  background: transparent;
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.calc-checkbox-card input:checked + .custom-chk {
  background: var(--primary);
  border-color: var(--primary);
}

.calc-checkbox-card input:checked + .custom-chk::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.65rem;
  color: #030712;
}

.chk-info {
  display: flex;
  flex-direction: column;
}

.chk-info strong {
  font-size: 0.85rem;
  color: #ffffff;
  line-height: 1.3;
}

.chk-info small {
  font-size: 0.73rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.calc-checkbox-card.checked {
  border-color: rgba(0, 242, 254, 0.4);
  background: rgba(0, 242, 254, 0.06);
}

/* Speed / Urgency */
.calc-speed-options {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.speed-radio {
  flex: 1;
  min-width: 160px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.85rem;
  cursor: pointer;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  position: relative;
  user-select: none;
}

.speed-radio input {
  position: absolute;
  opacity: 0;
}

.speed-radio.active {
  border-color: var(--primary);
  background: rgba(0, 242, 254, 0.1);
  color: var(--primary);
}

/* Summary Card */
.calc-summary-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  display: flex;
  flex-direction: column;
  height: fit-content;
}

.summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  gap: 0.5rem;
}

.summary-header h3 {
  font-size: 1.15rem;
}

.badge-live {
  font-size: 0.72rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  white-space: nowrap;
}

.summary-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  gap: 0.5rem;
}

.breakdown-item span:last-child {
  color: #ffffff;
  font-weight: 600;
  white-space: nowrap;
}

.summary-divider {
  height: 1px;
  background: var(--border-glass);
  margin-bottom: 1.25rem;
}

.summary-total-box {
  background: rgba(0, 242, 254, 0.05);
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
  margin-bottom: 1.25rem;
}

.total-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.total-price {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin: 0.2rem 0;
}

.total-price small {
  font-size: 1.1rem;
  color: var(--text-main);
  font-weight: 600;
}

.total-time {
  font-size: 0.82rem;
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.summary-features-included {
  margin-bottom: 1.25rem;
}

.incl-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.summary-features-included ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.summary-features-included li {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  line-height: 1.35;
}

.summary-features-included li i {
  color: var(--accent-emerald);
  font-size: 0.75rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.summary-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: auto;
}

/* ----------------- Portfolio Section ----------------- */
.portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--grad-primary);
  color: #030712;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.project-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 242, 254, 0.35);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), var(--shadow-glow);
}

.project-img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  background: #060911;
  overflow: hidden;
  border-bottom: 1px solid var(--border-glass);
  display: block;
}

.project-real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.4s ease;
}

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

.project-badge-live {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(6, 9, 17, 0.85);
  border: 1px solid rgba(0, 242, 254, 0.5);
  color: var(--primary);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

/* CSS Mockups for Realistic Rich Previews */
.project-mockup {
  width: 92%;
  height: 92%;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transition: transform var(--transition-normal);
}

.project-card:hover .project-mockup {
  transform: scale(1.02);
}

.mockup-header {
  height: 24px;
  background: #1f2937;
  display: flex;
  align-items: center;
  padding: 0 8px;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.mockup-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4b5563;
}

.mockup-dots .dot:nth-child(1) { background: #ef4444; }
.mockup-dots .dot:nth-child(2) { background: #eab308; }
.mockup-dots .dot:nth-child(3) { background: #22c55e; }

.mockup-url {
  font-size: 0.62rem;
  font-family: var(--font-mono);
  color: #9ca3af;
  background: #111827;
  padding: 2px 6px;
  border-radius: 3px;
}

.mockup-body {
  flex: 1;
  display: flex;
  padding: 8px;
  gap: 8px;
  background: #0b1120;
}

.mockup-sidebar {
  width: 25%;
  background: #1e293b;
  border-radius: 4px;
}

.mockup-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mockup-stats-row {
  display: flex;
  gap: 6px;
  height: 35%;
}

.mockup-stat-box {
  flex: 1;
  background: rgba(0, 242, 254, 0.15);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: 4px;
}

.mockup-chart-box {
  flex: 1;
  background: #1e293b;
  border-radius: 4px;
}

/* E-Com Mockup */
.mockup-ecom-body {
  flex-direction: column;
}
.mockup-banner {
  height: 40%;
  background: linear-gradient(90deg, #4f46e5, #06b6d4);
  border-radius: 4px;
}
.mockup-prod-grid {
  flex: 1;
  display: flex;
  gap: 6px;
}
.mockup-prod-card {
  flex: 1;
  background: #1f2937;
  border-radius: 4px;
}

/* AI Mockup */
.mockup-ai-body {
  flex-direction: column;
  gap: 6px;
}
.mockup-chat-msg {
  height: 18px;
  border-radius: 4px;
}
.mockup-chat-msg.user {
  width: 60%;
  align-self: flex-end;
  background: #3b82f6;
}
.mockup-chat-msg.bot {
  width: 75%;
  background: #374151;
}

/* Mobile Mockup */
.mockup-mobile-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.mockup-mobile-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #06b6d4);
}
.mockup-mobile-bar {
  width: 70%;
  height: 6px;
  background: #374151;
  border-radius: 3px;
}
.mockup-mobile-bar.short { width: 40%; }

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 9, 17, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: 8;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

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

.tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  color: var(--primary);
}

.project-title {
  font-size: clamp(1.15rem, 2vw, 1.25rem);
  margin-bottom: 0.6rem;
}

.project-summary {
  font-size: 0.88rem;
  margin-bottom: 1.1rem;
  line-height: 1.55;
}

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

.project-link-action {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0;
}

.project-link-action:hover {
  gap: 0.7rem;
}

/* ----------------- Project Modal ----------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glass-glow);
  border-radius: var(--radius-lg);
  max-width: 700px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), var(--shadow-glow);
  transform: scale(0.95);
  transition: transform var(--transition-normal);
}

.modal-backdrop.open .modal-card {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #ffffff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 10;
}

.modal-close:hover {
  background: rgba(239, 68, 68, 0.8);
}

.modal-content {
  padding: clamp(1.25rem, 4vw, 2.25rem);
}

/* ----------------- About Me Section ----------------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.avatar-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.avatar-glow {
  position: absolute;
  inset: -10px;
  background: var(--grad-primary);
  border-radius: var(--radius-lg);
  filter: blur(25px);
  opacity: 0.3;
  z-index: 0;
}

.avatar-inner {
  position: relative;
  z-index: 1;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 2.75rem) 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.code-badge-top {
  position: absolute;
  top: 0.9rem;
  left: 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--primary);
}

.avatar-logo-sphere, .avatar-icon-sphere {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.4);
  overflow: hidden;
  background: #0c1220;
}

.avatar-company-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-fast);
}

.avatar-card:hover .avatar-company-logo {
  transform: scale(1.08);
}

.avatar-name {
  font-size: clamp(1.3rem, 3vw, 1.55rem);
  margin-bottom: 0.25rem;
}

.avatar-title {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.avatar-socials {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.avatar-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  font-size: 0.95rem;
}

.avatar-socials a:hover {
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.experience-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
}

.about-paragraph {
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  margin-bottom: 1.1rem;
  line-height: 1.65;
}

.skills-showcase {
  margin-top: 1.75rem;
}

.skills-title {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.skills-bars {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.skill-bar-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  font-weight: 500;
  gap: 0.5rem;
}

.skill-bar-header span:last-child {
  color: var(--primary);
  font-family: var(--font-mono);
}

.progress-track {
  width: 100%;
  height: 7px;
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-pill);
  overflow: hidden;
  border: 1px solid var(--border-glass);
}

.progress-fill {
  height: 100%;
  background: var(--grad-primary);
  border-radius: var(--radius-pill);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ----------------- Process Section ----------------- */
.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.process-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  position: relative;
  transition: all var(--transition-normal);
}

.process-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 242, 254, 0.3);
  box-shadow: var(--shadow-glow);
}

.step-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--primary);
  background: rgba(0, 242, 254, 0.1);
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
}

.step-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(0, 242, 254, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.1rem;
}

.step-title {
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
}

.step-desc {
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ----------------- Testimonials ----------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.testimonial-stars {
  color: var(--accent-amber);
  margin-bottom: 1rem;
  display: flex;
  gap: 3px;
  font-size: 0.85rem;
}

.testimonial-text {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 242, 254, 0.15);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-info strong {
  font-size: 0.9rem;
  color: #ffffff;
}

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

/* ----------------- Contact Section ----------------- */
.contact-wrapper {
  background: var(--grad-dark-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow-md);
  width: 100%;
}

.contact-desc {
  font-size: 0.98rem;
  margin-bottom: 1.75rem;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.contact-item:hover {
  border-color: var(--primary);
  transform: translateX(4px);
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-icon.whatsapp { background: rgba(37, 211, 102, 0.15); color: #25d366; }
.contact-icon.email { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.contact-icon.location { background: rgba(239, 68, 68, 0.15); color: #f87171; }

.contact-meta {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.contact-meta .label {
  font-size: 0.72rem;
  color: var(--text-subtle);
  text-transform: uppercase;
}

.contact-meta .value {
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
  word-break: break-all;
}

.guarantee-box {
  display: flex;
  gap: 0.85rem;
  padding: 1rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-md);
}

.guarantee-box i {
  font-size: 1.4rem;
  color: #34d399;
  flex-shrink: 0;
  margin-top: 2px;
}

.guarantee-box strong {
  display: block;
  font-size: 0.85rem;
  color: #ffffff;
  margin-bottom: 0.15rem;
}

.guarantee-box p {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Contact Form */
.contact-form-side {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: clamp(1.25rem, 3vw, 2rem);
  width: 100%;
}

.form-title {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: #ffffff;
}

.form-group .req {
  color: #ef4444;
}

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

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  transition: all var(--transition-fast);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.15);
}

select option {
  background: var(--bg-surface);
  color: #ffffff;
}

.form-status {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  text-align: center;
  font-weight: 600;
}

/* ----------------- Footer ----------------- */
.site-footer {
  background: #03060c;
  border-top: 1px solid var(--border-glass);
  padding: clamp(3rem, 5vw, 4.5rem) 0 2rem;
}

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

.footer-logo {
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-size: 0.88rem;
  margin-top: 0.85rem;
  max-width: 320px;
  line-height: 1.6;
}

.footer-links-group h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-links-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links-group a, .footer-links-group span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.footer-text {
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

.footer-mail {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  word-break: break-all;
}

.footer-social-icons {
  display: flex;
  gap: 0.65rem;
}

.footer-social-icons a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  font-size: 0.9rem;
}

.footer-social-icons a:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-subtle);
  gap: 1rem;
}

.footer-sys-status {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #34d399;
}

/* ----------------- Toast Notifications ----------------- */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: calc(100vw - 3rem);
}

.toast {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), var(--shadow-glow);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  animation: slideInToast 0.3s ease forwards;
}

@keyframes slideInToast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ----------------- Comprehensive Responsive Breakpoints ----------------- */

/* Laptops & Tablets (Max 1024px) */
@media (max-width: 1024px) {
  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .calculator-grid {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .skills-bars {
    text-align: left;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .process-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile & Tablets (Max 1024px) */
@media (max-width: 1024px) {
  .nav-status-indicator {
    display: none;
  }
}

@media (max-width: 960px) {
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    background: rgba(5, 8, 16, 0.98);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    padding: 1.5rem 1.25rem 2.5rem;
    border-bottom: 1px solid rgba(0, 242, 254, 0.25);
    transform: translateY(-120%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.9);
    z-index: 999;
  }

  .nav-menu.open {
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    width: 100%;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.05rem;
    padding: 0.85rem 1.1rem;
    width: 100%;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
  }

  .nav-link .nav-ico {
    font-size: 1rem;
    width: 24px;
    text-align: center;
  }

  .nav-link:hover, .nav-link.active {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.15) 0%, rgba(79, 172, 254, 0.08) 100%);
    border-color: rgba(0, 242, 254, 0.35);
    color: #ffffff;
  }

  .mobile-cta-item {
    display: block !important;
    width: 100%;
    margin-top: 1rem;
  }

  .mobile-menu-card {
    background: rgba(18, 26, 47, 0.6);
    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;
  }

  .mobile-menu-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #34d399;
    font-weight: 600;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-actions .btn-sm {
    display: none;
  }

  .services-grid, .projects-grid {
    grid-template-columns: 1fr;
  }

  .calc-pill-options, .calc-checkbox-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn-lg {
    width: 100%;
  }
}

/* Small Mobile (Max 480px) */
@media (max-width: 480px) {
  :root {
    --header-height: 68px;
  }

  .container {
    padding: 0 1rem;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .process-steps-grid {
    grid-template-columns: 1fr;
  }

  .calc-speed-options {
    flex-direction: column;
  }

  .speed-radio {
    width: 100%;
  }

  .toast-container {
    right: 1rem;
    left: 1rem;
    bottom: 1rem;
  }
}

/* ==========================================================================
   Subpages Header (Hero for Servicios & Productos)
   ========================================================================== */
.page-hero {
  padding: calc(var(--header-height) + 3.5rem) 0 3rem;
  text-align: center;
  position: relative;
}

.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-pill);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.page-hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.page-hero-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto 2rem;
}

/* ==========================================================================
   Store & Products Styling
   ========================================================================== */
.store-controls-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: var(--bg-glass-card);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
}

.store-search-box {
  position: relative;
  flex: 1;
  min-width: 260px;
  max-width: 400px;
}

.store-search-box i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-subtle);
}

.store-search-box input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  border-radius: var(--radius-pill);
  background: rgba(6, 9, 17, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-main);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.store-search-box input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.store-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.store-filter-btn {
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.store-filter-btn:hover {
  background: rgba(0, 242, 254, 0.1);
  color: var(--text-main);
  border-color: rgba(0, 242, 254, 0.3);
}

.store-filter-btn.active {
  background: var(--grad-primary);
  color: var(--text-inverse);
  font-weight: 700;
  border-color: transparent;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.product-card {
  border-radius: var(--radius-lg);
  background: var(--grad-dark-card);
  border: 1px solid var(--border-glass);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glass-glow);
  box-shadow: 0 15px 35px -10px rgba(0, 242, 254, 0.18);
}

.product-card-img-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  background: radial-gradient(circle at center, rgba(30, 41, 69, 0.6) 0%, rgba(10, 14, 25, 0.9) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow: hidden;
}

.product-card-img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.5));
  transition: transform 0.4s ease;
}

.product-card:hover .product-card-img {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(8px);
}

.product-badge.popular {
  background: rgba(0, 242, 254, 0.2);
  color: var(--primary);
  border: 1px solid rgba(0, 242, 254, 0.4);
}

.product-badge.sale {
  background: rgba(244, 63, 94, 0.2);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.4);
}

.product-badge.new {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.product-category-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(6, 9, 17, 0.7);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.product-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.product-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  line-height: 1.5;
  flex: 1;
}

.product-specs-list {
  list-style: none;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.product-specs-list li {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-specs-list li i {
  color: var(--primary);
  font-size: 0.75rem;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
}

.product-price-box {
  display: flex;
  flex-direction: column;
}

.product-price-label {
  font-size: 0.75rem;
  color: var(--text-subtle);
  text-transform: uppercase;
}

.product-price {
  font-size: 1.4rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--primary);
}

.product-price-old {
  font-size: 0.85rem;
  color: var(--text-subtle);
  text-decoration: line-through;
  margin-left: 0.35rem;
}

.product-card-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-whatsapp-buy {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  border: none;
  font-weight: 700;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  text-decoration: none;
  transition: var(--transition-fast);
  cursor: pointer;
}

.btn-whatsapp-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  color: #fff;
}

.store-perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.store-perk-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-glass);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.store-perk-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(0, 242, 254, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.store-perk-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.store-perk-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Modal Styling */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glass-glow);
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(244, 63, 94, 0.2);
  color: #fb7185;
}

/* ==========================================================================
   Services Page Detailed Styling
   ========================================================================== */
.services-detailed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.service-detail-card {
  background: var(--grad-dark-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-detail-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-detail-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glass-glow);
  box-shadow: 0 15px 35px -10px rgba(0, 242, 254, 0.15);
}

.service-detail-card:hover::before {
  opacity: 1;
}

.service-detail-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(0, 242, 254, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0, 242, 254, 0.25);
}

.service-detail-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.service-detail-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-features-list {
  list-style: none;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.service-features-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.service-features-list li i {
  color: var(--accent-emerald);
  margin-top: 0.25rem;
  font-size: 0.85rem;
}

.service-detail-footer {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Service Pricing Tiers */
.pricing-tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.pricing-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-normal);
}

.pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(20, 32, 58, 0.95) 0%, rgba(12, 18, 32, 0.98) 100%);
  box-shadow: 0 0 35px rgba(0, 242, 254, 0.15);
  transform: scale(1.02);
}

.pricing-card:hover {
  transform: translateY(-5px);
}

.pricing-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-primary);
  color: var(--text-inverse);
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 0.35rem 1.25rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(0, 242, 254, 0.4);
}

.pricing-tier-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-tier-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.pricing-price-wrap {
  margin-bottom: 1.75rem;
}

.pricing-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  font-family: var(--font-heading);
}

.pricing-price-sub {
  font-size: 0.85rem;
  color: var(--text-subtle);
  display: block;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.pricing-features li {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pricing-features li i {
  color: var(--primary);
}

/* FAQ Section */
.faq-grid {
  max-width: 800px;
  margin: 0 auto 4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.faq-item.active {
  border-color: rgba(0, 242, 254, 0.4);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem;
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.whatsapp-float-wrap {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9990;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.whatsapp-float-btn {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 2rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  position: relative;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  cursor: pointer;
}

.whatsapp-float-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.4);
  z-index: -1;
  animation: wa-pulse 2s infinite cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.whatsapp-float-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  background: #ff3366;
  border: 2px solid var(--bg-main);
  border-radius: 50%;
}

.whatsapp-float-tooltip {
  background: var(--bg-surface-elevated);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: var(--text-main);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  backdrop-filter: blur(8px);
}

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

.whatsapp-float-wrap:hover .whatsapp-float-btn {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

@keyframes wa-pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.3);
    opacity: 0;
  }
  100% {
    transform: scale(0.95);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .whatsapp-float-wrap {
    bottom: 1.5rem;
    right: 1.5rem;
  }
  .whatsapp-float-btn {
    width: 52px;
    height: 52px;
    font-size: 1.7rem;
  }
  .whatsapp-float-tooltip {
    display: none;
  }
}

/* ==========================================================================
   AI THEME, HIGH-TECH ICONS & MONOCHROME LOGO ENHANCEMENTS
   ========================================================================== */

/* Logo Container with Crisp White Background for PNG Emblem */
.nav-logo-img, .footer-logo .nav-logo-img {
  background: #ffffff !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.45), 0 0 26px rgba(0, 242, 254, 0.35) !important;
  object-fit: contain !important;
  padding: 2px !important;
}

.avatar-logo-sphere {
  background: #ffffff !important;
  border: 3.5px solid #ffffff !important;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.55), 0 0 50px rgba(0, 242, 254, 0.4) !important;
  padding: 6px !important;
}

.avatar-company-logo {
  object-fit: contain !important;
  background: transparent !important;
}

/* AI Neural Badge & Cyber Glowing Accents */
.hero-badge.ai-badge {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.12) 0%, rgba(168, 85, 247, 0.12) 100%);
  border: 1px solid rgba(0, 242, 254, 0.45);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.ai-status-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00f2fe;
  box-shadow: 0 0 10px #00f2fe;
  animation: aiPulse 1.8s infinite ease-in-out;
}

@keyframes aiPulse {
  0%, 100% { transform: scale(1); opacity: 1; filter: drop-shadow(0 0 4px #00f2fe); }
  50% { transform: scale(1.4); opacity: 0.6; filter: drop-shadow(0 0 12px #a855f7); }
}

.ai-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.75rem;
  border-radius: 9999px;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: #c084fc;
  font-size: 0.78rem;
  font-weight: 600;
}

/* AI Copilot & Automated Interactive Messaging Widget */
.ai-copilot-launcher {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ai-copilot-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #060911 100%);
  border: 2px solid #00f2fe;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.4), 0 10px 25px rgba(0, 0, 0, 0.6);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.ai-copilot-btn:hover {
  transform: scale(1.1) translateY(-3px);
  border-color: #a855f7;
  box-shadow: 0 0 35px rgba(168, 85, 247, 0.5), 0 12px 30px rgba(0, 0, 0, 0.7);
}

.ai-copilot-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #060911;
  box-shadow: 0 0 8px #10b981;
}

.ai-copilot-proactive-bubble {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(0, 242, 254, 0.4);
  border-radius: 14px;
  padding: 0.75rem 1rem;
  color: #f1f5f9;
  font-size: 0.86rem;
  max-width: 270px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 242, 254, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  animation: floatBubble 4s infinite ease-in-out;
  cursor: pointer;
}

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

.ai-copilot-proactive-bubble .bubble-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #00f2fe;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ai-copilot-proactive-bubble .bubble-close {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0 2px;
}

/* AI Copilot Drawer / Modal */
.ai-copilot-modal {
  position: fixed;
  bottom: 6.5rem;
  left: 2rem;
  width: 390px;
  max-width: calc(100vw - 4rem);
  height: 520px;
  max-height: calc(100vh - 8rem);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.96) 0%, rgba(8, 12, 22, 0.98) 100%);
  border: 1px solid rgba(0, 242, 254, 0.35);
  border-radius: 20px;
  z-index: 1000;
  display: none;
  flex-direction: column;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 242, 254, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  animation: copilotPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ai-copilot-modal.open {
  display: flex;
}

@keyframes copilotPop {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.copilot-modal-header {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 18, 32, 0.8);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.copilot-avatar-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00f2fe 0%, #7c3aed 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.1rem;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.5);
}

.copilot-header-titles h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.copilot-header-titles span {
  font-size: 0.76rem;
  color: #10b981;
  font-weight: 500;
}

.copilot-close-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.copilot-close-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.copilot-chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.copilot-msg {
  display: flex;
  gap: 0.65rem;
  max-width: 88%;
}

.copilot-msg.bot {
  align-self: flex-start;
}

.copilot-msg.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.copilot-msg-bubble {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
}

.copilot-msg.bot .copilot-msg-bubble {
  background: rgba(26, 38, 66, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  border-top-left-radius: 2px;
}

.copilot-msg.user .copilot-msg-bubble {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
  border-top-right-radius: 2px;
}

/* Quick prompt chips inside drawer */
.copilot-quick-prompts {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.5rem;
}

.prompt-chip {
  background: rgba(0, 242, 254, 0.06);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: 10px;
  padding: 0.5rem 0.85rem;
  color: #e2e8f0;
  font-size: 0.82rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.prompt-chip:hover {
  background: rgba(0, 242, 254, 0.15);
  border-color: #00f2fe;
  color: #ffffff;
  transform: translateX(3px);
}

.prompt-chip i {
  color: #00f2fe;
}

.copilot-chat-footer {
  padding: 0.9rem 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 15, 26, 0.9);
  display: flex;
  gap: 0.6rem;
}

.copilot-input {
  flex: 1;
  background: rgba(18, 26, 47, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 0.55rem 0.85rem;
  color: #ffffff;
  font-size: 0.88rem;
}

.copilot-input:focus {
  outline: none;
  border-color: #00f2fe;
}

.copilot-send-btn {
  background: #00f2fe;
  color: #060911;
  border: none;
  border-radius: 10px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.copilot-send-btn:hover {
  transform: scale(1.06);
}

@media (max-width: 768px) {
  .ai-copilot-launcher {
    bottom: 1.5rem;
    left: 1.5rem;
  }
  .ai-copilot-proactive-bubble {
    display: none;
  }
  .ai-copilot-modal {
    left: 1rem;
    right: 1rem;
    bottom: 5.5rem;
    width: auto;
    max-width: none;
  }
}



