/* =====================================================
   page-productos.css — Estilos exclusivos de /productos/
   ===================================================== */

/* ---- PAGE HERO ---- */
.page-hero--productos {
  padding: 140px 2rem 80px;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero--productos .hero-glow {
  position: absolute; top: -30%; right: -15%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(249,115,22,0.12) 0%, transparent 65%);
  border-radius: 50%; z-index: 0; pointer-events: none;
}
.page-hero--productos .page-hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.page-hero--productos h1 { font-size: var(--text-4xl); margin-bottom: 1.25rem; }
.page-hero--productos h1 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero--productos .page-hero-lead {
  font-size: var(--text-lg); font-weight: 300; color: var(--muted); line-height: 1.75;
}

/* Hero preview cards */
.hero-products-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hpp-card {
  background: var(--dark2); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 1.25rem;
  display: flex; align-items: center; gap: 12px;
  transition: border-color 0.2s;
}
.hpp-card:hover { border-color: rgba(249,115,22,0.3); }
.hpp-card.wip { opacity: 0.55; }
.hpp-logo {
  width: 42px; height: 42px; border-radius: 10px; overflow: hidden;
  background: rgba(255,255,255,0.04); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.hpp-logo img { width: 100%; height: 100%; object-fit: cover; }
.hpp-name { font-family: var(--font-d); font-size: var(--text-sm); font-weight: 700; margin-bottom: 2px; }
.hpp-type { font-size: var(--text-xs); color: rgba(255,255,255,0.3); }

@media (max-width: 768px) {
  .page-hero--productos .page-hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-products-preview { display: none; }
}

/* ---- PRODUCT BLOCKS ---- */
.products-wrap { padding: 5rem 0; }
.product-block {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  padding: 4rem 0; border-bottom: 1px solid var(--border);
}
.product-block:last-of-type { border-bottom: none; }
.product-block--reverse { direction: rtl; }
.product-block--reverse > * { direction: ltr; }
@media (max-width: 768px) {
  .product-block { grid-template-columns: 1fr; gap: 2rem; direction: ltr; }
  .product-block--reverse { direction: ltr; }
}

/* Product info */
.prod-logo-large {
  width: 72px; height: 72px; border-radius: 18px; overflow: hidden;
  margin-bottom: 1.5rem;
  background: rgba(255,255,255,0.04);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.prod-logo-large img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.prod-logo-wip { background: rgba(251,191,36,0.08); border: 1px solid rgba(251,191,36,0.15); font-size: 32px; }
.prod-type-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--text-xs); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; padding: 4px 12px; border-radius: 100px;
  margin-bottom: 1.25rem; width: fit-content;
}
.badge-saas { background: rgba(249,115,22,0.1); border: 1px solid rgba(249,115,22,0.2); color: var(--or3); }
.badge-oss  { background: rgba(168,85,247,0.1); border: 1px solid rgba(168,85,247,0.2); color: #D8B4FE; }
.badge-wip  { background: rgba(251,191,36,0.1); border: 1px solid rgba(251,191,36,0.2); color: var(--warning); }
.prod-name {
  font-family: var(--font-d); font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800; letter-spacing: -0.03em; margin-bottom: 4px;
}
.prod-tagline {
  font-size: var(--text-base); font-weight: 400;
  color: rgba(255,255,255,0.5); font-style: italic;
  margin-bottom: 1.25rem; line-height: 1.5;
}
.prod-desc {
  font-size: var(--text-base); font-weight: 300;
  color: var(--muted); line-height: 1.8; margin-bottom: 1.5rem;
}
.prod-features {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 1.75rem; list-style: none;
}
.prod-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: var(--text-md); font-weight: 300;
  color: rgba(255,255,255,0.6); line-height: 1.5;
}
.prod-features li::before {
  content: ''; width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0; margin-top: 2px;
  background: rgba(249,115,22,0.15); border: 1px solid rgba(249,115,22,0.3);
  background-image: url("data:image/svg+xml,%3Csvg width='8' height='8' viewBox='0 0 8 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 4L3.5 6L6.5 2' stroke='%23F97316' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.prod-stack { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 1.75rem; }
.prod-links { display: flex; gap: 10px; flex-wrap: wrap; }

/* Product visual card */
.pvc-card {
  background: var(--dark2); border: 1px solid var(--border);
  border-radius: var(--r-xl); overflow: hidden;
  position: relative;
}
.pvc-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--grad);
}
.pvc-header {
  padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.pvc-logo { width: 32px; height: 32px; border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.pvc-logo img { width: 100%; height: 100%; object-fit: cover; }
.pvc-logo-wip { background: rgba(251,191,36,0.1); font-size: 18px; }
.pvc-name { font-family: var(--font-d); font-size: var(--text-md); font-weight: 700; }
.pvc-sub  { font-size: var(--text-xs); color: var(--muted); }
.pvc-body { padding: 1.5rem; }

/* FynApp visual */
.fyn-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 12px; }
.fyn-stat {
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px; text-align: center;
}
.fyn-stat-num { font-family: var(--font-d); font-size: 1.2rem; font-weight: 700; color: var(--or2); }
.fyn-stat-label { font-size: 10px; color: rgba(255,255,255,0.3); margin-top: 2px; }
.fyn-bars { display: flex; flex-direction: column; gap: 8px; }
.fyn-bar-item { display: flex; align-items: center; gap: 8px; }
.fyn-bar-label { font-size: var(--text-xs); color: rgba(255,255,255,0.4); width: 60px; flex-shrink: 0; }
.fyn-bar-track { flex: 1; height: 6px; background: rgba(255,255,255,0.06); border-radius: 3px; overflow: hidden; }
.fyn-bar-fill  { height: 100%; border-radius: 3px; background: var(--grad); }
.fyn-bar-val   { font-size: var(--text-xs); color: var(--or3); width: 30px; text-align: right; flex-shrink: 0; }

/* PricoApp visual */
.prico-list { display: flex; flex-direction: column; gap: 8px; }
.prico-row {
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 14px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px;
}
.prico-product { font-size: var(--text-sm); font-weight: 500; }
.prico-prices  { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.prico-price   { font-size: var(--text-sm); color: rgba(255,255,255,0.35); }
.prico-best    { font-size: var(--text-sm); font-weight: 700; color: var(--or2); }
.prico-badge   { font-size: 10px; background: rgba(74,222,128,0.1); color: var(--success); border: 1px solid rgba(74,222,128,0.2); padding: 2px 7px; border-radius: 100px; }

/* Nexaccount visual */
.nex-modules { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; }
.nex-mod {
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px; display: flex; align-items: center; gap: 10px;
}
.nex-mod-icon { font-size: 20px; }
.nex-mod-name { font-size: var(--text-sm); font-weight: 500; }
.nex-mod-status { font-size: var(--text-xs); color: rgba(255,255,255,0.3); margin-top: 2px; }
.nex-wip-banner {
  margin-top: 12px; padding: 10px 14px;
  background: rgba(251,191,36,0.08); border: 1px solid rgba(251,191,36,0.15);
  border-radius: 10px; font-size: var(--text-sm); color: var(--warning);
  display: flex; align-items: center; gap: 8px;
}

/* GenericSuite visual */
.gen-code {
  background: rgba(0,0,0,0.4); border-radius: 10px;
  padding: 1rem 1.25rem; font-family: monospace;
  font-size: var(--text-sm); line-height: 1.8; overflow: hidden;
}
.gc-comment { color: rgba(255,255,255,0.2); }
.gc-kw      { color: var(--or3); }
.gc-fn      { color: var(--info); }
.gc-str     { color: #6EE7B7; }
.gc-plain   { color: rgba(255,255,255,0.6); }

/* Why section */
.why-section { padding: 4rem 0 0; }
.section-h { font-size: var(--text-3xl); margin-bottom: 0.75rem; }
.section-sub { font-size: var(--text-base); font-weight: 300; color: var(--muted); line-height: 1.75; max-width: 560px; margin-bottom: 2.5rem; }
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.why-card {
  background: var(--dark2); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 1.5rem;
}
.why-icon  { font-size: 24px; margin-bottom: 12px; }
.why-title { font-family: var(--font-d); font-size: var(--text-base); font-weight: 700; margin-bottom: 6px; }
.why-desc  { font-size: var(--text-sm); font-weight: 300; color: var(--muted); line-height: 1.7; }
@media (max-width: 768px) { .why-grid { grid-template-columns: 1fr; } }
