/* ==========================================================================
   nixyGT - Futuristic Dark Mode & Glassmorphic Stylesheet
   ========================================================================== */

:root {
  /* Colors */
  --bg-primary: #000000;
  --bg-surface: #070709;
  --bg-surface-elevated: #0f0f12;
  --bg-card: rgba(14, 14, 18, 0.65);
  --bg-card-hover: rgba(22, 22, 28, 0.85);
  
  /* Borders & Glass */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(255, 255, 255, 0.22);
  --border-glow: rgba(255, 255, 255, 0.45);
  --glass-blur: blur(0px);
  
  /* Text */
  --text-white: #ffffff;
  --text-primary: #f4f4f6;
  --text-secondary: #9494a0;
  --text-muted: #5e5e6b;
  --text-accent: #ffffff;
  
  /* Glow & Accents */
  --glow-white: 0 0 35px rgba(255, 255, 255, 0.15);
  --glow-strong: 0 0 50px rgba(255, 255, 255, 0.28);
  --glow-spotlight: radial-gradient(600px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255, 255, 255, 0.08), transparent 40%);
  
  /* Gradients */
  --grad-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  --grad-text: linear-gradient(135deg, #ffffff 0%, #d4d4d8 50%, #71717a 100%);
  --grad-border: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.03));
  --grad-btn: #ffffff;
  --grad-btn-hover: #e4e4e7;
  
  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  
  /* Layout */
  --max-width: 1340px;
  --nav-height: 80px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color-scheme: dark;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

/* Selection */
::selection {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #000000;
}
::-webkit-scrollbar-thumb {
  background: #27272a;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3f3f46;
}

/* Flat, uniform dark backdrop: no particle canvas, no ambient orbs, no grid. */

/* ==========================================================================
   Layout Containers
   ========================================================================== */
.app-container {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* ==========================================================================
   Header & Floating Navigation
   ========================================================================== */
.main-header {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.nav-pill-wrapper {
  position: relative;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: calc(100% - 48px);
  max-width: var(--max-width);
  padding: 10px 20px;
  background: rgba(10, 10, 14, 0.7);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.8),
              0 0 1px 1px rgba(255, 255, 255, 0.05) inset;
  transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.nav-pill-wrapper:hover {
  border-color: var(--border-active);
  box-shadow: 0 12px 50px -10px rgba(0, 0, 0, 0.9),
              0 0 20px rgba(255, 255, 255, 0.05);
}

.panel-control-float {
  position: absolute;
  top: calc(100% + 10px);
  right: 20px;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #a1a1aa;
  background: rgba(10, 10, 14, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 0.2s ease;
}

.panel-control-float:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

/* Brand Logo */
.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-white);
  cursor: pointer;
}

.logo-badge {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.brand-logo-link:hover .logo-badge {
  transform: scale(1.06) rotate(6deg);
  border-color: #ffffff;
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.3);
}

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

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  display: flex;
  align-items: baseline;
}

.brand-name .gt-badge {
  font-size: 0.75rem;
  font-weight: 900;
  padding: 1px 6px;
  margin-left: 4px;
  background: #ffffff;
  color: #000000;
  border-radius: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Nav Menu Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-item-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-pill);
  transition: color var(--transition-fast), background var(--transition-fast);
  cursor: pointer;
}

.nav-item-link:hover,
.nav-item-link.active {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.06);
}

.nav-item-link.highlight-pricing-link {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-weight: 600;
}

.nav-item-link.highlight-pricing-link:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.12);
}

.nav-item-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  box-shadow: 0 0 8px #ffffff;
}

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

.audio-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.audio-toggle-btn:hover {
  color: var(--text-white);
  border-color: var(--border-active);
  background: rgba(255, 255, 255, 0.1);
}

