/* ═══════════════════════════════════════════════
   CONQUER — style.css
   Estilos compartidos por todas las páginas
   ═══════════════════════════════════════════════ */

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

:root {
  --white: #FFFFFF;
  --black: #0A0A0A;
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #E5E5E5;
  --gray-300: #D4D4D4;
  --gray-400: #A3A3A3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-800: #262626;
  --gray-900: #171717;

  /* Productos */
  --blue:    #007AFF;
  --pink:    #FF015B;
  --rose:    #EC3C64;
  --teal:    #00CCCC;
  --orange:  #EA580C;
  --sky:     #0EA5E9;
  --green:   #059669;
  --purple:  #007AFF;

  /* Aliases por producto */
  --ventas-color:      #007AFF;
  --logistica-color:   #FF015B;
  --b2b-color:         #EC3C64;
  --marketplace-color: #00CCCC;
  --place-color:       #EA580C;
  --smartpanel-color:  #0EA5E9;

  --font-body:    'Open Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Open Sans', system-ui, -apple-system, sans-serif;
  --max-w:  1200px;
  --nav-h:  64px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── LAYOUT ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) { .container { padding: 0 48px; } }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
}
.nav.scrolled {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--gray-200);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) { .nav-inner { padding: 0 48px; } }

.nav-logo {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-breadcrumb {
  font-size: 13px;
  color: var(--gray-400);
  display: none;
  align-items: center;
  gap: 6px;
}
@media (min-width: 600px) { .nav-breadcrumb { display: flex; } }
.nav-breadcrumb span { color: var(--black); font-weight: 600; }

.nav-links {
  display: none;
  gap: 28px;
  font-size: 16px;
  font-weight: 500;
  color: var(--gray-500);
  align-items: center;
}
@media (min-width: 900px) { .nav-links { display: flex; } }
.nav-links a:hover { color: var(--black); }

/* Ocultar pestaña Precios en todos los navs */
.nav-links a[href="precios.html"],
.nav-links a[href*="precios"] { display: none !important; }

.btn-nav {
  background: var(--black);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 80px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: transform .2s, background .2s;
}
.btn-nav:hover { background: var(--gray-800); transform: scale(1.03); }

/* Mega menu (home/demo) */
.mega-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 40px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all .25s ease;
  z-index: 99;
}
.mega-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}
.mega-item {
  padding: 16px;
  border-radius: 12px;
  transition: background .2s;
  cursor: pointer;
}
.mega-item:hover { background: var(--gray-50); }
.mega-item-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
}
.mega-item-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.mega-item-name  { font-size: 14px; font-weight: 600; margin-bottom: 4px; color: var(--black); }
.mega-item-desc  { font-size: 13px; color: var(--gray-500); line-height: 1.4; }

/* Mobile toggle */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.mobile-toggle span { width: 20px; height: 1.5px; background: var(--black); transition: transform .3s; }
@media (min-width: 900px) { .mobile-toggle { display: none; } }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 98;
  padding: calc(var(--nav-h) + 32px) 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-size: 28px;
  font-weight: 500;
  padding: 12px 0;
  color: var(--gray-800);
  border-bottom: 1px solid var(--gray-100);
}

/* ── FOOTER ── */
.footer {
  padding: 64px 0 40px;
  background: var(--gray-900);
  color: rgba(255,255,255,.5);
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }

