/* ============================================================
   SUNSET MANAGER — MODERN CSS
   Design System: Inter + Poppins | Orange + Navy
   ============================================================ */

/* ---- CSS CUSTOM PROPERTIES ---- */
:root {
  /* Brand Colors */
  --orange:        #f77737;
  --orange-light:  #fb923c;
  --orange-dark:   #ea580c;
  --orange-glow:   rgba(247, 119, 55, 0.15);

  /* Neutrals */
  --dark:          #0f172a;
  --dark-2:        #1e293b;
  --dark-3:        #334155;
  --mid:           #64748b;
  --light-2:       #cbd5e1;
  --light-3:       #e2e8f0;
  --light:         #f1f5f9;
  --white:         #ffffff;

  /* Blue accent */
  --blue:          #3b82f6;
  --blue-light:    #60a5fa;
  --blue-glow:     rgba(59, 130, 246, 0.15);

  /* Green */
  --green:         #22c55e;
  --green-glow:    rgba(34, 197, 94, 0.15);

  /* Typography */
  --font-body:     'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading:  'Poppins', 'Inter', sans-serif;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 10px 40px rgba(0,0,0,.14);
  --shadow-xl:  0 20px 60px rgba(0,0,0,.18);
  --shadow-orange: 0 8px 30px rgba(247,119,55,.30);

  /* Transitions */
  --trans-fast:   150ms ease;
  --trans-normal: 300ms ease;
  --trans-slow:   500ms ease;

  /* Layout */
  --max-width: 1200px;
  --nav-h:     72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--white);
  color: var(--dark-3);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

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

/* ---- UTILITY CLASSES ---- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.gradient-text {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all var(--trans-normal);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: var(--white);
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(247,119,55,.40);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--dark-2);
  border-color: var(--light-3);
}

.btn-outline:hover {
  background: var(--light);
  border-color: var(--light-2);
}

.btn-ghost {
  background: var(--light);
  color: var(--dark-2);
}

.btn-ghost:hover {
  background: var(--light-3);
}

.btn-white {
  background: var(--white);
  color: var(--orange-dark);
  font-weight: 700;
}

.btn-white:hover {
  background: var(--light);
  transform: translateY(-2px);
  color: var(--orange-dark);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}

.btn-group.center {
  justify-content: center;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

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

.section-desc {
  font-size: 1.05rem;
  color: var(--mid);
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: var(--space-md);
}

.section-desc.center {
  text-align: center;
  margin: 0 auto var(--space-md);
}

.section-header {
  margin-bottom: var(--space-xl);
}

.alt-bg {
  background-color: var(--light);
}

/* ---- SCROLL REVEAL ANIMATIONS ---- */
.reveal {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.fade-up    { transform: translateY(40px); }
.reveal.fade-down  { transform: translateY(-40px); }
.reveal.fade-left  { transform: translateX(50px); }
.reveal.fade-right { transform: translateX(-50px); }
.reveal.scale      { transform: scale(0.92); }

.reveal.active {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 0.15s !important; }
.delay-2 { transition-delay: 0.30s !important; }
.delay-3 { transition-delay: 0.45s !important; }
.delay-4 { transition-delay: 0.60s !important; }

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: transparent;
  transition: background var(--trans-normal), box-shadow var(--trans-normal);
}

.navbar.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--light-3), var(--shadow-sm);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--dark);
  flex-shrink: 0;
}

.nav-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav-logo strong { color: var(--orange); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-link {
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark-3);
  transition: all var(--trans-fast);
}

.navbar:not(.scrolled) .nav-link { color: rgba(255,255,255,.85); }
.navbar:not(.scrolled) .nav-logo { color: var(--white); }

.nav-link:hover {
  background: var(--orange-glow);
  color: var(--orange);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-left: var(--space-sm);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: background var(--trans-fast);
}

.hamburger:hover { background: var(--orange-glow); }

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--dark-2);
  transition: all var(--trans-normal);
}

.navbar:not(.scrolled) .hamburger span { background: var(--white); }

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 60%, #1a2744 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
}

.blob-1 {
  width: 600px;
  height: 600px;
  background: var(--orange);
  top: -200px;
  right: -100px;
  animation: blobFloat 8s ease-in-out infinite alternate;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: var(--blue);
  bottom: -150px;
  left: -100px;
  animation: blobFloat 10s ease-in-out infinite alternate-reverse;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

@keyframes blobFloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, 20px) scale(1.05); }
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(247,119,55,.15);
  border: 1px solid rgba(247,119,55,.30);
  color: var(--orange-light);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: var(--space-md);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.65);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-tags span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,.55);
}

.hero-tags i { color: var(--green); font-size: 0.75rem; }

/* Hero Visual Card */
.hero-visual {
  position: relative;
}