.audio-toggle-btn.active {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: #000000;
  background: #ffffff;
  border: 1px solid #ffffff;
  border-radius: var(--radius-pill);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-smooth);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.btn-contact:hover {
  background: #e4e4e7;
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

/* CTA: "Ver Servicios" — smooth-scroll to the services deck */
.btn-cta-services {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
  padding: 13px 36px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #000000;
  background: #ffffff;
  border: none;
  border-radius: var(--radius-pill);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-smooth);
  box-shadow: 0 8px 30px -8px rgba(255, 255, 255, 0.35);
}

.btn-cta-services:hover {
  background: #e4e4e7;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 44px -8px rgba(255, 255, 255, 0.5);
}

.btn-cta-services svg {
  transition: transform var(--transition-smooth);
}

.btn-cta-services:hover svg {
  transform: translateY(2px);
}

.btn-panel-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 9px 20px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #a1a1aa;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-panel-control:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section View
   ========================================================================== */
.hero-view {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  background: var(--bg-primary);
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  position: relative;
  overflow: hidden;
}

/* The cover block: typography + search tools + a faint vector grid — all CSS. */

/* Fullscreen cover block: exactly one viewport, geometrically centered. */
.hero-content {
  width: 100%;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 10;
}

/* Keep the cover block at the visible viewport height on mobile browsers so
   the first screen shows only the cover with zero peek of the service cards. */
@supports (height: 100svh) {
  .hero-content {
    min-height: 100svh;
    height: 100svh;
  }
}

/* Faint technical grid texture behind the hero (static CSS, ~0.05 opacity) */
.hero-view::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 38%, black 10%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 38%, black 10%, transparent 78%);
  pointer-events: none;
  z-index: 0;
}

/* Ultralight floating decorations in the hero (pure CSS, pointer-events: none) */
.hero-floats {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  color: #ffffff;
}

.hero-f-badge,
.hero-f-shape,
.hero-f-dot {
  position: absolute;
  opacity: 0.16;
  animation: heroFloat 6s ease-in-out infinite;
}

.hero-f-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  white-space: nowrap;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.08);
}

.hero-f-code   { top: 18%;   left: 8%; }
.hero-f-speed  { top: 30%;   right: 9%;  animation-delay: -2s; }
.hero-f-seo    { top: 72%;   left: 12%;  animation-delay: -4s; }
.hero-f-uptime { top: 78%;   right: 11%; animation-delay: -1s; }

.hero-f-shape { opacity: 0.15; }
.hero-f-ring  { width: 90px;  height: 90px; top: 22%; right: 18%; animation-delay: -3s; }
.hero-f-reticle { width: 44px; height: 44px; top: 40%; left: 34%; animation-delay: -0.8s; }
.hero-f-cross { width: 40px; height: 40px; top: 64%; left: 22%; animation-delay: -5s; }
.hero-f-plus  { width: 30px; height: 30px; top: 14%; left: 26%; animation-delay: -2.5s; }
.hero-f-sq    { width: 26px; height: 26px; top: 58%; right: 24%; animation-delay: -3.5s; }

.hero-f-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  opacity: 0.2;
}

.hero-f-dot-a { top: 26%; right: 6%;  animation-delay: -0.5s; }
.hero-f-dot-b { top: 82%; left: 30%;  animation-delay: -1.5s; }
.hero-f-dot-c { top: 10%; right: 32%; animation-delay: -4.5s; }

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

/* Scroll hint + divider removed on request; the grid texture above stays. */

/* Micro Badge */
.hero-badge-container {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: all var(--transition-smooth);
}

.hero-pill-badge:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text-white);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.1);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 10px #ffffff;
  animation: pulseLight 2s infinite ease-in-out;
}

/* Limited-Time Offer Badge on Service Cards */
.limited-offer-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #000000;
  background: #ffffff;
  background-size: 200% 200%;
  border-radius: 30px;
  animation: badge-gradient 3s ease infinite, badge-glow 2s ease-in-out infinite alternate;
  white-space: nowrap;
  pointer-events: none;
  z-index: 5;
}