.footer-brand { font-size: 14px; line-height: 1.6; }
.footer-brand-logo {
  height: 28px;
  width: auto;
  display: block;
  margin-bottom: 14px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  padding: 4px 0;
  transition: color .2s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { transition: color .2s; }
.footer-bottom a:hover { color: var(--white); }
.footer-legal { display: flex; gap: 20px; }

/* ── BOTONES GLOBALES ── */
.btn-primary {
  background: var(--black);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 80px;
  font-size: 16px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: transform .2s, box-shadow .2s;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(0,0,0,.15); }

.btn-ghost {
  background: none;
  color: var(--gray-600);
  padding: 14px 28px;
  border-radius: 80px;
  font-size: 16px;
  font-weight: 500;
  border: 1px solid var(--gray-200);
  cursor: pointer;
  font-family: inherit;
  transition: color .2s, border-color .2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-ghost:hover { border-color: var(--gray-400); color: var(--black); }

.btn-white {
  background: var(--white);
  color: var(--black);
  padding: 16px 36px;
  border-radius: 80px;
  font-size: 16px;
  font-weight: 500;
  transition: transform .2s, box-shadow .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 4px 24px rgba(255,255,255,.15); }

/* ── SECCIONES COMUNES ── */

/* Promise */
.promise { padding: 100px 0; text-align: center; }
@media (max-width: 768px) { .promise { padding: 70px 0; } }
.promise-text {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 400;
  line-height: 1.55;
  color: var(--gray-800);
  max-width: 700px;
  margin: 0 auto;
  letter-spacing: -0.01em;
}
.promise-text em { font-style: italic; font-weight: 600; }

/* Feature blocks */
.features { padding: 40px 0 120px; }
@media (max-width: 768px) { .features { padding: 20px 0 80px; } }

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
  border-top: 1px solid var(--gray-200);
}
@media (max-width: 768px) { .feature-block { grid-template-columns: 1fr; gap: 36px; padding: 56px 0; } }
.feature-block:nth-child(even)         { direction: rtl; }
.feature-block:nth-child(even) > *     { direction: ltr; }

.feature-tag {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.feature-block h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 14px;
}
.feature-block p {
  font-size: 16px;
  color: var(--gray-500);
  line-height: 1.6;
  max-width: 440px;
}
.feature-visual {
  aspect-ratio: 4/3;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

/* Benefits */
.benefits { padding: 100px 0; background: var(--gray-50); }
@media (max-width: 768px) { .benefits { padding: 70px 0; } }

.benefits-header { text-align: center; margin-bottom: 56px; }
.benefits-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.benefits-sub { font-size: 17px; color: var(--gray-500); max-width: 460px; margin: 0 auto; }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .benefits-grid { grid-template-columns: 1fr; } }

.benefit-card {
  background: var(--white);
  padding: 28px;
  border-radius: 16px;
  border: 1px solid var(--gray-200);
}
.benefit-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.benefit-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.benefit-card p  { font-size: 14px; color: var(--gray-500); line-height: 1.5; }

/* Use cases */
.usecases { padding: 100px 0; border-top: 1px solid var(--gray-200); }
@media (max-width: 768px) { .usecases { padding: 70px 0; } }
.usecases-header { text-align: center; margin-bottom: 48px; }

.uc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 768px) { .uc-grid { grid-template-columns: 1fr; } }

.uc-card {
  padding: 28px;
  border-radius: 16px;
  border: 1px solid var(--gray-200);
  transition: all .3s;
}
.uc-card:hover { border-color: transparent; box-shadow: 0 6px 32px rgba(0,0,0,.06); transform: translateY(-2px); }
.uc-card-emoji { font-size: 28px; margin-bottom: 14px; display: block; }
.uc-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.uc-card p  { font-size: 14px; color: var(--gray-500); line-height: 1.5; }

/* Suite section */
.suite {
  padding: 100px 0;
  background: var(--gray-900);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) { .suite { padding: 70px 0; } }
.suite::before {
  content: '';
  position: absolute;
  top: -30%; left: 30%;
  width: 40%; height: 160%;
  background: radial-gradient(ellipse, rgba(0,122,255,.12), transparent 60%);
  pointer-events: none;
}
.suite-header { text-align: center; margin-bottom: 56px; position: relative; z-index: 1; }
.suite-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 12px;
}
.suite-desc { font-size: 17px; color: rgba(255,255,255,.45); max-width: 500px; margin: 0 auto; }

.suite-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; z-index: 1; }
@media (max-width: 768px) { .suite-grid { grid-template-columns: 1fr; } }

.suite-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 24px;
  transition: all .3s;
  cursor: pointer;
}
.suite-card:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); }
.suite-card-dot { width: 10px; height: 10px; border-radius: 50%; margin-bottom: 14px; }
.suite-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.suite-card p  { font-size: 13px; color: rgba(255,255,255,.4); line-height: 1.45; }
.suite-card-link {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color .2s;
}
.suite-card:hover .suite-card-link { color: var(--white); }

