/* ==========================================================================
   Grupo Social ST - Light Theme (Fondo Blanco)
   ========================================================================== */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #7c3aed;
  --accent: #0891b2;
  --success: #059669;
  --warning: #d97706;
  --danger: #dc2626;

  --bg-deep: #f8fafc;
  --bg-dark: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-border: #e2e8f0;
  --bg-border-hover: rgba(37, 99, 235, 0.4);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;

  --gradient-primary: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  --gradient-accent: linear-gradient(135deg, #0891b2 0%, #2563eb 100%);
  --gradient-hero: radial-gradient(ellipse at top, #edf4ff 0%, #f8fafc 70%);

  --shadow-glow: 0 10px 30px rgba(37, 99, 235, 0.12);
  --shadow-card: 0 4px 20px rgba(15, 23, 42, 0.04);
  --shadow-card-hover: 0 20px 40px rgba(37, 99, 235, 0.12), 0 0 0 1px rgba(37, 99, 235, 0.2);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --nav-height: 72px;
  --font-primary: 'Inter', -apple-system, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

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

body {
  font-family: var(--font-primary);
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; }

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

/* ---------- Layout ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

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

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-primary);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s;
  background: rgba(255,255,255,0.15);
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.45);
}

.btn-outline {
  background: white;
  color: var(--text-primary);
  border: 1px solid var(--bg-border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.12);
}

.btn-white {
  background: white;
  color: #0f172a;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.25); }

.btn-outline-white {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-outline-white:hover { border-color: white; transform: translateY(-2px); }

.btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: var(--radius-md); }
.btn-full { width: 100%; justify-content: center; padding: 16px; }

/* =============================================
   NAVBAR
   ============================================= */
/* =============================================
   PUBZI WHITE NAVBAR WITH TRAVELING LIGHT LINE
   ============================================= */
.navbar.pubzi-white-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 74px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.navbar.pubzi-white-navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-logo-img {
  height: 68px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-logo-img {
  height: 100px;
  width: auto;
  object-fit: contain;
  display: block;
}

.header-social-circles {
  display: flex !important;
  align-items: center !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 10px 0 0 !important;
}

.header-social-circles .social-circle + .social-circle {
  margin-left: -10px !important;
}

.social-circle {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  margin: 0;
  flex-shrink: 0 !important;
  border-radius: 50% !important;
  background: #ffffff;
  border: 2px solid #ffffff !important;
  color: #475569;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
  z-index: 1;
}

.social-circle svg {
  display: block;
  width: 18px;
  height: 18px;
}

.social-circle:hover {
  transform: translateY(-4px) scale(1.18) !important;
  z-index: 30 !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.22) !important;
}

/* Individual Brand Colors & Tints */
.social-circle.sc-facebook,
.social-circle[aria-label="Facebook"] {
  color: #1877F2;
  background: #f0f6ff;
  border-color: #dbeafe;
}
.social-circle.sc-facebook:hover,
.social-circle[aria-label="Facebook"]:hover {
  background: #1877F2;
  border-color: #1877F2;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(24, 119, 242, 0.4);
}

.social-circle.sc-instagram,
.social-circle[aria-label="Instagram"] {
  color: #E1306C;
  background: #fff0f5;
  border-color: #fce7f3;
}
.social-circle.sc-instagram:hover,
.social-circle[aria-label="Instagram"]:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: #dc2743;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(220, 39, 67, 0.4);
}

.social-circle.sc-linkedin,
.social-circle[aria-label="LinkedIn"] {
  color: #0A66C2;
  background: #f0f7ff;
  border-color: #dbeafe;
}
.social-circle.sc-linkedin:hover,
.social-circle[aria-label="LinkedIn"]:hover {
  background: #0A66C2;
  border-color: #0A66C2;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(10, 102, 194, 0.4);
}

.social-circle.sc-youtube,
.social-circle[aria-label="YouTube"] {
  color: #FF0000;
  background: #fff0f0;
  border-color: #ffe4e4;
}
.social-circle.sc-youtube:hover,
.social-circle[aria-label="YouTube"]:hover {
  background: #FF0000;
  border-color: #FF0000;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(255, 0, 0, 0.4);
}

.social-circle.sc-tiktok,
.social-circle[aria-label="TikTok"] {
  color: #0F172A;
  background: #f8fafc;
  border-color: #e2e8f0;
}
.social-circle.sc-tiktok:hover,
.social-circle[aria-label="TikTok"]:hover {
  background: #000000;
  border-color: #00f2fe;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(0, 242, 254, 0.4);
}

/* Centered Navigation Links */
.centered-nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
}

.pubzi-white-navbar .nav-link {
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.pubzi-white-navbar .nav-link:hover, 
.pubzi-white-navbar .nav-link.active {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
}

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.nav-icon-btn:hover {
  border-color: #2563eb;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
  transform: scale(1.06);
}

.nav-cta { padding: 8px 18px; font-size: 0.85rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #0f172a;
  border-radius: 2px;
  transition: var(--transition);
}

/* Traveling Light Line ("linea que camina sola") */
.nav-traveling-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(226, 232, 240, 0.7);
  overflow: hidden;
  pointer-events: none;
}

.nav-traveling-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150px;
  width: 140px;
  height: 100%;
  background: linear-gradient(90deg, transparent, #38bdf8 40%, #2563eb 80%, transparent);
  box-shadow: 0 0 12px #38bdf8, 0 0 6px #2563eb;
  animation: travelLine 3.5s linear infinite;
}

@keyframes travelLine {
  0% { left: -150px; }
  100% { left: 100%; }
}

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
  padding-top: var(--nav-height);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.6;
}

/* =============================================
   PUBZI HERO (WHITE THEME WITH PRUEBA.PNG IMAGE)
   ============================================= */
.hero.hero-white-theme {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero); /* Clean White / Light gradient background */
  padding-top: var(--nav-height);
  color: var(--text-primary);
}

/* =============================================
   HERO FLANK FLOATING TECH CARDS (SIDE DECORATIONS)
   ============================================= */
.flank-cards-wrapper {
  position: absolute;
  inset: 0;
  max-width: 1400px;
  margin: 0 auto;
  pointer-events: none;
  z-index: 4;
}

.flank-card {
  position: absolute;
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.6);
  border-radius: 16px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  max-width: 220px;
  opacity: 0.5;
  transform: scale(0.85);
}

.flank-card:hover {
  opacity: 0.95;
  transform: translateY(-6px) scale(0.92) !important;
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.12);
  background: rgba(255, 255, 255, 0.95);
}

/* Positions for 4 Flank Cards */
.flank-left-top {
  top: 22%;
  left: 3%;
  animation: flankFloatLeft 6s ease-in-out infinite alternate;
}

.flank-left-bottom {
  bottom: 24%;
  left: 5%;
  animation: flankFloatLeft 7s ease-in-out 1s infinite alternate-reverse;
}

.flank-right-top {
  top: 24%;
  right: 3%;
  animation: flankFloatRight 6.5s ease-in-out 0.5s infinite alternate;
}

.flank-right-bottom {
  bottom: 22%;
  right: 5%;
  animation: flankFloatRight 7.5s ease-in-out 1.5s infinite alternate-reverse;
}

@keyframes flankFloatLeft {
  0% { transform: translateY(0px) rotate(-1.5deg); }
  100% { transform: translateY(-18px) rotate(1.5deg); }
}

@keyframes flankFloatRight {
  0% { transform: translateY(0px) rotate(1.5deg); }
  100% { transform: translateY(-20px) rotate(-1.5deg); }
}