@keyframes badge-gradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes badge-glow {
  from { box-shadow: 0 0 6px rgba(255, 255, 255, 0.6), 0 0 12px rgba(255, 255, 255, 0.3); }
  to   { box-shadow: 0 0 14px rgba(255, 255, 255, 0.8), 0 0 24px rgba(255, 255, 255, 0.4); }
}

/* Ensure service-card has relative positioning for badge placement */
.service-card {
  position: relative;
}

/* Hero Title */
.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin-bottom: 36px;
  text-wrap: balance;
}

.hero-headline .text-gradient {
  background: #ffffff;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-headline .highlight-glow {
  position: relative;
  display: inline-block;
}

.hero-headline .highlight-glow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
  box-shadow: 0 0 12px #ffffff;
}

/* Hero Subtitle */
.hero-subheadline {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 36px;
  text-wrap: balance;
}

/* ==========================================================================
   Interactive Search & Requirement Selector
   ========================================================================== */
.requirement-selector-container {
  width: 100%;
  max-width: 800px;
  margin: 32px auto 48px;
  position: relative;
  z-index: 100;
}

.search-input-wrapper {
  position: relative;
  width: 100%;
  z-index: 110;
}

.search-box-card {
  position: relative;
  background: rgba(14, 14, 18, 0.7);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.7),
              0 0 1px 1px rgba(255, 255, 255, 0.05) inset;
  transition: all 0.3s ease;
  z-index: 10;
}

.search-box-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 24px 56px -10px rgba(0, 0, 0, 0.85),
              0 0 25px rgba(255, 255, 255, 0.15),
              0 0 1px 1px rgba(255, 255, 255, 0.08) inset;
}

.search-box-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 24px 56px -10px rgba(0, 0, 0, 0.9),
              0 0 30px rgba(255, 255, 255, 0.2),
              0 0 60px rgba(255, 255, 255, 0.1),
              0 0 1px 1px rgba(255, 255, 255, 0.12) inset;
}

.search-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  flex-shrink: 0;
}

.search-box-card:focus-within .search-icon-wrapper {
  color: #ffffff;
}

.requirement-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: #ffffff;
  padding: 10px 0;
}

.requirement-input::placeholder {
  color: var(--text-muted);
  font-weight: 400;
  transition: opacity var(--transition-fast);
}

.requirement-input:focus::placeholder {
  opacity: 0.5;
}

.clear-search-btn {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text-secondary);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.clear-search-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.clear-search-btn.show {
  display: flex;
}

.submit-req-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: #ffffff;
  color: #000000;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.submit-req-btn:hover {
  background: #f0f0ff;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.45),
              0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Quick Requirement Prompt Chips */
.quick-prompt-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  position: relative;
  z-index: 10;
}

.chip-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-right: 4px;
}

.prompt-chip {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.prompt-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-white);
  transform: translateY(-1px);
}

/* ── Main CTA chip "Consultar mis precios" — premium hover (A+C) ── */
.prompt-chip[data-target-service="pricing"] {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  font-weight: 600;
  transition: all 0.3s ease;
}

.prompt-chip[data-target-service="pricing"]:hover {
  transform: scale(1.06) translateY(-3px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
  box-shadow:
    0 0 18px rgba(255, 255, 255, 0.45),
    0 0 40px rgba(255, 255, 255, 0.2),
    0 8px 24px rgba(0, 0, 0, 0.45);
}

.prompt-chip span.chip-icon {
  font-size: 0.9rem;
}

/* Live Search Suggestions Dropdown */
.search-suggestions-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(10, 10, 14, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.98), 
              0 0 30px rgba(255, 255, 255, 0.08),
              0 0 1px 1px rgba(255, 255, 255, 0.15) inset;
  display: none;
  max-height: 380px;
  overflow-y: auto;
  text-align: left;
}

.search-suggestions-dropdown.open {
  display: block;
}

.suggestion-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-bottom: 4px;
}