/* Clients */
.clients { padding: 100px 0; text-align: center; }
@media (max-width: 768px) { .clients { padding: 70px 0; } }
.clients-tag {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.clients-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  margin-bottom: 48px;
}
.client-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px 56px;
  max-width: 800px;
  margin: 0 auto 48px;
  opacity: .45;
}
@media (max-width: 560px) { .client-logos { gap: 24px 32px; } }
.logo-item {
  height: 48px;
  width: auto;
  min-width: 160px;
  max-width: 220px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter .3s;
}
.logo-item:hover { filter: grayscale(0%); }

.client-testimonial { max-width: 600px; margin: 0 auto; }
.client-testimonial blockquote {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 26px);
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 16px;
  color: var(--gray-800);
}
.client-testimonial cite { font-size: 14px; color: var(--gray-500); font-style: normal; }

/* CTA final */
.cta-final {
  padding: 120px 0;
  text-align: center;
  background: var(--gray-900);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) { .cta-final { padding: 80px 0; } }
.cta-final::before {
  content: '';
  position: absolute;
  bottom: -30%; right: -10%;
  width: 50%; height: 160%;
  background: radial-gradient(ellipse, rgba(0,122,255,.12), transparent 60%);
  pointer-events: none;
}
.cta-final h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  position: relative;
}
.cta-final .sub {
  font-size: 18px;
  color: rgba(255,255,255,.5);
  margin-bottom: 36px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.cta-link { margin-top: 20px; font-size: 14px; position: relative; }
.cta-link a { color: rgba(255,255,255,.4); text-decoration: underline; text-underline-offset: 3px; transition: color .2s; }
.cta-link a:hover { color: rgba(255,255,255,.7); }

/* ── OCULTAR PRECIOS ── */
/* Sección "Calculá tu plan" en páginas de producto */
.pricing-section-hide,
section#pricing,
a[href="precios.html"].btn-pricing-link { display: none !important; }

/* "O explorá los precios →" en home */
.cta-links { display: none !important; }

/* "Ver precios →" en cta-link dentro de cta-final */
.cta-final .cta-link { display: none !important; }

/* ── SECTION TAG / LABELS ── */
.section-tag {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-desc { font-size: 18px; color: var(--gray-500); max-width: 560px; line-height: 1.5; }

/* ── HERO DEVICES (shared mockup pieces) ── */
.phone-mock {
  width: 220px;
  background: var(--white);
  border-radius: 28px;
  padding: 8px;
  position: relative;
}
@media (max-width: 640px) { .phone-mock { width: 160px; border-radius: 22px; padding: 6px; } }

.phone-screen {
  background: var(--gray-50);
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 9/19.5;
}
@media (max-width: 640px) { .phone-screen { border-radius: 18px; } }

.phone-notch {
  width: 80px; height: 24px;
  background: var(--white);
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
@media (max-width: 640px) { .phone-notch { width: 60px; height: 18px; } }

.phone-ui { padding: 12px; }
@media (max-width: 640px) { .phone-ui { padding: 8px; } }

.laptop-mock {
  width: 460px;
  background: var(--white);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 24px 60px rgba(0,0,0,.08), 0 0 0 1px var(--gray-200);
  display: none;
}
@media (min-width: 900px) { .laptop-mock { display: block; } }

.laptop-screen { background: var(--gray-50); border-radius: 8px; overflow: hidden; aspect-ratio: 16/10; }
.laptop-bar {
  height: 28px;
  background: var(--gray-100);
  display: flex; align-items: center;
  padding: 0 10px; gap: 5px;
  border-bottom: 1px solid var(--gray-200);
}
.laptop-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gray-200); }

/* ── ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.rd1 { transition-delay: .1s; }
.rd2 { transition-delay: .2s; }
.rd3 { transition-delay: .3s; }
.rd4 { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── UTILITIES ── */
.hidden-prices { display: none !important; }