.flank-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.flank-card-icon.pbi { background: rgba(242, 200, 17, 0.15); color: #d97706; }
.flank-card-icon.papps { background: rgba(116, 39, 116, 0.12); color: #7c3aed; }
.flank-card-icon.powerplatform { background: rgba(124, 58, 237, 0.15); color: #7c3aed; }
.flank-card-icon.office { background: rgba(16, 185, 129, 0.15); color: #059669; }
.flank-card-icon.web { background: rgba(37, 99, 235, 0.12); color: #2563eb; }
.flank-card-icon.mobile { background: rgba(14, 165, 233, 0.15); color: #0284c7; }
.flank-card-icon.excel { background: rgba(16, 185, 129, 0.12); color: #10b981; }

.flank-card-info {
  display: flex;
  flex-direction: column;
}

.flank-card-val {
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.flank-card-title {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 4px;
}

.flank-card-badge {
  font-size: 0.68rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.flank-card-badge.green { color: #10b981; }
.flank-card-badge.blue { color: #2563eb; }
.flank-card-badge.purple { color: #8b5cf6; }

.badge-dot.blue { background: #2563eb; box-shadow: 0 0 6px #2563eb; }
.badge-dot.purple { background: #8b5cf6; box-shadow: 0 0 6px #8b5cf6; }

@media (max-width: 1200px) {
  .flank-cards-wrapper { display: none; }
}

.hero-split-container {
  position: relative;
  z-index: 5;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.hero-left-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.pubzi-hero-title-light {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
}

.title-line-dark {
  color: #0f172a;
}

.title-subline-light {
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  font-weight: 800;
  margin-top: 6px;
}

.hero-actions-light {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

/* Circle Play Button on Light Theme */
.play-btn-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #2563eb;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  flex-shrink: 0;
}

.play-btn-circle:hover {
  transform: scale(1.1);
  background: #1d4ed8;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.5);
}

/* Right Visual: 3D Floating Image Scene without black background or borders */
.hero-right-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.hero-3d-glow-bg {
  position: absolute;
  width: 480px;
  height: 340px;
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.28) 0%, rgba(37, 99, 235, 0.15) 55%, transparent 75%);
  filter: blur(40px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  animation: glowPulse3D 4s ease-in-out infinite alternate;
}

@keyframes glowPulse3D {
  0% { transform: scale(0.92); opacity: 0.7; }
  100% { transform: scale(1.1); opacity: 1; }
}

.hero-3d-floating-wrapper {
  position: relative;
  z-index: 3;
  transform-style: preserve-3d;
  animation: floatSceneAuto 6s ease-in-out infinite alternate;
}

@keyframes floatSceneAuto {
  0% {
    transform: translateY(0px) rotateX(6deg) rotateY(-8deg) scale(1);
  }
  50% {
    transform: translateY(-26px) rotateX(-5deg) rotateY(8deg) scale(1.04);
  }
  100% {
    transform: translateY(-10px) rotateX(4deg) rotateY(-4deg) scale(1.02);
  }
}

.hero-3d-img {
  width: 100%;
  max-width: 620px;
  height: auto;
  display: block;
  object-fit: contain;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  background: transparent !important;
  filter: drop-shadow(0 20px 30px rgba(15, 23, 42, 0.15));
}

/* 3D Pop-out Floating Glass Cards (Layered in 3D Space) */
.glass-float-card {
  position: absolute;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(37, 99, 235, 0.1);
  transform: translateZ(40px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-float-card.float-top-right {
  top: -15px;
  right: -15px;
  animation: cardFloat1 5s ease-in-out infinite alternate;
}

.glass-float-card.float-bottom-left {
  bottom: -15px;
  left: -15px;
  animation: cardFloat2 6s ease-in-out infinite alternate-reverse;
}

@keyframes cardFloat1 {
  0% { transform: translateZ(45px) translateY(0); }
  100% { transform: translateZ(45px) translateY(-12px); }
}

@keyframes cardFloat2 {
  0% { transform: translateZ(45px) translateY(0); }
  100% { transform: translateZ(45px) translateY(10px); }
}

.gfc-icon {
  font-size: 1.4rem;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gfc-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.gfc-sub {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 500;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 28px;
  animation: fadeInDown 0.6s ease both;
}

.badge-dot {
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.4); }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text-primary);
  animation: fadeInDown 0.6s 0.1s ease both;
  letter-spacing: -0.02em;
}

.typed-wrapper {
  display: block;
  min-height: 1.2em;
}

.cursor {
  display: inline-block;
  width: 3px;
  animation: blink 0.8s step-end infinite;
  color: var(--primary);
  -webkit-text-fill-color: var(--primary);
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero-desc {
  max-width: 640px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  animation: fadeInDown 0.6s 0.2s ease both;
}
.hero-desc strong { color: var(--text-primary); }

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
  animation: fadeInDown 0.6s 0.3s ease both;
}

.hero-stats {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  padding: 24px 36px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  animation: fadeInDown 0.6s 0.4s ease both;
}

.stat-item {
  text-align: center;
  padding: 0 28px;
}

.stat-value-box {
  display: flex;
  align-items: baseline;
  justify-content: center;
  white-space: nowrap;
  gap: 2px;
}

.stat-num {
  display: inline-block;
  font-size: 2.2rem;
  font-weight: 800;
  font-family: var(--font-display);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-suffix {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--bg-border);
  flex-shrink: 0;
}

/* Bottom Laser Traveling Line for Hero ("abajo tambien hay una linea") */
.hero-traveling-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(226, 232, 240, 0.8);
  overflow: hidden;
  pointer-events: none;
}

.hero-traveling-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150px;
  width: 140px;
  height: 100%;
  background: linear-gradient(90deg, transparent, #38bdf8 40%, #2563eb 80%, transparent);
  box-shadow: 0 0 12px #38bdf8, 0 0 6px #2563eb;
  animation: travelLineHero 3.5s linear infinite;
}

@keyframes travelLineHero {
  0% { left: -150px; }
  100% { left: 100%; }
}

.hero-stats {
  padding: 28px 36px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  animation: fadeInDown 0.6s 0.4s ease both;
  display: inline-flex;
}

.stat-item {
  text-align: center;
  padding: 0 32px;
}

.stat-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  font-family: var(--font-display);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-suffix {
  font-size: 1.4rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--bg-border);
  flex-shrink: 0;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: fadeIn 1s 1s ease both;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  animation: scrollPulse 1.5s ease-in-out infinite;
}
@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =============================================
   LOGOS BAND (DOUBLE-ROW INFINITE SHOWCASE MARQUEE)
   ============================================= */
.logos-band {
  padding: 70px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff; /* Clean White Background */
  position: relative;
  overflow: hidden;
  color: #0f172a;
}

.section-header-sm {
  text-align: center;
  margin-bottom: 44px;
}

.logos-subtitle {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  margin-top: 8px;
  letter-spacing: -0.01em;
}

.logos-track {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  margin-bottom: 24px;
}

.track-right {
  margin-bottom: 0;
}

.logos-slide {
  display: flex;
  align-items: center;
  gap: 24px;
  animation: marqueeLeft 22s linear infinite;
  flex-shrink: 0;
  padding-right: 24px;
}

.logos-slide-reverse {
  display: flex;
  align-items: center;
  gap: 24px;
  animation: marqueeRight 22s linear infinite;
  flex-shrink: 0;
  padding-right: 24px;
}

.logos-track:hover .logos-slide,
.logos-track:hover .logos-slide-reverse {
  animation-play-state: paused;
}

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

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

/* Squircle Logo Badges (Light Theme) */
.tech-card {
  width: 145px;
  height: 110px;
  border-radius: 20px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  flex-shrink: 0;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.tech-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.tech-card:hover {
  transform: translateY(-8px) scale(1.08);
  border-color: #2563eb;
  background: rgba(37, 99, 235, 0.04);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.2);
}

.tech-card:hover::before {
  opacity: 1;
}

.tech-icon-box {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.tech-icon-box img {
  max-width: 42px;
  max-height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.1));
  transition: transform 0.35s ease;
}

.tech-card:hover .tech-icon-box img {
  transform: scale(1.18) rotate(4deg);
}

.tech-card span {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.03em;
  position: relative;
  z-index: 2;
}

/* =============================================
   CUSTOM CURSOR & MOUSE TRAIL LIME SPOTLIGHT
   ============================================= */
.cursor-dot {
  width: 8px;
  height: 8px;
  background: #a3e635; /* Neon Lime Green */
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background-color 0.2s;
  box-shadow: 0 0 12px #a3e635, 0 0 24px #a3e635;
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border: 2px solid #a3e635;
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, border-color 0.2s;
  box-shadow: 0 0 18px rgba(163, 230, 53, 0.6);
}

.mouse-glow {
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(163, 230, 53, 0.28) 0%, rgba(132, 204, 22, 0.1) 45%, transparent 70%);
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9990;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  filter: blur(12px);
  transition: opacity 0.3s;
}

/* Bokeh Particle Bubble Trail (Neon Lime Green matching user screenshot 2) */
.bokeh-bubble {
  position: fixed;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(163, 230, 53, 0.85) 0%, rgba(132, 204, 22, 0.4) 60%, transparent 100%);
  pointer-events: none;
  z-index: 9995;
  box-shadow: 0 0 20px rgba(163, 230, 53, 0.7);
  animation: fadeOutBokeh 0.75s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes fadeOutBokeh {
  0% {
    opacity: 0.95;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.2);
  }
}

/* =============================================
   PUBZI STYLE SERVICES SECTION (LIGHT THEME)
   ============================================= */
.services-pubzi-section {
  background: #ffffff;
  padding: 100px 0;
  position: relative;
}

.pubzi-section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}

.pubzi-header-badge {
  font-family: 'Orbitron', 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  color: #2563eb;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.pubzi-header-badge::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #2563eb);
}

.pubzi-header-badge::after {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, #2563eb, transparent);
}

.pubzi-section-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
  color: #0f172a;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.pubzi-section-desc {
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.7;
}

/* Pubzi Card Grid (3 Columns x 2 Rows) */
.pubzi-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pubzi-service-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  min-height: 210px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  cursor: pointer;
}

/* Corner Reticle Brackets */
.pubzi-service-card::before {
  content: '';
  position: absolute;
  top: 14px; left: 14px;
  width: 10px; height: 10px;
  border-top: 2px solid #cbd5e1;
  border-left: 2px solid #cbd5e1;
  transition: all 0.3s ease;
}

.pubzi-service-card::after {
  content: '';
  position: absolute;
  bottom: 14px; right: 14px;
  width: 10px; height: 10px;
  border-bottom: 2px solid #cbd5e1;
  border-right: 2px solid #cbd5e1;
  transition: all 0.3s ease;
}

.pubzi-service-card:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: #2563eb;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.15);
}

.pubzi-service-card:hover::before,
.pubzi-service-card:hover::after {
  border-color: #2563eb;
  width: 16px;
  height: 16px;
}

/* Icon Box */
.pubzi-card-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: #0f172a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.pubzi-card-icon-box.icon-powerplatform {
  background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}

.pubzi-card-icon-box.icon-web {
  background: linear-gradient(135deg, #2563eb 0%, #0284c7 100%);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.pubzi-card-icon-box.icon-mobile {
  background: linear-gradient(135deg, #06b6d4 0%, #0d9488 100%);
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
}

.pubzi-card-icon-box.icon-office {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.pubzi-card-icon-box.icon-licencias {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.pubzi-card-icon-box.icon-hosting {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.3);
}

.pubzi-service-card:hover .pubzi-card-icon-box {
  transform: scale(1.15) rotate(6deg);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.25);
}

.pubzi-card-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 6px;
  white-space: nowrap;
}

.pubzi-card-subtext {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
}

@media (max-width: 1280px) {
  .pubzi-card-title {
    font-size: 0.9rem;
    white-space: normal;
  }
}

.service-features {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-features li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}
.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
}

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

/* =============================================
   ABOUT
   ============================================= */
.about-section {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #f8fafc 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual { position: relative; }

.about-card-stack {
  position: relative;
  height: 480px;
}

.about-main-visual {
  position: absolute;
  inset: 40px;
  background: #ffffff;
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.code-preview {
  width: 90%;
  background: #0f172a;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 20px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.2);
}

.code-dots { display: flex; gap: 6px; margin-bottom: 16px; }
.code-dots span { width: 10px; height: 10px; border-radius: 50%; }
.code-dots span:nth-child(1) { background: #ff5f57; }
.code-dots span:nth-child(2) { background: #febc2e; }
.code-dots span:nth-child(3) { background: #28c840; }

.code-lines { display: flex; flex-direction: column; gap: 4px; }

.code-line {
  font-family: 'Courier New', monospace;
  font-size: 0.78rem;
  line-height: 1.6;
  white-space: nowrap;
}
.code-line.indent { padding-left: 16px; }
.code-line.indent2 { padding-left: 32px; }
.code-line.indent3 { padding-left: 48px; }

.cl-key { color: #c792ea; }
.cl-fn { color: #82aaff; }
.cl-param { color: #f78c6c; }
.cl-paren { color: #89ddff; }
.cl-var { color: #eeffff; }
.cl-brace { color: #c3e88d; }
.cl-string { color: #c3e88d; }

.about-floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
  z-index: 10;
  white-space: nowrap;
}

.about-floating-card div { display: flex; flex-direction: column; }
.about-floating-card strong { font-size: 1.1rem; font-weight: 800; color: var(--text-primary); }
.about-floating-card span { font-size: 0.72rem; color: var(--text-muted); }

.card-1 { top: 0; right: -20px; animation: floatCard 4s ease-in-out infinite; }
.card-2 { bottom: 80px; left: -20px; animation: floatCard 5s 1s ease-in-out infinite; }
.card-3 { bottom: 0; right: 20px; animation: floatCard 4.5s 0.5s ease-in-out infinite; }

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

.about-content { }

.about-text {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1rem;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0 36px;
}

.pillar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.pillar:hover {
  border-color: var(--bg-border-hover);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1);
  transform: translateX(4px);
}

.pillar-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }

.pillar strong { display: block; color: var(--text-primary); font-size: 0.95rem; margin-bottom: 4px; }
.pillar p { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.6; }

/* =============================================
   PORTFOLIO
   ============================================= */
.portfolio-filters {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 9px 22px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: #ffffff;
  border: 1px solid var(--bg-border);
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
  transition: var(--transition);
  font-family: var(--font-primary);
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ---- Portfolio Pagination ---- */
.portfolio-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  background: #ffffff;
  border: 1px solid var(--bg-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--font-primary);
}

.page-btn:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.15);
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.page-numbers {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: #ffffff;
  border: 1px solid var(--bg-border);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--font-primary);
}

.page-num:hover:not(.active) {
  border-color: var(--primary);
  color: var(--primary);
}

.page-num.active {
  background: var(--gradient-primary);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.portfolio-item {
  background: #ffffff;
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: var(--transition);
}
.portfolio-item:hover {
  border-color: var(--bg-border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.portfolio-item.hidden {
  display: none;
}

/* Uniform previews; full captures remain available in the project dialog. */
.portfolio-item[data-fullimg] { cursor: pointer; }
.portfolio-item:focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; }
.portfolio-card-preview {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-deep);
}
.portfolio-card-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.portfolio-hover-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  background: linear-gradient(transparent 55%, rgba(15, 23, 42, .55));
}
.btn-view-preview {
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--text-primary);
  font-size: .85rem;
  font-weight: 600;
  box-shadow: var(--shadow-card);
}
.portfolio-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100000;
  padding: 24px;
  background: rgba(15, 23, 42, .78);
  align-items: center;
  justify-content: center;
}
.portfolio-modal.active { display: flex; }
.portfolio-modal-content {
  width: min(1100px, 100%);
  max-height: calc(100dvh - 48px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .3);
}
.portfolio-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--bg-border);
}
.portfolio-modal-header h3 { font-size: 1.1rem; }
.portfolio-modal-close {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--bg-deep);
  color: var(--text-primary);
  font-size: 2rem;
  cursor: pointer;
}
.portfolio-modal-close:focus-visible { outline: 3px solid var(--primary); }
.portfolio-modal-body { overflow-y: auto; overscroll-behavior: contain; }
.portfolio-modal-img-wrap { padding: 16px; background: var(--bg-deep); }
.portfolio-modal-img-wrap img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 62dvh;
  object-fit: contain;
}
.portfolio-modal-details { padding: 20px 24px; color: var(--text-secondary); line-height: 1.6; }
@media (max-width: 600px) {
  .portfolio-modal { padding: 12px; }
  .portfolio-modal-content { max-height: calc(100dvh - 24px); }
  .portfolio-modal-header, .portfolio-modal-details { padding: 14px 16px; }
  .portfolio-modal-img-wrap { padding: 8px; }
}

.portfolio-img {
  height: 200px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Portfolio BGs */
.sistemas-bg { background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%); }
.powerbi-bg { background: linear-gradient(135deg, #2e1065 0%, #3b0764 50%, #581c87 100%); }
.web-bg { background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%); }
.apps-bg { background: linear-gradient(135deg, #4c1d95 0%, #581c87 50%, #6b21a8 100%); }
.erp-bg { background: linear-gradient(135deg, #064e3b 0%, #047857 50%, #059669 100%); }
.telemetry-bg { background: linear-gradient(135deg, #172554 0%, #1e3a8a 50%, #1d4ed8 100%); }

.portfolio-overlay {
  position: absolute;
  inset: 0;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.portfolio-tag {
  align-self: flex-start;
  padding: 4px 12px;
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.portfolio-screen {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

/* Mini UI Previews */
.mini-table { width: 100%; max-width: 200px; font-size: 0.65rem; }
.mini-row { display: flex; justify-content: space-between; padding: 4px 8px; border-radius: 4px; color: rgba(255,255,255,0.85); }
.mini-row.header { color: rgba(255,255,255,0.5); font-weight: 600; border-bottom: 1px solid rgba(255,255,255,0.15); }
.mini-row .green { color: #4ade80; }
.mini-row .yellow { color: #fbbf24; }

.mini-charts { display: flex; gap: 12px; align-items: flex-end; }
.mini-bar-chart { display: flex; gap: 4px; align-items: flex-end; height: 60px; }
.mini-bar { width: 12px; border-radius: 3px 3px 0 0; background: linear-gradient(to top, #60a5fa, #c084fc); }
.mini-kpis { display: flex; flex-direction: column; gap: 8px; }
.mini-kpi { text-align: center; }
.mini-kpi span { display: block; font-size: 0.58rem; color: rgba(255,255,255,0.5); }
.mini-kpi strong { font-size: 0.85rem; color: white; }

.mini-web { width: 180px; }
.mini-nav { height: 12px; background: rgba(255,255,255,0.15); border-radius: 3px; margin-bottom: 8px; }
.mini-hero-block { height: 40px; background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1)); border-radius: 4px; margin-bottom: 8px; }
.mini-cards { display: flex; gap: 4px; }
.mini-card { flex: 1; height: 30px; background: rgba(255,255,255,0.08); border-radius: 4px; border: 1px solid rgba(255,255,255,0.12); }

.mini-app { width: 120px; }
.mini-app-header { height: 20px; background: linear-gradient(90deg, rgba(255,255,255,0.3), rgba(255,255,255,0.15)); border-radius: 4px 4px 0 0; margin-bottom: 8px; }
.mini-form { display: flex; flex-direction: column; gap: 5px; }
.mini-field { height: 14px; background: rgba(255,255,255,0.1); border-radius: 3px; border: 1px solid rgba(255,255,255,0.15); }
.mini-btn-sm { height: 18px; background: linear-gradient(90deg, #60a5fa, #a78bfa); border-radius: 3px; margin-top: 4px; }

.mini-erp { display: flex; width: 180px; height: 80px; gap: 6px; }
.mini-sidebar { width: 40px; background: rgba(255,255,255,0.08); border-radius: 4px; padding: 6px 4px; display: flex; flex-direction: column; gap: 4px; }
.mini-menu-item { height: 8px; background: rgba(255,255,255,0.15); border-radius: 2px; }
.mini-menu-item.active { background: rgba(255,255,255,0.6); }
.mini-content { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.mini-stats-row { display: flex; gap: 4px; }
.mini-stat-box { flex: 1; height: 22px; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25); border-radius: 3px; }
.mini-list-preview { flex: 1; background: rgba(255,255,255,0.05); border-radius: 3px; border: 1px solid rgba(255,255,255,0.1); }

.mini-gauge-wrap { display: flex; flex-direction: column; gap: 8px; align-items: center; width: 140px; }
.mini-gauge { width: 70px; height: 35px; border-radius: 70px 70px 0 0; border: 4px solid; border-bottom: none;
  border-image: linear-gradient(90deg, #ef4444, #f59e0b, #60a5fa) 1;
  position: relative; overflow: hidden;
  background: rgba(255,255,255,0.05); }
.gauge-needle {
  position: absolute; bottom: 0; left: 50%;
  width: 2px; height: 28px;
  background: white;
  transform-origin: bottom center;
  transform: translateX(-50%) rotate(-20deg);
  border-radius: 2px;
}
.mini-line-chart { width: 140px; height: 40px; }
.mini-line-chart svg { width: 100%; height: 100%; }

.portfolio-info { padding: 20px 24px 24px; }
.portfolio-info h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--text-primary); }
.portfolio-info p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 14px; }

.portfolio-tags { display: none !important; }
.portfolio-tags span {
  padding: 3px 10px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary);
}

/* =============================================
   PROCESS
   ============================================= */
.process-section {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #f8fafc 100%);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  position: relative;
}

.process-step {
  padding: 40px 32px;
  position: relative;
  background: #ffffff;
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  margin: 12px;
  transition: var(--transition);
  overflow: hidden;
}

.process-step::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37,99,235,0.03) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}
.process-step:hover::before { opacity: 1; }
.process-step:hover { border-color: var(--bg-border-hover); transform: translateY(-4px); box-shadow: 0 12px 30px rgba(37, 99, 235, 0.1); }

.process-step .step-number {
  position: absolute;
  top: 24px; right: 24px;
  font-size: 3.5rem;
  font-weight: 900;
  font-family: var(--font-display);
  color: rgba(37, 99, 235, 0.08);
  line-height: 1;
  user-select: none;
}

.step-icon { font-size: 2.2rem; margin-bottom: 16px; }

.process-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.process-step p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-section {
  background: #f8fafc;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 32px;
  transition: var(--transition);
}
.testimonial-card:hover {
  border-color: var(--bg-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.testimonial-card.featured-testimonial {
  background: linear-gradient(135deg, rgba(37,99,235,0.03) 0%, rgba(124,58,237,0.03) 100%);
  border-color: rgba(37, 99, 235, 0.25);
  transform: scale(1.03);
}

.testimonial-stars {
  color: var(--warning);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

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

.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: white;
  flex-shrink: 0;
}

.testimonial-author strong { display: block; font-size: 0.9rem; color: var(--text-primary); }
.testimonial-author span { font-size: 0.78rem; color: var(--text-muted); }

/* =============================================
   CTA BAND
   ============================================= */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1e40af 0%, #4c1d95 100%);
  padding: 80px 0;
  color: white;
}

.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.orb-cta-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  top: -100px; left: -100px;
}
.orb-cta-2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  bottom: -100px; right: -100px;
}

.cta-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
}
.cta-text p { color: rgba(255,255,255,0.8); font-size: 1rem; }

.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* =============================================
   CONTACT
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-items { display: flex; flex-direction: column; gap: 16px; margin: 32px 0; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #ffffff;
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.contact-item:hover { border-color: var(--bg-border-hover); transform: translateY(-2px); }

.contact-icon {
  width: 40px; height: 40px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-item strong { display: block; font-size: 0.78rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }
.contact-item span { font-size: 0.9rem; color: var(--text-primary); }

.social-links { display: flex; gap: 10px; margin-top: 8px; }

.social-btn {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
  transition: var(--transition);
}
.social-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(37, 99, 235, 0.06);
  transform: translateY(-2px);
}

/* Contact Form */
.contact-form-wrap {
  background: #ffffff;
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  padding: 40px;
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font-primary);
  font-size: 0.92rem;
  color: var(--text-primary);
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.form-group select option { background: #ffffff; color: var(--text-primary); }

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

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

/* =============================================
   FOOTER
   ============================================= */
/* =============================================
   PUBZI DYNAMIC HIGH-TECH FOOTER
   ============================================= */
.footer {
  background: #090e1a;
  color: #f8fafc;
  padding: 0 0;
  position: relative;
  overflow: hidden;
}

/* Top Laser Line & Radar Orb (Matching Screenshot 4) */
.footer-laser-line {
  position: relative;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  overflow: visible;
}

.footer-radar-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #38bdf8;
  border: 2px solid #090e1a;
  box-shadow: 0 0 14px #38bdf8;
  animation: pulseRadar 2s infinite;
  z-index: 5;
}

@keyframes pulseRadar {
  0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(56, 189, 248, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

.footer-traveling-light {
  position: absolute;
  top: 0;
  left: -20%;
  width: 25%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #38bdf8, #2563eb, transparent);
  box-shadow: 0 0 12px #38bdf8;
  animation: footerTravel 5s linear infinite;
}

@keyframes footerTravel {
  0% { left: -25%; }
  100% { left: 105%; }
}

.footer-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orb-footer-1 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
  top: -150px;
  left: -100px;
}

.orb-footer-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, transparent 70%);
  bottom: -100px;
  right: -50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-top: 80px;
  margin-bottom: 56px;
  position: relative;
  z-index: 2;
}


.footer-tagline {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.7;
  margin: 18px 0 24px;
  max-width: 310px;
}

.footer-social-circles {
  display: flex;
  align-items: center;
}

.footer-social-circles .social-circle + .social-circle {
  margin-left: -10px !important;
}

.footer-social-circles .social-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1e293b;
  border: 2px solid #0f172a !important;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.footer-social-circles .social-circle:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb !important;
  transform: translateY(-4px) scale(1.18) !important;
  z-index: 30 !important;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.5) !important;
}

.footer-col h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 22px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
}

.footer-col a {
  font-size: 0.9rem;
  color: #94a3b8;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.footer-col a::before {
  content: '›';
  font-size: 1.1rem;
  font-weight: 800;
  color: #38bdf8;
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.25s ease;
}

.footer-col a:hover {
  color: #ffffff;
  transform: translateX(6px);
}

.footer-col a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* Newsletter & Contact Col */
.subscribe-text {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-subscribe-form {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.footer-subscribe-form input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  padding: 10px 16px;
  font-size: 0.82rem;
  color: #ffffff;
  outline: none;
  transition: var(--transition);
}

.footer-subscribe-form input:focus {
  border-color: #38bdf8;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.2);
}

.footer-subscribe-form button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #2563eb;
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.footer-subscribe-form button:hover {
  background: #38bdf8;
  transform: scale(1.1);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.84rem;
  color: #94a3b8;
}

/* Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: #64748b;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: #94a3b8;
  transition: var(--transition);
  text-decoration: none;
}

.footer-bottom-links a:hover {
  color: #38bdf8;
}

.dot-sep {
  color: #475569;
  font-size: 0.8rem;
}

/* Floating Scroll to Top Square Button (Matching Bottom Right of Screenshot 4) */
.scroll-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: #2563eb;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9990;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: #38bdf8;
  color: #0f172a;
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.5);
}

/* =============================================
   TOAST
   ============================================= */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: #ffffff;
  border: 1px solid rgba(5,150,105,0.4);
  border-radius: var(--radius-md);
  color: var(--success);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(15,23,42,0.12);
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition-slow);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* =============================================
   SERVICE DETAIL MODAL
   ============================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 28px;
  max-width: 580px;
  width: 100%;
  padding: 36px 32px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  transform: translateY(30px) scale(0.95);
  transition: transform 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  background: #ef4444;
  color: white;
  border-color: #ef4444;
  transform: rotate(90deg);
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.modal-icon-wrap {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #2563eb;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.modal-badge {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  color: #2563eb;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.modal-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-top: 2px;
}

.modal-desc {
  font-size: 0.96rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 24px;
}

.modal-section-heading {
  font-size: 0.85rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.modal-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-features-list li {
  font-size: 0.88rem;
  color: #334155;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.modal-features-list li::before {
  content: '✓';
  color: #2563eb;
  font-weight: 800;
  flex-shrink: 0;
}

.modal-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.modal-tech-tag {
  padding: 5px 12px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #2563eb;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid #f1f5f9;
  padding-top: 20px;
}

.modal-cta-btn {
  padding: 12px 24px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 800;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .hero-top-grid { grid-template-columns: 1fr; gap: 24px; }
  .pubzi-stats-row { gap: 32px; }
  .centered-nav-links { display: none; }
  .social-circles { display: none; }
  .hamburger { display: flex; }
  .centered-nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 74px;
    left: 0; right: 0;
    transform: none;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--bg-border);
    padding: 24px;
    gap: 4px;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
  .pubzi-services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-card-stack { height: 360px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-timeline { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; }
  .testimonial-card.featured-testimonial { transform: scale(1); }
}

@media (max-width: 768px) {
  .pubzi-services-grid { grid-template-columns: 1fr; }
  .pubzi-title { font-size: 2.4rem; }
  .pubzi-stats-row { flex-direction: column; gap: 20px; }
  .pubzi-stat-num { font-size: 2.2rem; }
  .pubzi-hero-actions { width: 100%; }
  .pubzi-cta-btn { width: 100%; justify-content: center; }

  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--bg-border);
    padding: 24px;
    gap: 4px;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
  .nav-link { padding: 12px 16px; font-size: 1rem; }
  .nav-cta { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .process-timeline { grid-template-columns: 1fr; }

  .cta-content { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .section { padding: 60px 0; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; justify-content: center; }
  .about-card-stack { height: 300px; }
  .card-1, .card-2, .card-3 { display: none; }
}

/* =============================================
   CUSTOM CURSOR & CONTINUOUS RIBBON BOKEH TRAIL
   ============================================= */
.cursor-dot {
  width: 5px;
  height: 5px;
  background: #38bdf8;
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 6px #38bdf8;
  transition: width 0.2s, height 0.2s;
}

.cursor-ring {
  width: 20px;
  height: 20px;
  border: 1.5px solid #38bdf8;
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, border-color 0.2s;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.35);
}

/* Continuous glowing trail circles matching screenshot */
.bokeh-bubble {
  position: fixed;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.45) 0%, rgba(56, 189, 248, 0.15) 60%, transparent 100%);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.35);
  pointer-events: none;
  z-index: 9995;
  transform: translate(-50%, -50%);
  animation: fadeTrail 0.65s cubic-bezier(0.1, 0.7, 0.1, 1) forwards;
}

@keyframes fadeTrail {
  0% {
    opacity: 0.85;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.2);
  }
}

/* =============================================
   PRELOADER (PUBZI LIGHT THEME)
   ============================================= */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.7, 0, 0.3, 1), transform 0.7s cubic-bezier(0.7, 0, 0.3, 1);
}

.preloader.loaded {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  max-width: 340px;
  width: 100%;
  padding: 24px;
}

.preloader-logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-logo {
  height: 54px;
  width: auto;
  position: relative;
  z-index: 2;
  animation: pulsePreloaderLogo 2s ease-in-out infinite;
}

.preloader-glow {
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.4) 0%, rgba(37, 99, 235, 0.15) 60%, transparent 100%);
  filter: blur(16px);
  z-index: 1;
}