.suggestion-item:last-child {
  margin-bottom: 0;
}

.suggestion-item:hover,
.suggestion-item.highlighted {
  background: rgba(255, 255, 255, 0.07);
}

.suggestion-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.suggestion-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.suggestion-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 2px;
}

.suggestion-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.suggestion-arrow {
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.suggestion-item:hover .suggestion-arrow {
  color: #ffffff;
  transform: translateX(4px);
}

/* ==========================================================================
   Services Carousel (vertical, Google-style): native vertical scroll-snap
   deck with circular up/down arrow buttons on the right rail; up = previous
   service, down = next service. GPU-friendly: only transform/opacity animate.
   ========================================================================== */
.services-grid-container {
  width: 100%;
  margin-top: 48px;
  margin-bottom: 96px;
  height: min(520px, 74vh);
  position: relative;
  z-index: 1;
}

.services-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.services-grid::-webkit-scrollbar { display: none; }

/* Each card fills exactly one slide of the vertical deck. */
.services-grid .service-card {
  flex: 0 0 100%;
  width: 100%;
  max-width: 1060px;
  min-height: 360px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* Individual Glass Card */
.service-card {
  position: relative;
  width: 100%;
  max-width: 1060px;
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 30px 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 360px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform var(--transition-smooth), 
              border-color var(--transition-smooth), 
              box-shadow var(--transition-smooth),
              background var(--transition-smooth);
  will-change: transform;
}

/* Card Spotlight Glow pseudo-element */
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.09), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

/* Shimmer Border Glow */
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.15) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.4;
  transition: opacity var(--transition-smooth);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.95),
              0 0 35px rgba(255, 255, 255, 0.09);
}

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

.service-card:hover::after {
  opacity: 1;
}

/* ==========================================================================
   Carousel Navigation Arrows (circular, white over black, vertical rail)
   ========================================================================== */
.carousel-arrow {
  position: absolute;
  right: 4px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  color: #000000;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.carousel-arrow-up   { top: calc(50% - 60px); }
.carousel-arrow-down { top: calc(50% + 14px); }

.carousel-arrow:hover:not([disabled]) {
  transform: scale(1.08);
  background: #e4e4e7;
}

.carousel-arrow[disabled] {
  opacity: 0.32;
  cursor: default;
}

/* Card Content Layout */
.card-header-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  transition: all var(--transition-smooth);
}

.service-card:hover .service-icon-box {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.service-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
}

.service-card:hover .service-tag {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.card-body {
  position: relative;
  z-index: 2;
  flex: 1;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 12px;
  transition: color var(--transition-fast);
}

.service-desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.card-metrics-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #d4d4d8;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 16px;
}

.card-footer-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.card-action-text {
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-fast);
}

.service-card:hover .card-action-text {
  gap: 10px;
}

.action-arrow-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all var(--transition-smooth);
}

.service-card:hover .action-arrow-circle {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   Footer & Micro Details
   ========================================================================== */
.main-footer {
  position: relative;
  z-index: 2;
  padding: 40px 0 30px;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}

.footer-content-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-brand {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  color: var(--text-secondary);
}

.footer-legal-group {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-legal-divider {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.75rem;
  user-select: none;
}

.footer-legal-link {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: #a1a1aa;
  text-decoration: none;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
}

.footer-legal-link:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.7), 0 0 20px rgba(255, 255, 255, 0.3);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #ffffff;
}

/* ==========================================================================
   Contact / Proposal Modal
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

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

.modal-card {
  width: 100%;
  max-width: 540px;
  background: rgba(14, 14, 18, 0.95);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 40px rgba(255, 255, 255, 0.08);
  position: relative;
  transform: scale(0.95) translateY(20px);
  transition: transform var(--transition-smooth);
}

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

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

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

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.modal-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* AI Unavailable Modal (Exact Match with Design Reference) */
.ai-unavailable-card {
  max-width: 440px;
  background: rgba(14, 14, 18, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  text-align: center;
  padding: 44px 32px 34px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95), 0 0 40px rgba(255, 255, 255, 0.04);
}