.hero-card {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.card-float {
  animation: cardFloat 6s ease-in-out infinite;
}

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

.hcard-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.2);
}

.hcard-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
}
.hcard-dot.red    { background: #ff5f57; }
.hcard-dot.yellow { background: #febc2e; }
.hcard-dot.green  { background: #28c840; }

.hcard-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  margin-left: 0.3rem;
}

.hcard-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.hcard-stat {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hcard-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.hcard-icon.orange { background: var(--orange-glow); color: var(--orange); border: 1px solid rgba(247,119,55,.3); }
.hcard-icon.blue   { background: var(--blue-glow); color: var(--blue); border: 1px solid rgba(59,130,246,.3); }
.hcard-icon.green  { background: var(--green-glow); color: var(--green); border: 1px solid rgba(34,197,94,.3); }

.hcard-stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,.45);
  margin-bottom: 0.1rem;
}

.hcard-stat-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
}

.hcard-modules {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(255,255,255,.08);
}

.module-tag {
  background: rgba(247,119,55,.12);
  border: 1px solid rgba(247,119,55,.25);
  color: var(--orange-light);
  border-radius: 100px;
  padding: 0.2rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.hero-badge-float {
  position: absolute;
  bottom: -20px;
  left: -30px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark-2);
  box-shadow: var(--shadow-lg);
  animation: badgePulse 3s ease-in-out infinite;
}

.hero-badge-float i { color: var(--orange); }

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

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.35);
  font-size: 1.2rem;
  animation: bounce 2s ease-in-out infinite;
  z-index: 2;
}

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

/* ---- STATS ---- */
.stats-section {
  padding: var(--space-xl) 0;
  background: var(--white);
  border-bottom: 1px solid var(--light-3);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.stat-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.stat-icon {
  width: 52px;
  height: 52px;
  background: var(--orange-glow);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
  display: inline;
}

.stat-plus {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange);
  display: inline;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--mid);
  font-weight: 500;
}

/* ---- PRODUCT SECTIONS ---- */
.product-section {
  padding: var(--space-2xl) 0;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.product-grid.reverse { direction: rtl; }
.product-grid.reverse > * { direction: ltr; }

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--orange-glow);
  border: 1px solid rgba(247,119,55,.25);
  color: var(--orange-dark);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.product-badge.orange { background: var(--orange-glow); border-color: rgba(247,119,55,.3); color: var(--orange-dark); }
.product-badge.blue   { background: var(--blue-glow); border-color: rgba(59,130,246,.3); color: var(--blue); }
.product-badge.center { display: flex; justify-content: center; }

.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.feature-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: var(--orange-glow);
  color: var(--orange);
  border: 1px solid rgba(247,119,55,.2);
}

.feature-icon.orange { background: var(--orange-glow); color: var(--orange); }
.feature-icon.blue   { background: var(--blue-glow);   color: var(--blue); }

.feature-item h4 {
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.2rem;
}

.feature-item p {
  font-size: 0.88rem;
  color: var(--mid);
  line-height: 1.6;
}

/* Product Visual Cards */
.product-card-visual {
  background: var(--white);
  border: 1px solid var(--light-3);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
}

.product-card-visual.dark {
  background: var(--dark);
  border-color: rgba(255,255,255,.08);
}

.product-card-visual.blue-theme {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-color: rgba(59,130,246,.2);
}

.pv-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--dark-2);
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--light-3);
}

.dark .pv-header { color: var(--white); border-color: rgba(255,255,255,.08); }

.pv-icon {
  width: 34px;
  height: 34px;
  background: var(--orange-glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 0.9rem;
}

.pv-modules {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.pv-module {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  background: var(--light);
  color: var(--mid);
  border: 1px solid var(--light-3);
  transition: all var(--trans-fast);
}

.pv-module.light {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.6);
  border-color: rgba(255,255,255,.1);
}

.pv-module.active {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
  box-shadow: 0 4px 12px rgba(247,119,55,.3);
}

.pv-module.light.active {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

/* Bar chart visual */
.pv-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 100px;
  margin-bottom: 1.2rem;
  background: var(--light);
  border-radius: var(--radius-sm);
  padding: 0.8rem;
}

.pv-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: var(--light-3);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  transition: all var(--trans-normal);
}

.pv-bar.highlight { background: var(--orange); }

.pv-bar span {
  font-size: 0.65rem;
  color: var(--mid);
  margin-bottom: -1.2rem;
  white-space: nowrap;
}

.pv-bar.highlight span { color: var(--orange-dark); font-weight: 600; }

.pv-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--orange);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  justify-content: center;
}

.pv-cta:hover { color: var(--orange-dark); }

/* ERP Feature Grid */
.pv-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.pv-feat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,.7);
}