@keyframes pulsePreloaderLogo {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.preloader-progress-wrap {
  width: 100%;
  height: 4px;
  background: #f1f5f9;
  border-radius: 100px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.06);
}

.preloader-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #38bdf8, #2563eb);
  border-radius: 100px;
  box-shadow: 0 0 12px #38bdf8;
  transition: width 0.12s ease-out;
}

.preloader-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.05em;
}

.preloader-counter {
  font-weight: 800;
  color: #2563eb;
}

/* =============================================
   CUSTOM CURSOR, MOUSE SPOTLIGHT & BOKEH TRAIL (LIGHT THEME)
   ============================================= */
.cursor-dot {
  width: 8px;
  height: 8px;
  background: #2563eb;
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background-color 0.2s;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.8);
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border: 2px solid #2563eb;
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, border-color 0.2s;
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.35);
}

.mouse-glow {
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.16) 0%, rgba(56, 189, 248, 0.06) 45%, transparent 70%);
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9990;
  transform: translate(-50%, -50%);
  mix-blend-mode: multiply;
  filter: blur(10px);
  transition: opacity 0.3s;
}

/* Bokeh Particle Bubble Trail (Light Mode Blue Glow) */
.bokeh-bubble {
  position: fixed;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.75) 0%, rgba(37, 99, 235, 0.35) 60%, transparent 100%);
  pointer-events: none;
  z-index: 9995;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.5);
  animation: fadeOutBokeh 0.75s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes fadeOutBokeh {
  0% {
    opacity: 0.85;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.25);
  }
}