.ai-modal-icon-badge {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-bottom: 22px;
}

.ai-unavailable-card .modal-title {
  font-family: var(--font-heading);
  font-size: 1.42rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.3;
}

.ai-unavailable-card .modal-subtitle {
  font-size: 0.92rem;
  color: #8e8e93;
  line-height: 1.55;
  margin-bottom: 22px;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.ai-modal-badge-row {
  display: flex;
  justify-content: center;
  margin-bottom: 26px;
}

.ai-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: #a1a1aa;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.85); }
}

#btn-understood-ai {
  border-radius: 12px;
  padding: 13px;
  font-size: 0.95rem;
  font-weight: 700;
}

/* ==========================================================================
   Legal Modals (Glassmorphism Pop-ups: Privacy & Terms)
   ========================================================================== */
.legal-modal-overlay {
  background: rgba(0, 0, 0, 0.82);
}

.legal-modal-card {
  max-width: 680px;
  width: 100%;
  background: rgba(14, 14, 20, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.95), 0 0 45px rgba(255, 255, 255, 0.07);
  padding: 36px 32px 30px;
  display: flex;
  flex-direction: column;
  max-height: 88vh;
}

.legal-modal-header {
  margin-bottom: 8px;
  flex-shrink: 0;
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 99px;
  margin-bottom: 12px;
}

.legal-modal-card .modal-title {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.legal-modal-card .modal-subtitle {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.custom-legal-scroll {
  flex: 1;
  overflow-y: auto;
  padding-right: 14px;
  margin: 12px 0 20px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.28) rgba(255, 255, 255, 0.03);
}

.custom-legal-scroll::-webkit-scrollbar {
  width: 6px;
}

.custom-legal-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
}

.custom-legal-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease;
}

.custom-legal-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.45);
}