.pv-feat i { color: var(--orange-light); }

.pv-download-hint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--green);
  font-weight: 500;
  justify-content: center;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255,255,255,.08);
}

/* Nomina cards */
.nomina-cards {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.nomina-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--white);
  border: 1px solid rgba(59,130,246,.15);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
}

.nomina-card-icon {
  width: 36px;
  height: 36px;
  background: var(--blue-glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.nomina-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-2);
}

.nomina-val {
  display: block;
  font-size: 0.75rem;
  color: var(--mid);
}

/* ---- CLIENTES ---- */
.clientes-section {
  padding: var(--space-2xl) 0;
}

.clientes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.cliente-card {
  background: var(--white);
  border: 1px solid var(--light-3);
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transition: all var(--trans-normal);
}

.cliente-card:hover {
  border-color: var(--orange);
  box-shadow: 0 4px 20px rgba(247,119,55,.12);
  transform: translateY(-2px);
}

.cliente-nombre {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark-2);
  line-height: 1.4;
}

.cliente-codigo {
  font-size: 0.72rem;
  color: var(--mid);
  font-family: 'Courier New', monospace;
}

.clientes-cta {
  display: flex;
  justify-content: center;
}

/* ---- CTA SECTION ---- */
.cta-section {
  position: relative;
  padding: var(--space-2xl) 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  overflow: hidden;
  text-align: center;
}

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

.cta-blob {
  position: absolute;
  width: 500px;
  height: 500px;
  background: var(--orange);
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.cta-content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.65);
  margin-bottom: var(--space-lg);
}

/* ---- FOOTER ---- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.6);
  padding: var(--space-xl) 0 var(--space-md);
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand .nav-logo {
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

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

.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255,255,255,.6);
  transition: all var(--trans-fast);
}

.footer-social a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.footer-col h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col a {
  font-size: 0.87rem;
  color: rgba(255,255,255,.5);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color var(--trans-fast);
}

.footer-col a:hover { color: var(--orange); }
.footer-col a i { font-size: 0.75rem; }

.footer-bottom {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.footer-bottom a { color: var(--orange); }
.footer-bottom a:hover { color: var(--orange-light); }

/* ---- FAB BAR (Mobile floating actions) ---- */
.fab-bar {
  display: none;
  position: fixed;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 900;
  background: rgba(15,23,42,.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 100px;
  padding: 0.5rem 1rem;
  gap: 0.5rem;
  box-shadow: var(--shadow-xl);
}

.fab-item {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: rgba(255,255,255,.7);
  font-size: 1rem;
  transition: all var(--trans-fast);
}

.fab-item:hover {
  background: var(--orange);
  color: var(--white);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet (1024px) */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
}

/* Mobile nav + layout (768px) */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: var(--space-md);
    gap: 0.25rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-110%);
    opacity: 0;
    transition: transform var(--trans-normal), opacity var(--trans-normal);
    margin-left: 0;
    border-bottom: 1px solid var(--light-3);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-link {
    padding: 0.7rem 1rem;
    color: var(--dark-3) !important;
    width: 100%;
    border-radius: var(--radius-sm);
  }

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

  .hero-container {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    padding: var(--space-xl) var(--space-sm) var(--space-lg);
    text-align: center;
  }

  .hero-badge { justify-content: center; margin: 0 auto var(--space-md); }
  .hero-cta { justify-content: center; }
  .hero-tags { justify-content: center; }

  .hero-badge-float {
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    padding: 0.5rem 0.8rem;
  }

  .product-grid,
  .product-grid.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: var(--space-lg);
  }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }

  .footer-grid { grid-template-columns: 1fr; gap: var(--space-md); }

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

  .fab-bar { display: flex; }

  .clientes-grid { grid-template-columns: 1fr 1fr; }
}

/* Small phones (480px) */
@media (max-width: 480px) {
  .hero-title { font-size: 1.9rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .btn-lg { padding: 0.75rem 1.2rem; font-size: 0.9rem; }
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .clientes-grid { grid-template-columns: 1fr; }
  .pv-bar-chart { height: 80px; }
}

/* ============================================================
   HOVER & INTERACTION POLISH
   ============================================================ */
.product-card-visual:hover { box-shadow: var(--shadow-xl); }

.feature-item:hover .feature-icon {
  transform: scale(1.1) rotate(-3deg);
  transition: transform var(--trans-normal);
}

.stat-item:hover .stat-icon {
  background: var(--orange);
  color: var(--white);
  transform: scale(1.05);
  transition: all var(--trans-normal);
}

/* Fix scrolled nav link colors */
.navbar.scrolled .nav-link { color: var(--dark-3); }
.navbar.scrolled .nav-logo { color: var(--dark); }
.navbar.scrolled .hamburger span { background: var(--dark-2); }