/* Hide custom cursor, ring, mouse glow, and ribbon bubbles on touch/mobile devices */
@media (hover: none), (pointer: coarse), (max-width: 991px) {
  .cursor-dot,
  .cursor-ring,
  .mouse-glow,
  .bokeh-bubble {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

/* =============================================
   FLOATING WHATSAPP WIDGET & PROMO CLOUD BUBBLE
   ============================================= */
.whatsapp-widget-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.whatsapp-cloud-bubble {
  position: relative;
  background: #ffffff;
  border: 1.5px solid #25d366;
  border-radius: 18px;
  padding: 12px 18px;
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.28), 0 4px 15px rgba(15, 23, 42, 0.08);
  max-width: 240px;
  animation: cloudBounce 4s ease-in-out infinite alternate;
  transform-origin: bottom right;
}

@keyframes cloudBounce {
  0% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-8px) scale(1.02); }
  100% { transform: translateY(-3px) scale(1.01); }
}

.cloud-close-btn {
  position: absolute;
  top: 4px;
  right: 8px;
  font-size: 1.2rem;
  color: #94a3b8;
  cursor: pointer;
  line-height: 1;
  font-weight: 700;
  transition: color 0.2s;
}

.cloud-close-btn:hover {
  color: #0f172a;
}

.cloud-badge {
  display: inline-block;
  background: rgba(37, 211, 102, 0.12);
  color: #16a34a;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 6px;
}

.cloud-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.35;
}

.cloud-arrow {
  position: absolute;
  bottom: -9px;
  right: 22px;
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 9px solid #25d366;
}

.whatsapp-float-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  background: #25d366;
  color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
}

.whatsapp-float-btn:hover {
  transform: scale(1.12);
  background: #20ba5a;
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.65);
  color: #ffffff;
}

.whatsapp-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

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

@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* =============================================
   GLASSMORPHISM SERVICE DETAIL MODAL UPGRADE
   ============================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  padding: 20px;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 650px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(37, 99, 235, 0.12);
  overflow: hidden;
  transform: scale(0.92) translateY(24px);
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-overlay.open .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  line-height: 1;
}

.modal-close:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  transform: rotate(90deg);
}

.modal-banner-header {
  padding: 32px 32px 24px;
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.modal-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: #2563eb;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
  flex-shrink: 0;
}

.modal-icon-wrap svg {
  width: 30px;
  height: 30px;
}

.modal-header-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.modal-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #2563eb;
  text-transform: uppercase;
}

.modal-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
}

.modal-body-content {
  padding: 28px 32px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.modal-desc {
  font-size: 0.98rem;
  color: #475569;
  line-height: 1.65;
}

.modal-section-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
}

.modal-section-heading {
  font-size: 0.85rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-features-list li {
  font-size: 0.9rem;
  color: #334155;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.modal-features-list li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
  font-weight: 900;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.modal-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.modal-tech-tag {
  padding: 6px 14px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #1e293b;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.modal-tech-tag:hover {
  border-color: #2563eb;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.06);
}

.modal-footer {
  padding: 20px 32px 28px;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-wa-modal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: #25d366;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-wa-modal:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
}

/* =============================================
   HIGH TECH SPLIT CONTACT SECTION UPGRADE
   ============================================= */
.contact-section-light {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 90px 0;
  position: relative;
}

.contact-header {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.contact-grid-modern {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: stretch;
}

.contact-info-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 15px 45px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-live-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 100px;
  font-size: 0.78rem;
  color: #059669;
  margin-bottom: 24px;
  align-self: flex-start;
}

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

.contact-info-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.contact-info-desc {
  font-size: 0.95rem;
  color: #64748b;
  margin-bottom: 28px;
  line-height: 1.6;
}

.contact-features-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-feature-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-feature-box:hover {
  transform: translateX(6px);
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.1);
}

.cfb-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cfb-icon.wa { background: rgba(37, 211, 102, 0.12); color: #16a34a; }
.cfb-icon.mail { background: rgba(37, 99, 235, 0.12); color: #2563eb; }
.cfb-icon.location { background: rgba(245, 158, 11, 0.12); color: #d97706; }
.cfb-icon.clock { background: rgba(139, 92, 246, 0.12); color: #7c3aed; }

.cfb-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 2px;
}

.cfb-val {
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f172a;
}

.contact-guarantee-pill {
  padding: 12px 18px;
  background: rgba(37, 99, 235, 0.06);
  border: 1px dashed rgba(37, 99, 235, 0.3);
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #2563eb;
  text-align: center;
}

/* Contact Form Card Right Side */
.contact-form-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.form-header {
  margin-bottom: 28px;
}

.form-header h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.form-header p {
  font-size: 0.9rem;
  color: #64748b;
}

.contact-form-modern {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group-modern {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group-modern label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e293b;
}

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

.form-group-modern input,
.form-group-modern select,
.form-group-modern textarea {
  width: 100%;
  padding: 13px 16px;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #0f172a;
  transition: all 0.25s ease;
  font-family: inherit;
}

.form-group-modern textarea {
  padding: 14px 16px;
  resize: vertical;
}

.form-group-modern input:focus,
.form-group-modern select:focus,
.form-group-modern textarea:focus {
  background: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
  outline: none;
}

.submit-btn-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
}

.submit-btn-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.5);
}

.form-privacy-note {
  font-size: 0.75rem;
  color: #94a3b8;
  text-align: center;
  margin-top: 4px;
}

/* =============================================
   ALQUILER DE HOSTING & DOMINIOS SECTION
   ============================================= */
.hosting-section-light {
  background: #ffffff;
  padding: 90px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.domain-search-box {
  max-width: 820px;
  margin: 0 auto 56px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.05);
}

.domain-search-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 16px;
  padding: 8px 8px 8px 18px;
  transition: border-color 0.25s ease;
}

.domain-search-inner:focus-within {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.domain-search-inner input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.95rem;
  font-weight: 500;
  color: #0f172a;
  outline: none;
}

.btn-domain-search {
  padding: 12px 24px;
  font-size: 0.85rem;
  font-weight: 800;
  border-radius: 12px;
  white-space: nowrap;
}

.domain-tld-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.tld-pill {
  padding: 6px 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 100px;
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 600;
}

.tld-pill strong {
  color: #2563eb;
  margin-left: 4px;
}

.tld-pill.featured {
  border-color: #2563eb;
  background: rgba(37, 99, 235, 0.06);
}

.tld-pill.featured strong {
  color: #1d4ed8;
}

/* Hosting Pricing Grid */
.hosting-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.hosting-card {
  position: relative;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 24px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hosting-card:hover {
  transform: translateY(-8px);
  border-color: #2563eb;
  box-shadow: 0 20px 45px rgba(37, 99, 235, 0.15);
}

.hosting-card.featured {
  border: 2px solid #2563eb;
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.18);
  background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
  transform: scale(1.03);
}

.hosting-card.featured:hover {
  transform: scale(1.05) translateY(-6px);
}

.hosting-pop-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #2563eb;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 900;
  padding: 4px 16px;
  border-radius: 100px;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
}