.legal-section {
  margin-bottom: 20px;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h4 {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.legal-section p {
  font-size: 0.87rem;
  line-height: 1.65;
  color: #d4d4d8;
  margin-bottom: 10px;
}

.legal-section ul {
  padding-left: 20px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-section li {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #d4d4d8;
}

.legal-section li strong {
  color: #ffffff;
}

.legal-modal-footer {
  flex-shrink: 0;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 600px) {
  .legal-modal-card {
    padding: 28px 20px 24px;
    max-height: 92vh;
  }
  .legal-modal-card .modal-title {
    font-size: 1.3rem;
  }
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #ffffff;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}

.form-select option {
  background: #121214;
  color: #ffffff;
}

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

.form-submit-btn {
  width: 100%;
  padding: 14px;
  background: #ffffff;
  color: #000000;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-smooth);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
}

.form-submit-btn:hover {
  background: #e4e4e7;
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   Performance & Touch Optimization
   ========================================================================== */
/* Remove the ~300ms tap delay & highlight flash on mobile interactive elements */
button,
a,
input,
select,
textarea,
label,
[role="button"] {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* Keep animated / transitioned layers compositor-friendly (GPU) */
.search-box-card,
.service-card:hover,
.service-widget-card,
.customization-feature-card,
.pillar-card,
.modal-card,
.search-suggestions-dropdown,
.nfc-wave-ring,
.service-detail-view,
.pricing-view-section {
  will-change: transform, opacity;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1180px) {
  .services-grid-container {
    height: 500px;
  }
}

@media (max-width: 900px) {
  .hero-floats { display: none; }
  .review-card { flex-basis: calc(100vw - 88px); }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .mobile-menu-toggle { display: block; }

  .container { padding: 0 18px; }

  .hero-content {
    height: auto;
    min-height: 100svh;
    padding-top: 150px;
    padding-bottom: 8vh;
  }

  .hero-headline { font-size: 2.1rem; margin-bottom: 22px; }

  .search-box-card { padding: 14px 16px; gap: 10px; }
  .search-icon-wrapper { width: 40px; height: 40px; }
  .search-icon-wrapper svg { width: 18px; height: 18px; }
  .requirement-input { font-size: 1rem; }
  .submit-req-btn { padding: 10px 18px; font-size: 0.85rem; }

  .quick-prompt-chips { gap: 6px; margin-top: 10px; justify-content: flex-start; }
  .chip-label { display: none; }
  .prompt-chip { padding: 5px 12px; font-size: 0.78rem; }

  .btn-cta-services { padding: 11px 28px; font-size: 0.85rem; margin-top: 20px; }

  .services-grid-container {
    height: 440px;
    margin-top: 32px;
    margin-bottom: 64px;
  }

  .service-card { min-height: 320px; padding: 24px 20px 22px; }
  .service-title { font-size: 1.2rem; }
  .service-desc { font-size: 0.88rem; line-height: 1.55; }

  .carousel-arrow { width: 40px; height: 40px; right: 2px; font-size: 1.2rem; }
  .carousel-arrow-up { top: calc(50% - 54px); }
  .carousel-arrow-down { top: calc(50% + 14px); }

  .portfolio-section,
  .reviews-section,
  .newsletter-section { padding: 72px 0; }
  .marquee-section { padding: 56px 0 72px; }

  .portfolio-floats { display: none; }
  .portfolio-banner { padding: clamp(44px, 8vw, 72px) 20px; }
  .portfolio-title { font-size: clamp(1.4rem, 5vw, 2rem); }
  .portfolio-sub { font-size: 0.9rem; margin-bottom: 26px; }
  .portfolio-stat { min-width: 104px; padding: 12px 14px; }

  .review-card { flex-basis: calc(100vw - 64px); padding: 22px 20px; }
  .review-arrow { width: 40px; height: 40px; }

  .section-head { margin-bottom: 36px; }
  .section-title { font-size: clamp(1.4rem, 4vw, 2rem); }

  .footer-content-row { flex-direction: column; gap: 16px; text-align: center; }
}

/* ==========================================================================
   Home Content Blocks (below the services carousel)
   ========================================================================== */

.portfolio-section,
.reviews-section,
.newsletter-section {
  padding: 96px 0;
}

.marquee-section {
  padding: 72px 0 96px;
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.section-sub {
  margin-top: 12px;
  font-size: 0.95rem;
  color: #a1a1aa;
}

/* 1. Productivity banner (contrast against the flat black) */
.prod-banner {
  width: 100%;
  background: #121212;
  padding: clamp(72px, 12vh, 130px) 0;
  text-align: center;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.prod-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #71717a;
  margin-bottom: 20px;
}

.prod-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.06;
  color: #ffffff;
  max-width: 900px;
  margin: 0 auto 22px;
}

.prod-desc {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.7;
  color: #d4d4d8;
  max-width: 640px;
  margin: 0 auto;
}

/* 2. Webs creadas por nixyGT (glassmorphism banner) */
.portfolio-banner {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: clamp(56px, 9vw, 96px) 24px;
  text-align: center;
  overflow: hidden;
}

.portfolio-banner::before {
  content: '';
  position: absolute;
  inset: auto -20% -60% -20%;
  height: 140%;
  background: radial-gradient(ellipse at 50% 100%, rgba(255, 255, 255, 0.08), transparent 60%);
  pointer-events: none;
}

.portfolio-banner > * {
  position: relative;
  z-index: 1;
}

.portfolio-wrap {
  position: relative;
}

.portfolio-floats {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.portfolio-f-icon {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.5);
  animation: heroFloat 6s ease-in-out infinite;
}

.pf-monitor { top: 18%; left: -22px; }
.pf-rocket { top: 24%; right: -22px; animation-delay: 1.5s; }

.portfolio-f-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  animation: heroFloat 6s ease-in-out infinite;
}

.pf-dot-a { bottom: 24%; left: -13px; animation-delay: 2.2s; }
.pf-dot-b { bottom: 30%; right: -13px; animation-delay: 0.8s; }

.portfolio-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #a1a1aa;
  margin-bottom: 16px;
}

.portfolio-eyebrow::before,
.portfolio-eyebrow::after {
  content: '';
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35));
}

.portfolio-eyebrow::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.35), transparent);
}