.hosting-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #2563eb;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.hosting-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
}

.hosting-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
  margin-bottom: 12px;
}

.hosting-price span {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
}

.hosting-desc {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 24px;
}

.hosting-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hosting-features li {
  font-size: 0.88rem;
  color: #334155;
}

.hosting-features li strong {
  color: #0f172a;
}

/* =============================================
   SOLUCIONES PARA LA COMUNIDAD (SOCIAL TECH)
   ============================================= */
.comunidad-section-light {
  background: #f8fafc;
  padding: 90px 0;
}

.green-badge {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border-color: rgba(16, 185, 129, 0.3);
}

.comunidad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.comunidad-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 24px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.comunidad-card:hover {
  transform: translateY(-8px);
  border-color: #10b981;
  box-shadow: 0 20px 45px rgba(16, 185, 129, 0.15);
}

.comunidad-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.comunidad-icon-box.green { background: rgba(16, 185, 129, 0.12); color: #10b981; }
.comunidad-icon-box.blue { background: rgba(37, 99, 235, 0.12); color: #2563eb; }
.comunidad-icon-box.purple { background: rgba(139, 92, 246, 0.12); color: #8b5cf6; }

.comunidad-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
}

.comunidad-card p {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 24px;
}

.comunidad-footer-tag {
  font-size: 0.78rem;
  font-weight: 800;
  color: #059669;
  padding: 6px 14px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 100px;
  align-self: flex-start;
}

.comunidad-footer-tag.blue-tag {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
}

.comunidad-footer-tag.purple-tag {
  color: #7c3aed;
  background: rgba(139, 92, 246, 0.1);
}

@media (max-width: 992px) {
  .hosting-grid,
  .comunidad-grid {
    grid-template-columns: 1fr;
  }
  .hosting-card.featured {
    transform: none;
  }
}

/* =============================================
   NAV FLOATING PILL BUTTONS (DISTINCT STYLING)
   ============================================= */
.nav-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-family: inherit;
  white-space: nowrap;
}

.hosting-pill-btn {
  background: rgba(37, 99, 235, 0.08);
  border: 1.5px solid rgba(37, 99, 235, 0.3);
  color: #2563eb;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.hosting-pill-btn:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}

.comunidad-pill-btn {
  background: rgba(16, 185, 129, 0.08);
  border: 1.5px solid rgba(16, 185, 129, 0.3);
  color: #059669;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
}

.comunidad-pill-btn:hover {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
}

/* =============================================
   DARK CYBER MODALS (MATCHES FOTO 2 & FOTO 3)
   ============================================= */
.modal-dark-overlay {
  background: rgba(5, 8, 16, 0.85);
  backdrop-filter: blur(20px);
}

.modal-dark-card {
  background: #090d16;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
  padding: 0;
  overflow: hidden;
}

.modal-wide {
  max-width: 1050px;
}

.modal-close-dark {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.modal-close-dark:hover {
  background: #a3e635;
  color: #090d16;
  border-color: #a3e635;
}

.neon-text {
  color: #a3e635;
}

/* =============================================================================
   HOSTING & DOMINIO .COM MODAL (FORMAL CORPORATE WHITE DESIGN)
   ============================================================================= */
.modal-hosting-white {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #e2e8f0;
  box-shadow: 0 25px 65px -12px rgba(15, 23, 42, 0.22);
  border-radius: 20px;
  max-width: 1060px;
  width: 95vw;
  max-height: 92vh !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  display: block !important;
  padding: 0 !important;
}

.modal-hosting-white::-webkit-scrollbar {
  width: 6px;
}
.modal-hosting-white::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.hml-white-layout {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 24px 22px;
}

/* Compact Summarized Top Header */
.hml-white-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.hwh-left {
  max-width: 540px;
}

.hwh-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  font-weight: 800;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.15);
  padding: 2px 8px;
  border-radius: 100px;
  margin-bottom: 4px;
  letter-spacing: 0.05em;
}

.hwh-badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2563eb;
}

.hwh-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 2px;
}

.hwh-title-highlight {
  color: #2563eb;
}

.hwh-subtitle {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.35;
  margin: 0;
}

.hwh-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Rate Badge */
.hwh-rate-badge {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 0.72rem;
  color: #475569;
}

.hwh-rate-badge strong {
  color: #0f172a;
}

/* Currency Switcher */
.hwh-currency-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hwh-ctrl-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
}

.hwh-currency-btn-group {
  display: inline-flex;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 100px;
  padding: 2px;
  gap: 2px;
}

.hwh-curr-btn {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hwh-curr-btn:hover {
  color: #0f172a;
}

.hwh-curr-btn.active {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

/* Modern Animated Toggle Switch (Facturación Mensual / Anual) */
.hwh-toggle-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 4px 12px;
  border-radius: 100px;
  user-select: none;
}

.hwh-toggle-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  transition: color 0.2s ease;
}

.hwh-toggle-label:hover {
  color: #0f172a;
}

.hwh-toggle-label.active {
  color: #0f172a;
  font-weight: 800;
}

/* Pure Custom Toggle Switch UI (Never native checkbox) */
.toggle-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 42px;
  height: 22px;
  cursor: pointer;
  margin: 0 2px;
  vertical-align: middle;
}

.toggle-switch input[type="checkbox"] {
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  position: absolute !important;
  pointer-events: none !important;
  margin: 0 !important;
}

.toggle-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  border-radius: 22px;
  transition: background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease;
  box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.12);
}

.toggle-slider::before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: #ffffff;
  border-radius: 50%;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.25);
}

.toggle-switch input:checked + .toggle-slider {
  background-color: #2563eb;
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(20px);
}

.toggle-switch:hover .toggle-slider {
  box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.15), 0 0 0 2px rgba(37, 99, 235, 0.15);
}

.hwh-discount-tag {
  background: #10b981;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Nav Bar with Pills */
.hml-white-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.hwh-nav-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hwh-nav-label {
  font-size: 0.70rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.05em;
}

.hwh-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.hwh-plan-pill {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.hwh-plan-pill:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.hwh-plan-pill.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
}

.hwh-arrows {
  display: flex;
  gap: 6px;
}

.hwh-arrow-btn {
  width: 30px;
  height: 30px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  line-height: 1;
}

.hwh-arrow-btn:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

/* Cards Viewport & Track */
.hwh-cards-viewport {
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(37, 99, 235, 0.3) transparent;
  padding: 4px 4px 14px;
}

.hwh-cards-viewport::-webkit-scrollbar {
  height: 6px;
}

.hwh-cards-viewport::-webkit-scrollbar-thumb {
  background: rgba(37, 99, 235, 0.25);
  border-radius: 10px;
}

.hwh-cards-track {
  display: flex;
  gap: 14px;
  align-items: stretch;
  padding-bottom: 4px;
}

@media (min-width: 769px) {
  .hwh-cards-viewport {
    overflow-x: visible !important;
  }

  .hwh-cards-track {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
    width: 100% !important;
    align-items: stretch !important;
  }

  .white-plan-card {
    flex: 1 1 auto !important;
    width: 100% !important;
    max-width: none !important;
    padding: 22px 18px 20px !important;
  }

  .hwh-arrows {
    display: none !important;
  }
}

/* White Corporate Plan Cards */
.white-plan-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px 16px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  flex: 0 0 250px;
  scroll-snap-align: start;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.white-plan-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

.white-plan-card.featured-white {
  border: 2px solid #2563eb;
  box-shadow: 0 12px 34px rgba(37, 99, 235, 0.12);
  background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
}

.wpc-popular-ribbon {
  position: absolute;
  top: 12px;
  right: -32px;
  background: #2563eb;
  color: #ffffff;
  font-size: 0.58rem;
  font-weight: 800;
  padding: 3px 32px;
  transform: rotate(45deg);
  letter-spacing: 0.06em;
}

.wpc-header {
  margin-bottom: 6px;
}

.wpc-badge {
  font-size: 0.62rem;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.wpc-badge-highlight {
  color: #2563eb;
  font-weight: 900;
}

.wpc-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 2px 0;
}

.wpc-desc {
  font-size: 0.70rem;
  color: #64748b;
  line-height: 1.3;
  min-height: 28px;
  margin: 0;
}

.wpc-pricing-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 8px 10px;
  margin-bottom: 8px;
}

.white-plan-card.featured-white .wpc-pricing-box {
  background: rgba(37, 99, 235, 0.05);
  border-color: rgba(37, 99, 235, 0.18);
}

.wpc-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.65rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
  margin-bottom: 2px;
}

.wpc-price.plan-price-custom {
  font-size: 1.45rem;
  color: #2563eb;
  font-weight: 800;
}

.wpc-price span {
  font-size: 0.70rem;
  color: #64748b;
  font-weight: 600;
}

.wpc-domain-included-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.66rem;
  font-weight: 800;
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 1px 7px;
  border-radius: 6px;
  margin-bottom: 3px;
}

.wpc-domain-included-badge.highlight {
  color: #2563eb;
  background: #eff6ff;
  border-color: #bfdbfe;
}

.wpc-breakdown {
  font-size: 0.64rem;
  color: #64748b;
  font-weight: 600;
  line-height: 1.25;
}

.wpc-divider {
  height: 1px;
  background: #e2e8f0;
  margin-bottom: 10px;
}

.wpc-features {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
}

.wpc-features li {
  font-size: 0.74rem;
  font-weight: 500;
  color: #334155;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.35;
}

.wpc-features li span:last-child {
  flex: 1;
}