.portfolio-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4.6vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.08;
  text-transform: none;
  color: #ffffff;
  max-width: 760px;
  margin: 0 auto 14px;
}

.portfolio-accent {
  font-weight: 800;
  background: linear-gradient(120deg, #ffffff 30%, #9ca3af);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.portfolio-sub {
  font-size: 1rem;
  line-height: 1.7;
  color: #a1a1aa;
  max-width: 540px;
  margin: 0 auto 30px;
}

.portfolio-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 auto 34px;
}

.portfolio-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 118px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
}

.portfolio-stat strong {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
}

.portfolio-stat span {
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: #a1a1aa;
}

.portfolio-ver-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 34px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #000000;
  background: #ffffff;
  border: none;
  border-radius: var(--radius-pill);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 30px -8px rgba(255, 255, 255, 0.35);
}

.portfolio-ver-btn svg {
  transition: transform 0.2s ease;
}

.portfolio-ver-btn:hover {
  background: #e4e4e7;
  transform: scale(1.02);
  box-shadow: 0 14px 44px -8px rgba(255, 255, 255, 0.5);
}

.portfolio-ver-btn:hover svg {
  transform: translateX(3px);
}

/* 3. Client reviews (horizontal carousel: arrows + native swipe) */
.reviews-viewport {
  position: relative;
}

.reviews-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 8px 4px;
}

.reviews-track::-webkit-scrollbar { display: none; }

.review-card {
  flex: 0 0 420px;
  max-width: calc(100vw - 48px);
  background: rgba(14, 14, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.review-card:hover {
  transform: scale(1.02);
  border-color: rgba(255, 255, 255, 0.3);
}

.review-rating {
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  color: #ffffff;
}

.review-text {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #e4e4e7;
}

.review-author {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
}

.review-company {
  font-size: 0.8rem;
  color: #71717a;
}

.review-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: #000000;
  border: none;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.review-arrow-prev { left: 0; }
.review-arrow-next { right: 0; }

.review-arrow:hover:not([disabled]) {
  transform: translateY(-50%) scale(1.08);
  background: #e4e4e7;
}

.review-arrow[disabled] {
  opacity: 0.32;
  cursor: default;
}

/* 4. Brands & technologies marquee (pure CSS, infinite loop) */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 22px 0;
}

.marquee-track {
  display: inline-flex;
  white-space: nowrap;
  animation: marqueeScroll 26s linear infinite;
  will-change: transform;
}

.marquee-group {
  display: inline-flex;
  align-items: center;
}

.marquee-logo {
  height: 26px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  margin: 0 26px;
  opacity: 0.9;
}

.marquee-sep {
  color: #52525b;
  font-size: 0.8rem;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* 5. Newsletter (Formspree) */
.newsletter-section {
  text-align: center;
  background: #121212;
  border-top: 1px solid var(--border-subtle);
}

.newsletter-section .section-title {
  max-width: 640px;
  margin: 0 auto 32px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  background: #121212;
  border: 1px solid #333333;
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.newsletter-form input[type="email"]::placeholder { color: #71717a; }
.newsletter-form input[type="email"]:focus { border-color: rgba(255, 255, 255, 0.6); }

.newsletter-form button {
  background: #ffffff;
  color: #000000;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.15s ease;
}

.newsletter-form button:hover {
  background: #e4e4e7;
  transform: translateY(-1px);
}

.newsletter-note {
  margin-top: 16px;
  font-size: 0.78rem;
  color: #71717a;
}

@media (max-width: 600px) {
  .hero-floats { display: none; }

  .container { padding: 0 16px; }

  .hero-content {
    padding-top: 140px;
    padding-bottom: 6vh;
  }

  .hero-headline { font-size: 1.75rem; margin-bottom: 16px; }

  .search-box-card { padding: 10px 12px; gap: 8px; border-radius: var(--radius-md); }
  .search-icon-wrapper { width: 34px; height: 34px; }
  .search-icon-wrapper svg { width: 16px; height: 16px; }
  .requirement-input { font-size: 0.92rem; padding: 6px 0; }
  .submit-req-btn { padding: 8px 14px; font-size: 0.8rem; border-radius: var(--radius-md); }

  .prompt-chip { padding: 4px 10px; font-size: 0.72rem; gap: 4px; }
  .prompt-chip svg { width: 11px; height: 11px; }

  .btn-cta-services { padding: 10px 22px; font-size: 0.82rem; margin-top: 16px; }
  .btn-cta-services svg { width: 12px; height: 12px; }
  .btn-panel-control { padding: 8px 16px; font-size: 0.78rem; }

  .requirement-selector-container { margin: 20px auto 32px; }

  .services-grid-container {
    height: 400px;
    margin-top: 24px;
    margin-bottom: 56px;
  }

  .services-grid { gap: 16px; }
  .service-card { min-height: 280px; padding: 20px 16px; border-radius: var(--radius-lg); }
  .service-icon-box { width: 44px; height: 44px; border-radius: 10px; }
  .service-icon-box svg { width: 20px; height: 20px; }
  .service-title { font-size: 1.1rem; }
  .service-desc { font-size: 0.85rem; line-height: 1.5; }
  .card-metrics-pill { gap: 8px; padding: 6px 12px; font-size: 0.78rem; }
  .card-action-row { gap: 12px; padding: 0 4px; }
  .card-action-text { font-size: 0.82rem; }

  .carousel-arrow { width: 36px; height: 36px; right: 0; font-size: 1rem; border-width: 0; }
  .carousel-arrow-up { top: calc(50% - 48px); }
  .carousel-arrow-down { top: calc(50% + 12px); }

  .portfolio-section,
  .reviews-section,
  .newsletter-section { padding: 56px 0; }
  .marquee-section { padding: 44px 0 56px; }

  .section-head { margin-bottom: 28px; }
  .section-title { font-size: clamp(1.25rem, 5vw, 1.8rem); }
  .section-sub { font-size: 0.85rem; }

  .prod-banner { padding: clamp(52px, 10vh, 80px) 0; }
  .prod-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .prod-desc { font-size: 0.9rem; }
  .prod-kicker { font-size: 0.65rem; letter-spacing: 0.28em; }

  .portfolio-banner { padding: 44px 16px; }
  .portfolio-title { font-size: clamp(1.3rem, 5.5vw, 1.7rem); }
  .portfolio-sub { font-size: 0.85rem; margin-bottom: 24px; }
  .portfolio-stats { gap: 10px; margin-bottom: 28px; }
  .portfolio-stat { min-width: 96px; padding: 10px 12px; }
  .portfolio-stat strong { font-size: 1.1rem; }
  .portfolio-ver-btn { padding: 11px 28px; font-size: 0.88rem; }

  .review-card { flex-basis: calc(100vw - 40px); padding: 20px 16px; gap: 12px; }
  .review-text { font-size: 0.9rem; line-height: 1.6; }
  .review-arrow { width: 36px; height: 36px; font-size: 1.2rem; }
  .review-arrow-prev { left: 2px; }
  .review-arrow-next { right: 2px; }

  .marquee-logo { height: 20px; margin: 0 18px; }
  .marquee-sep { font-size: 0.7rem; }

  .newsletter-form { flex-direction: column; gap: 10px; }
  .newsletter-form button { width: 100%; padding: 14px; }
  .newsletter-section .section-title { margin-bottom: 24px; }

  .main-footer { padding: 28px 0 20px; }
}