.wpc-check {
  color: #2563eb;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}

.wpc-btn {
  display: block;
  width: 100%;
  padding: 10px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f172a;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-top: auto;
}

.wpc-btn:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.wpc-btn-featured {
  display: block;
  width: 100%;
  padding: 10px;
  text-align: center;
  font-size: 0.80rem;
  font-weight: 800;
  color: #ffffff !important;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  transition: all 0.2s ease;
  margin-top: auto;
}

.wpc-btn-featured:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE RULES FOR HOSTING MODAL
   ========================================================================== */
@media (max-width: 768px) {
  .modal-hosting-white {
    width: 95vw !important;
    max-height: 94vh !important;
    border-radius: 16px !important;
    margin: 8px auto !important;
  }

  .hml-white-layout {
    padding: 18px 14px 20px !important;
    gap: 12px !important;
  }

  .hml-white-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding-bottom: 12px !important;
  }

  .hwh-title {
    font-size: 1.35rem !important;
    padding-right: 28px !important;
  }

  .hwh-subtitle {
    font-size: 0.75rem !important;
  }

  .hwh-controls {
    width: 100% !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }

  .hwh-rate-badge {
    text-align: center !important;
    width: 100% !important;
  }

  .hwh-currency-switch, .hwh-toggle-wrap {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .hml-white-nav-bar {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .hwh-nav-left {
    width: 100% !important;
  }

  .hwh-pills {
    width: 100% !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    padding-bottom: 4px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  .hwh-pills::-webkit-scrollbar {
    display: none !important;
  }

  .hwh-arrows {
    display: none !important;
  }

  .hwh-cards-viewport {
    padding: 4px 2px 14px !important;
  }

  .white-plan-card {
    flex: 0 0 85vw !important;
    max-width: 320px !important;
    scroll-snap-align: center !important;
  }

  .wpc-btn, .wpc-btn-featured {
    min-height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.82rem !important;
  }
}

@media (max-width: 480px) {
  .modal-hosting-white {
    width: 96vw !important;
  }

  .hwh-title {
    font-size: 1.22rem !important;
  }

  .white-plan-card {
    flex: 0 0 88vw !important;
    padding: 16px 14px 14px !important;
  }
}

/* COMUNIDAD MODAL LAYOUT (FOTO 3 REPLICA + HYPERLINK) */
.comunidad-modal-layout {
  padding: 44px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.cml-badge {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: #a3e635;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.cml-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 12px;
}

.cml-desc {
  font-size: 0.95rem;
  color: #94a3b8;
  max-width: 680px;
  line-height: 1.6;
}

.cml-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.cml-item-box {
  background: #050810;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: border-color 0.25s ease;
}

.cml-item-box:hover {
  border-color: #a3e635;
}

.cml-item-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(163, 230, 53, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cml-item-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.cml-item-desc {
  font-size: 0.84rem;
  color: #94a3b8;
  line-height: 1.5;
}

/* PROMINENT HYPERLINK BOX (REQUESTED BY USER) */
.cml-hyperlink-box {
  background: linear-gradient(135deg, rgba(163, 230, 53, 0.12) 0%, rgba(37, 99, 235, 0.12) 100%);
  border: 1.5px solid rgba(163, 230, 53, 0.3);
  border-radius: 20px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cml-hl-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cml-hl-tag {
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #a3e635;
}

.cml-hl-content strong {
  font-size: 1.05rem;
  color: #ffffff;
  font-weight: 700;
}

.cml-hl-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  background: #a3e635;
  color: #090d16;
  font-weight: 900;
  font-size: 0.88rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px rgba(163, 230, 53, 0.3);
}

.cml-hl-btn:hover {
  background: #bef264;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(163, 230, 53, 0.5);
}

@media (max-width: 992px) {
  .hosting-modal-layout,
  .hml-right-cards,
  .cml-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   SHOWCASE SERVICE MODAL (MATCHING UPLOADED GAMING/TECH SCREENSHOT)
   ============================================= */
.showcase-modal-body {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow-y: auto;
  flex: 1;
  max-height: calc(90vh - 20px);
}

.sm-hero-banner {
  position: relative;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(163, 230, 53, 0.15) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: visible;
}

.sm-hero-glow {
  position: absolute;
  top: -40px;
  left: -40px;
  width: 140px;
  height: 140px;
  background: #a3e635;
  filter: blur(60px);
  opacity: 0.25;
}

.sm-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(163, 230, 53, 0.12);
  border: 1px solid rgba(163, 230, 53, 0.3);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 900;
  color: #a3e635;
  margin-bottom: 14px;
  letter-spacing: 0.08em;
}

.sm-dot {
  width: 7px;
  height: 7px;
  background: #a3e635;
  border-radius: 50%;
  box-shadow: 0 0 10px #a3e635;
}

.sm-hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.sm-hero-desc {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.65;
  max-width: 800px;
}

.sm-split-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.sm-col-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sm-section-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
}

.sm-sub-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.6;
}

.sm-check-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sm-check-list li {
  font-size: 0.82rem;
  font-weight: 800;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.sm-check-list li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(163, 230, 53, 0.15);
  color: #a3e635;
  font-weight: 900;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.sm-tech-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.sm-tech-label {
  font-size: 0.72rem;
  font-weight: 900;
  color: #64748b;
  letter-spacing: 0.08em;
}

.sm-col-right {
  display: flex;
  justify-content: center;
}

.sm-image-card {
  position: relative;
  width: 100%;
  height: 260px;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  border: 1.5px solid rgba(163, 230, 53, 0.25);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.sm-image-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(163, 230, 53, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.sm-card-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #a3e635;
  color: #090d16;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(163, 230, 53, 0.4);
}

.sm-card-icon-wrap svg {
  width: 28px;
  height: 28px;
}

.sm-card-info strong {
  display: block;
  font-size: 1.1rem;
  color: #ffffff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  margin-bottom: 4px;
}

.sm-card-info span {
  font-size: 0.8rem;
  color: #94a3b8;
}

.sm-action-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
  padding-bottom: 6px;
  margin-top: auto;
  position: sticky;
  bottom: 0;
  background: inherit;
  z-index: 10;
}

.sm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 14px;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-neon-cta {
  background: #a3e635;
  color: #090d16;
  box-shadow: 0 8px 25px rgba(163, 230, 53, 0.35);
  clip-path: polygon(0 0, 100% 0, 94% 100%, 0% 100%);
}

.btn-neon-cta:hover {
  background: #bef264;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(163, 230, 53, 0.5);
}

.btn-wa-dark {
  background: rgba(37, 211, 102, 0.12);
  border: 1.5px solid #25d366;
  color: #25d366;
}

.btn-wa-dark:hover {
  background: #25d366;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

@media (max-width: 992px) {
  .sm-split-content {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   WHITE THEME SHOWCASE MODAL FOR SERVICES
   ============================================= */
.modal-white-card {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 25px 80px rgba(15, 23, 42, 0.2) !important;
}

.sm-hero-white {
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%) !important;
  border: 1px solid #e2e8f0 !important;
  padding: 24px 28px !important;
  overflow: visible !important;
}

.sm-badge-blue {
  background: rgba(37, 99, 235, 0.1) !important;
  border-color: rgba(37, 99, 235, 0.25) !important;
  color: #2563eb !important;
  margin-bottom: 8px !important;
}

.sm-dot-blue {
  background: #2563eb !important;
  box-shadow: 0 0 8px #2563eb !important;
}

.sm-hero-title,
.sm-title-dark,
#modalTitle {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  font-family: 'Space Grotesk', 'Inter', sans-serif !important;
  font-size: clamp(1.2rem, 2.2vw, 1.65rem) !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  margin: 4px 0 8px 0 !important;
  width: 100% !important;
}

.sm-hero-desc,
.sm-desc-dark,
#modalDesc {
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  font-size: 0.9rem !important;
  line-height: 1.55 !important;
  width: 100% !important;
  margin: 0 !important;
}

.sm-heading-dark {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
}

.sm-desc-muted {
  color: #64748b !important;
  -webkit-text-fill-color: #64748b !important;
}

.sm-check-dark li {
  color: #1e293b !important;
  -webkit-text-fill-color: #1e293b !important;
  text-transform: none !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  letter-spacing: normal !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
}

.sm-check-dark li::before {
  content: '✓' !important;
  background: rgba(37, 99, 235, 0.12) !important;
  color: #2563eb !important;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 800 !important;
  font-size: 0.8rem !important;
  margin-top: 2px !important;
}

.sm-label-dark {
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
  font-size: 0.75rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  margin-bottom: 6px !important;
}

.modal-tech-tags {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.modal-tech-tag {
  display: inline-flex !important;
  align-items: center !important;
  padding: 6px 14px !important;
  border-radius: 100px !important;
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) !important;
}

.modal-tech-tag:hover {
  background: #2563eb !important;
  border-color: #2563eb !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}

.sm-card-white {
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%) !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 20px !important;
  padding: 24px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.08) !important;
  height: auto !important;
  min-height: 240px !important;
}

.sm-card-top-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
}

.sm-card-badge-tag {
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  color: #2563eb !important;
  background: rgba(37, 99, 235, 0.1) !important;
  padding: 4px 12px !important;
  border-radius: 100px !important;
  border: 1px solid rgba(37, 99, 235, 0.2) !important;
}

.sm-icon-blue {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35) !important;
}

.sm-info-dark strong {
  display: block !important;
  font-size: 1.05rem !important;
  color: #0f172a !important;
  font-family: 'Space Grotesk', sans-serif !important;
  font-weight: 800 !important;
  margin-bottom: 4px !important;
}

.sm-info-dark p {
  font-size: 0.82rem !important;
  color: #64748b !important;
  line-height: 1.4 !important;
  margin: 0 !important;
}

.sm-card-highlights {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  padding-top: 14px !important;
  border-top: 1px solid #e2e8f0 !important;
}

.sm-hl-item {
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: #334155 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.sm-hl-icon {
  font-size: 0.95rem !important;
}

.sm-footer-white {
  border-top: 1px solid #e2e8f0 !important;
  justify-content: flex-end !important;
  background: #ffffff !important;
  padding-top: 16px !important;
}

.modal-cta-btn-single {
  padding: 14px 32px !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  border-radius: 12px !important;
  background: var(--gradient-primary) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35) !important;
  transition: all 0.3s ease !important;
}

.modal-cta-btn-single:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5) !important;
}

/* =============================================
   HERO FLOATING ACTION PILLS FOR HOSTING & COMUNIDAD
   ============================================= */
.hero-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-family: inherit;
  white-space: nowrap;
}

.hosting-hero-btn {
  background: rgba(37, 99, 235, 0.08);
  border: 1.5px solid rgba(37, 99, 235, 0.25);
  color: #2563eb;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08);
}

.hosting-hero-btn:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.35);
}

.hosting-hero-btn:hover .hpill-badge.blue {
  background: #ffffff;
  color: #2563eb;
}

.comunidad-hero-btn {
  background: rgba(16, 185, 129, 0.08);
  border: 1.5px solid rgba(16, 185, 129, 0.25);
  color: #059669;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.08);
}

.comunidad-hero-btn:hover {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.35);
}

.comunidad-hero-btn:hover .hpill-badge.green {
  background: #ffffff;
  color: #059669;
}

.hpill-badge {
  font-size: 0.68rem;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hpill-badge.blue {
  background: rgba(37, 99, 235, 0.15);
  color: #2563eb;
}

.hpill-badge.green {
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
}

/* RESPONSIVE MEDIA QUERIES FOR SMALL SCREENS / MOBILE / LAPTOPS */
@media (max-width: 768px) {
  .modal-overlay {
    padding: 10px;
  }
  .modal-card {
    max-height: 92vh;
    border-radius: 16px;
  }
  .showcase-modal-body {
    padding: 20px 14px;
    gap: 16px;
  }
  .sm-hero-banner {
    padding: 18px 14px;
  }
  .sm-hero-title {
    font-size: 1.35rem;
  }
  .sm-hero-desc {
    font-size: 0.82rem;
  }
  .sm-split-content {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .sm-image-card {
    height: 150px;
    padding: 16px;
  }
  .sm-action-footer {
    padding-top: 12px;
  }
  .modal-cta-btn-single {
    width: 100%;
    justify-content: center;
    text-align: center;
    font-size: 0.88rem;
    padding: 12px 16px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }
  .hero-pill-btn {
    width: 100%;
    justify-content: center;
  }
  .hosting-modal-layout,
  .comunidad-modal-layout {
    padding: 24px 16px;
    gap: 18px;
  }
  .hml-title,
  .cml-title {
    font-size: 1.5rem;
  }
  .dark-plan-card {
    padding: 24px 16px;
  }
  .cml-hyperlink-box {
    flex-direction: column;
    text-align: center;
    padding: 18px 14px;
  }
}

/* =============================================
   NAVBAR DROPDOWN MENU FOR HOSTING & COMUNIDAD
   ============================================= */
.nav-item-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.dropdown-arrow {
  transition: transform 0.25s ease;
}

.nav-item-dropdown:hover .dropdown-arrow,
.nav-item-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu-card {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 290px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Hover bridge: keeps hover active between trigger and dropdown */
.dropdown-menu-card::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
  background: transparent;
}

.nav-item-dropdown:hover .dropdown-menu-card,
.nav-item-dropdown.open .dropdown-menu-card {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  width: 100%;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  font-family: inherit;
}

.dropdown-item-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateX(4px);
}

.dp-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hosting-icon {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

.licencias-icon {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
}

.ocr-icon {
  background: rgba(14, 165, 233, 0.12);
  color: #0284c7;
}

.comunidad-icon {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.dp-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dp-pill-interno {
  font-size: 0.65rem;
  font-weight: 800;
  color: #d97706;
  background: #fef3c7;
  padding: 1px 6px;
  border-radius: 4px;
}

.dp-pill-promo {
  font-size: 0.65rem;
  font-weight: 800;
  color: #2563eb;
  background: #eff6ff;
  padding: 1px 6px;
  border-radius: 4px;
}

.dp-item-text {
  display: flex;
  flex-direction: column;
}

.dp-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.dp-desc {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 500;
}

/* Mobile Responsiveness for Dropdown (Accordion Mode) */
@media (max-width: 992px) {
  .nav-item-dropdown {
    width: 100% !important;
    display: block !important;
  }

  .nav-item-dropdown .dropdown-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .dropdown-menu-card {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04) !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    background: #f8fafc !important;
    margin: 8px 0 4px !important;
    padding: 8px !important;
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .dropdown-menu-card::before {
    display: none !important;
  }

  /* In mobile: opened by click / tap */
  .nav-item-dropdown.open .dropdown-menu-card {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    animation: mobileSubmenuOpen 0.25s ease forwards !important;
  }

  .nav-item-dropdown:hover .dropdown-menu-card {
    transform: none !important;
    left: auto !important;
  }

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

  .dropdown-item-btn {
    padding: 10px 12px !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    margin-bottom: 6px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .dropdown-item-btn:last-child {
    margin-bottom: 0 !important;
  }

  .dropdown-item-btn:hover,
  .dropdown-item-btn:active {
    background: #eff6ff !important;
    border-color: #bfdbfe !important;
    transform: none !important;
  }

  .dp-item-icon {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    flex-shrink: 0 !important;
  }

  .dp-title {
    font-size: 0.88rem !important;
  }

  .dp-desc {
    font-size: 0.74rem !important;
  }
}

/* =================== METHODOLOGY SECTION =================== */
.methodology-section {
  background: #f8fafc;
  padding: 80px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.methodology-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.methodology-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.methodology-card:hover {
  transform: translateY(-5px);
  border-color: #3b82f6;
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.12);
}

.methodology-card .step-number {
  position: static !important;
  top: auto !important;
  right: auto !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #2563eb, #06b6d4) !important;
  color: #ffffff !important;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  font-family: 'Space Grotesk', sans-serif !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 0 20px 0 !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25) !important;
  flex-shrink: 0 !important;
  -webkit-text-fill-color: #ffffff !important;
}

.methodology-card .step-title {
  margin-top: 0 !important;
  padding-right: 0 !important;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin-bottom: 12px !important;
  line-height: 1.3 !important;
}

.step-desc {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
}

/* =================== FAQ SECTION =================== */
.faq-section {
  padding: 80px 0;
  background: #ffffff;
}

.faq-accordion-wrapper {
  max-width: 800px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  background: #ffffff;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active {
  border-color: #2563eb;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.08);
}

.faq-trigger {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  text-align: left;
  cursor: pointer;
  gap: 16px;
  transition: color 0.2s ease;
}

.faq-trigger:hover,
.faq-item.active .faq-trigger {
  color: #2563eb;
}

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: #64748b;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: #2563eb;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
}

.faq-item.active .faq-content {
  max-height: 300px;
  padding: 0 24px 20px 24px;
}

.faq-content p {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.7;
}

/* =============================================
   MOBILE RESPONSIVE OPTIMIZATIONS
   ============================================= */
@media (max-width: 576px) {
  .nav-logo-img {
    height: 48px !important;
    max-height: 48px !important;
  }

  .footer-logo-img {
    height: 70px !important;
    max-height: 70px !important;
  }

  .portfolio-pagination {
    gap: 8px;
    margin-top: 32px;
  }

  .page-btn {
    padding: 8px 16px;
    font-size: 0.82rem;
  }

  .page-num {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }
}

/* =============================================================================
   CORETOOLS PDF STUDIO MODAL (REFERENCE DESIGN REPLICA - WHITE CORPORATE)
   ============================================================================= */
.modal-coretools-ref {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 25px 70px rgba(15, 23, 42, 0.22) !important;
  border-radius: 24px !important;
  max-width: 1040px !important;
  width: 95vw !important;
  max-height: 92vh !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  display: block !important;
  padding: 0 !important;
}

.modal-coretools-ref::-webkit-scrollbar {
  width: 6px;
}
.modal-coretools-ref::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

/* Top Modal Header */
.ct-ref-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px 14px;
}

.ct-ref-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ct-brand-logo-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.ct-brand-name {
  font-family: 'Space Grotesk', Inter, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
}

.ct-brand-sub {
  color: #2563eb;
  font-weight: 800;
}

.ct-ref-close {
  position: static !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  color: #64748b !important;
  font-size: 1.3rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.ct-ref-close:hover {
  background: #ef4444 !important;
  color: #ffffff !important;
  border-color: #ef4444 !important;
}

/* Body wrapper */
.ct-ref-body {
  padding: 0 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* 2-Column Hero Section */
.ct-ref-hero {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 24px;
  align-items: center;
  padding: 4px 0 8px;
}

.ct-ref-hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.ct-ref-pill {
  display: inline-block;
  background: #eff6ff;
  color: #2563eb;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.ct-ref-title {
  font-family: 'Space Grotesk', Inter, sans-serif;
  font-size: clamp(1.85rem, 2.6vw, 2.35rem);
  font-weight: 900;
  color: #0f172a;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

.ct-ref-subtitle {
  font-size: 0.86rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
  max-width: 540px;
}

/* 4 KPI row */
.ct-ref-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: 100%;
  margin-top: 6px;
}

.ct-ref-kpi {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #334155;
  line-height: 1.25;
}

.ct-rk-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rk-blue {
  background: #eff6ff;
  color: #2563eb;
}

.rk-cyan {
  background: #ecfeff;
  color: #0891b2;
}

.rk-purple {
  background: #faf5ff;
  color: #9333ea;
}

.rk-green {
  background: #f0fdf4;
  color: #16a34a;
}

/* Right Mockup */
.ct-ref-hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ct-mockup-wrap {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: 14px 0;
}

.ct-mockup-blob {
  position: absolute;
  width: 290px;
  height: 290px;
  background: radial-gradient(circle, rgba(219, 234, 254, 0.75) 0%, rgba(224, 242, 254, 0.25) 65%, transparent 100%);
  top: 50%;
  left: 45%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Laptop Device Frame */
.ct-laptop-frame {
  position: relative;
  max-width: 320px;
  z-index: 1;
  filter: drop-shadow(0 16px 30px rgba(15, 23, 42, 0.16));
}

.ct-laptop-screen {
  background: #0f172a;
  border-radius: 12px 12px 2px 2px;
  padding: 6px 6px 8px;
  border: 2px solid #1e293b;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.ct-screen-cam {
  width: 4px;
  height: 4px;
  background: #334155;
  border-radius: 50%;
  margin: 0 auto 5px;
}

.ct-screen-content {
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  height: 155px;
  display: flex;
  border: 1px solid #cbd5e1;
}

.ct-mock-sidebar {
  width: 30px;
  background: #0f172a;
  padding: 8px 5px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: center;
}

.ct-mock-logo {
  width: 13px;
  height: 13px;
  background: #2563eb;
  border-radius: 3px;
  margin-bottom: 3px;
}

.ct-mock-dot {
  width: 10px;
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
}

.ct-mock-dot.active {
  background: #38bdf8;
}

.ct-mock-preview {
  flex: 1;
  background: #f1f5f9;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ct-mock-page {
  background: #ffffff;
  width: 86%;
  height: 94%;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: relative;
  border: 1px solid #e2e8f0;
}

.ct-mp-header {
  height: 6px;
  width: 45%;
  background: #0f172a;
  border-radius: 2px;
  margin-bottom: 4px;
}

.ct-mp-line {
  height: 3px;
  background: #cbd5e1;
  border-radius: 2px;
}

.ct-mp-line.w90 { width: 90%; }
.ct-mp-line.w80 { width: 80%; }
.ct-mp-line.w100 { width: 100%; }
.ct-mp-line.w70 { width: 70%; }
.ct-mp-line.w85 { width: 85%; }

.ct-mp-stamp {
  position: absolute;
  bottom: 8px;
  right: 8px;
  font-size: 0.52rem;
  font-weight: 800;
  color: #dc2626;
  border: 1px dashed #dc2626;
  padding: 1px 4px;
  border-radius: 2px;
  transform: rotate(-5deg);
}

.ct-laptop-base {
  background: #94a3b8;
  height: 8px;
  border-radius: 0 0 10px 10px;
  position: relative;
  margin: 0 -12px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  border-top: 1px solid #cbd5e1;
}

.ct-laptop-notch {
  width: 44px;
  height: 4px;
  background: #64748b;
  border-radius: 0 0 4px 4px;
  margin: 0 auto;
}

/* Floating Badges */
.ct-float-pill-ocr {
  position: absolute;
  top: 12px;
  right: 100px;
  background: #2563eb;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 5px 12px;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.4);
  z-index: 4;
}

.ct-float-pdf-doc {
  position: absolute;
  top: 38px;
  right: 86px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.ct-pdf-badge-tag {
  background: #ef4444;
  color: #ffffff;
  font-size: 0.60rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: -12px;
  margin-right: -4px;
  box-shadow: 0 3px 8px rgba(239, 68, 68, 0.4);
}

.ct-float-checklist {
  position: absolute;
  top: 24px;
  right: -4px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 5;
}

.ct-fcl-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #334155;
}

.ct-fcl-check {
  color: #16a34a;
  font-weight: 900;
}

/* 6 Grid Feature Cards */
.ct-ref-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 22px;
  margin-top: 4px;
}

.ct-ref-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.ct-rc-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rc-blue { background: #eff6ff; color: #2563eb; }
.rc-cyan { background: #ecfeff; color: #0891b2; }
.rc-green { background: #ecfdf5; color: #059669; }
.rc-purple { background: #faf5ff; color: #9333ea; }
.rc-pink { background: #fdf2f8; color: #db2777; }
.rc-indigo { background: #eef2ff; color: #4f46e5; }

.ct-rc-text h4 {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.ct-rc-text p {
  font-size: 0.76rem;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
}

/* Comparison Section */
.ct-ref-comparison {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px 26px;
  margin-top: 4px;
}

.ct-rc-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ct-rc-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ct-rc-head-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  flex-shrink: 0;
}

.ct-rc-head-icon.good {
  background: #16a34a;
  color: #ffffff;
}

.ct-rc-head-icon.bad {
  background: #ef4444;
  color: #ffffff;
}

.ct-rc-head h3 {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.3;
}

.ct-rc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ct-rc-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.76rem;
  color: #475569;
  line-height: 1.4;
}

.chk-good {
  color: #16a34a;
  font-weight: 800;
  flex-shrink: 0;
}

.chk-bad {
  color: #ef4444;
  font-weight: 800;
  flex-shrink: 0;
}

/* Footer Bar */
.ct-ref-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid #f1f5f9;
  padding-top: 18px;
  margin-top: 6px;
}

.ct-rfoot-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ct-rfoot-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ct-rfoot-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f172a;
  font-family: 'Space Grotesk', Inter, sans-serif;
}

.ct-rfoot-sub {
  font-size: 0.74rem;
  color: #64748b;
}

.ct-ref-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #2563eb !important;
  color: #ffffff !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  border-radius: 100px !important;
  padding: 12px 26px !important;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35) !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  border: none !important;
}

.ct-ref-download-btn:hover {
  background: #1d4ed8 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.45) !important;
}

/* Responsive Rules for CoreTools Modal */
@media (max-width: 960px) {
  .modal-coretools-ref {
    width: 96vw !important;
    max-height: 94vh !important;
    padding: 0 !important;
  }
  .ct-ref-body {
    padding: 0 18px 22px !important;
    gap: 20px !important;
  }
  .ct-ref-header {
    padding: 16px 18px 10px !important;
  }
  .ct-ref-hero {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .ct-ref-hero-right {
    order: -1;
    margin-bottom: 6px;
  }
  .ct-ref-kpi-row {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .ct-ref-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .ct-ref-comparison {
    grid-template-columns: 1fr !important;
    padding: 16px 18px !important;
    gap: 18px !important;
  }
  .ct-ref-footer {
    flex-direction: column !important;
    align-items: stretch !important;
    text-align: center !important;
    gap: 14px !important;
  }
  .ct-rfoot-left {
    justify-content: center !important;
  }
  .ct-ref-download-btn {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* =============================================================================
   LICENCIAS OFFICE MODAL (OEM & PERMANENT LICENSES REFERENCE FLYER REPLICA)
   ============================================================================= */
.modal-licencias-ref {
  background: #f8fafc !important;
  color: #0f172a !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 25px 70px rgba(15, 23, 42, 0.22) !important;
  border-radius: 24px !important;
  max-width: 1160px !important;
  width: 96vw !important;
  max-height: 92vh !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  display: block !important;
  padding: 0 !important;
}

.modal-licencias-ref::-webkit-scrollbar {
  width: 6px;
}
.modal-licencias-ref::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

/* Header */
.lic-ref-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px 14px;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
}

.lic-ref-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lic-brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lic-brand-name {
  font-family: 'Space Grotesk', Inter, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
}

.lic-brand-sub {
  color: #ea580c;
  font-weight: 800;
}

.lic-ref-close {
  position: static !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  color: #64748b !important;
  font-size: 1.3rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.lic-ref-close:hover {
  background: #ef4444 !important;
  color: #ffffff !important;
  border-color: #ef4444 !important;
}

/* Body */
.lic-ref-body {
  padding: 20px 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Hero Section */
.lic-ref-hero {
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 40%, #eff6ff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.lic-ref-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.lic-badge-yellow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fef08a;
  color: #854d0e;
  border: 1px solid #facc15;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(234, 179, 8, 0.2);
}

.lic-badge-yellow svg {
  width: 15px;
  height: 15px;
  color: #a16207;
}

.lic-ref-title {
  font-family: 'Space Grotesk', Inter, sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
}

.lic-ref-tagline {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ea580c;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.lic-ref-tagline span {
  color: #0284c7;
}

.lic-ref-subtitle {
  font-size: 0.88rem;
  color: #475569;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.5;
}

/* OEM Explainer Box */
.lic-oem-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #0284c7;
  border-radius: 16px;
  padding: 18px 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.04);
}

.lic-oem-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #e0f2fe;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lic-oem-content {
  flex: 1;
}

.lic-oem-heading {
  font-size: 0.96rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lic-oem-desc {
  font-size: 0.84rem;
  color: #475569;
  line-height: 1.5;
  margin: 0 0 10px;
}

.lic-oem-desc strong {
  color: #0f172a;
}

.lic-notice-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.8rem;
  color: #92400e;
  font-weight: 600;
}

/* Filter Controls */
.lic-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 4px 0;
}

.lic-filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.lic-tab-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lic-tab-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.lic-tab-btn.active {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
}

.lic-count-badge {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 600;
}

/* Products Grid */
.lic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.lic-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 16px 12px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  position: relative;
}

.lic-card:hover {
  transform: translateY(-5px);
  border-color: #93c5fd;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.12);
}

/* 3D Realistic Software Box Container */
.lic-box-container {
  width: 100%;
  height: 155px;
  perspective: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.lic-box-3d {
  width: 96px;
  height: 135px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(-18deg) rotateX(4deg);
  transition: transform 0.3s ease;
  filter: drop-shadow(-8px 10px 14px rgba(15, 23, 42, 0.18));
}

.lic-card:hover .lic-box-3d {
  transform: rotateY(-8deg) rotateX(2deg) scale(1.04);
}

/* Box Front */
.lic-box-front {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 4px 6px 6px 4px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 7px 6px 6px;
}

/* Box Left Spine (3D Depth) */
.lic-box-spine {
  position: absolute;
  top: 0;
  left: 0;
  width: 14px;
  height: 100%;
  transform-origin: left;
  transform: rotateY(90deg) translateX(-14px);
  border-radius: 4px 0 0 4px;
}

/* Box Color Themes */
/* 2024 LTSC */
.box-2024 .lic-box-front {
  background: linear-gradient(175deg, #0284c7 0%, #1e40af 52%, #0f172a 100%);
  color: #ffffff;
}
.box-2024 .lic-box-spine {
  background: linear-gradient(to bottom, #0369a1, #1e3a8a);
}

/* 2021 Pro Plus */
.box-2021 .lic-box-front {
  background: linear-gradient(175deg, #ffffff 0%, #ffffff 42%, #fff7ed 70%, #ffedd5 100%);
  border-top: 4px solid #ea580c;
  color: #0f172a;
}
.box-2021 .lic-box-spine {
  background: linear-gradient(to bottom, #c2410c, #ea580c);
}

/* 2019 Pro Plus */
.box-2019 .lic-box-front {
  background: linear-gradient(175deg, #ffffff 0%, #ffffff 42%, #f8fafc 70%, #e2e8f0 100%);
  border-top: 4px solid #475569;
  color: #0f172a;
}
.box-2019 .lic-box-spine {
  background: linear-gradient(to bottom, #334155, #64748b);
}

/* 2016 Pro Plus */
.box-2016 .lic-box-front {
  background: linear-gradient(175deg, #ffffff 0%, #ffffff 42%, #f1f5f9 70%, #e2e8f0 100%);
  border-top: 4px solid #2563eb;
  color: #0f172a;
}
.box-2016 .lic-box-spine {
  background: linear-gradient(to bottom, #1d4ed8, #3b82f6);
}

/* 2013 Pro Plus */
.box-2013 .lic-box-front {
  background: linear-gradient(175deg, #ffffff 0%, #ffffff 42%, #faf5ff 70%, #f3e8ff 100%);
  border-top: 4px solid #7c3aed;
  color: #0f172a;
}
.box-2013 .lic-box-spine {
  background: linear-gradient(to bottom, #6d28d9, #8b5cf6);
}

/* 2010 Pro Plus */
.box-2010 .lic-box-front {
  background: linear-gradient(175deg, #ffffff 0%, #ffffff 42%, #f0fdfa 70%, #ccfbf1 100%);
  border-top: 4px solid #0d9488;
  color: #0f172a;
}
.box-2010 .lic-box-spine {
  background: linear-gradient(to bottom, #0f766e, #14b8a6);
}

/* Mac 2021 */
.box-mac-2021 .lic-box-front {
  background: linear-gradient(175deg, #ffffff 0%, #f8fafc 55%, #f1f5f9 100%);
  border-top: 3px solid #64748b;
  color: #0f172a;
}
.box-mac-2021 .lic-box-spine {
  background: linear-gradient(to bottom, #94a3b8, #cbd5e1);
}

/* Mac 2016 */
.box-mac-2016 .lic-box-front {
  background: linear-gradient(175deg, #ffffff 0%, #f8fafc 55%, #f1f5f9 100%);
  border-top: 3px solid #8b5cf6;
  color: #0f172a;
}
.box-mac-2016 .lic-box-spine {
  background: linear-gradient(to bottom, #7c3aed, #a78bfa);
}

/* Inner Box Details */
.lic-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lic-box-brand-micro {
  font-size: 0.44rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

.lic-box-title-wrap {
  text-align: left;
  margin-top: 2px;
}

.lic-box-title-main {
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1.1;
  display: block;
}

.lic-box-title-sub {
  font-size: 0.48rem;
  font-weight: 600;
  opacity: 0.85;
  display: block;
}

.lic-box-center-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 6px 0 4px;
}

.lic-box-center-logo svg {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.lic-box-app-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex-wrap: wrap;
}

.lic-app-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  font-size: 0.42rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
}

.app-w { background: #185abd; }
.app-x { background: #107c41; }
.app-p { background: #c43e1c; }
.app-o { background: #0078d4; }
.app-n { background: #7719aa; }
.app-a { background: #a4373a; }
.app-pub { background: #008272; }

/* Product Details */
.lic-card-title {
  font-size: 0.86rem;
  font-weight: 800;
  color: #0f172a;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.25;
  margin: 0 0 8px;
}

/* Button (NO PRICE!) */
.lic-btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 8px 10px;
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: #ffffff !important;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.25);
  transition: all 0.2s ease;
}

.lic-btn-action:hover {
  background: linear-gradient(135deg, #0369a1, #1d4ed8);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(37, 99, 235, 0.35);
  color: #ffffff !important;
}

/* Specs Row */
.lic-card-specs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #475569;
  margin-top: 8px;
}

.lic-card-specs span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Permanent Badge */
.lic-badge-perm {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  border-radius: 20px;
  padding: 3px 9px;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 8px;
  width: fit-content;
}

/* Trust Badges Row */
.lic-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px 20px;
}

.lic-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lic-trust-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #f1f5f9;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lic-trust-text strong {
  display: block;
  font-size: 0.78rem;
  color: #0f172a;
  line-height: 1.2;
}

.lic-trust-text span {
  display: block;
  font-size: 0.7rem;
  color: #64748b;
  line-height: 1.2;
}

/* Bottom Final CTA Bar */
.lic-footer-cta {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 16px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.lic-fcta-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lic-fcta-brand-wrap {
  display: flex;
  flex-direction: column;
}

.lic-fcta-brand-title {
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.lic-fcta-brand-sub {
  color: #94a3b8;
  font-size: 0.75rem;
}

.lic-fcta-app-badges {
  display: flex;
  align-items: center;
  gap: 4px;
}

.lic-fcta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #22c55e;
  color: #ffffff !important;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
  transition: all 0.2s ease;
}

.lic-fcta-btn:hover {
  background: #16a34a;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(34, 197, 94, 0.45);
  color: #ffffff !important;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .lic-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .lic-trust-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
}

@media (max-width: 640px) {
  .lic-ref-header {
    padding: 16px 20px 12px !important;
  }
  .lic-ref-body {
    padding: 16px 18px 24px !important;
    gap: 16px !important;
  }
  .lic-ref-title {
    font-size: 1.45rem !important;
  }
  .lic-grid {
    grid-template-columns: 1fr !important;
  }
  .lic-trust-grid {
    grid-template-columns: 1fr !important;
  }
  .lic-footer-cta {
    flex-direction: column !important;
    text-align: center !important;
    align-items: stretch !important;
  }
  .lic-fcta-left {
    flex-direction: column !important;
    align-items: center !important;
  }
  .lic-fcta-btn {
    justify-content: center !important;
  }
}
