/* ─────────────────────────────────────────────────────────────
   VALORA · components.css — todos los componentes UI
───────────────────────────────────────────────────────────── */

/* ── HERO BADGE ── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-dim);
  border: 0.5px solid var(--gold-line);
  border-radius: var(--r-pill);
  padding: 5px 14px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  width: fit-content;
}

.live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

/* ── HERO TITLE ── */
.hero-title {
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
  color: var(--tp);
  letter-spacing: -1.5px;
  margin-bottom: 14px;
  max-width: 900px;
}

.hero-title em { font-style: italic; color: var(--gold); }

.hero-tagline {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--tt);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero-desc {
  font-size: 16px;
  color: var(--ts);
  line-height: 1.78;
  margin-bottom: 36px;
  max-width: 820px;
}

/* ── BOTONES ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--gold);
  color: var(--bg0);
  padding: 13px 28px;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: 14px;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: var(--sh-gold);
  font-family: var(--sans);
}

.btn-primary:hover { opacity: 0.88; transform: translateY(-2px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255,255,255,0.04);
  color: var(--tp);
  padding: 13px 28px;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 14px;
  border: 0.5px solid var(--bdm);
  transition: all 0.2s;
  font-family: var(--sans);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.07);
  border-color: var(--gold-line);
  transform: translateY(-2px);
}

/* ── HERO BTNS + STATS ── */
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats {
  display: flex;
  gap: 36px;
  padding-top: 20px;
  border-top: 0.5px solid var(--bd);
  max-width: 400px;
}

.stat-num {
  font-family: var(--serif);
  font-size: 30px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--tt);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* ── FEATURE CARDS ── */
.feature-card {
  background: linear-gradient(135deg, var(--bg1) 0%, var(--bg2) 100%);
  border: 0.5px solid var(--bd);
  border-radius: var(--r-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,108,0.18), transparent);
}

.feature-card::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  transition: width 0.35s var(--ease);
}

.feature-card:hover {
  border-color: rgba(201,168,108,0.28);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.40);
}

.feature-card:hover::after { width: 100%; }

.feature-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px;
  margin-bottom: 14px;
}

.feature-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--tp);
  margin-bottom: 6px;
}

.feature-desc { font-size: 13px; color: var(--ts); line-height: 1.65; }

/* ── SPLIT SECTION ── */
.split-section {
  padding: 72px 64px;
  border-top: 0.5px solid var(--bd);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }

.split-visual {
  background: linear-gradient(135deg, var(--bg1), var(--bg2));
  border: 0.5px solid var(--gold-line);
  border-radius: var(--r-xl);
  padding: 36px;
  position: relative;
  overflow: hidden;
}

.split-visual::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,108,0.30), transparent);
}

.split-metric {
  text-align: center;
  padding: 20px 0;
}

.split-metric-val {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}

.split-metric-label { font-size: 14px; color: var(--ts); }

.split-divider {
  height: 0.5px;
  background: var(--bd);
  margin: 16px 0;
}

.split-feature-list { display: flex; flex-direction: column; gap: 12px; }

.split-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ts);
}

.split-feature-item .check { color: var(--green); font-weight: 700; flex-shrink: 0; }

/* ── PLAN CARDS ── */
.plan-card {
  background: linear-gradient(135deg, var(--bg1) 0%, var(--bg2) 100%);
  border: 0.5px solid var(--bd);
  border-radius: var(--r-lg);
  padding: 28px;
  padding-top: 32px;
  position: relative;
  overflow: visible;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.plan-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  z-index: 0;
}

.plan-card.featured {
  border-color: var(--gold-line);
  background: linear-gradient(135deg, var(--bg2) 0%, var(--bg3) 100%);
  overflow: visible;
}

.plan-card.featured::before {
  background: linear-gradient(90deg, transparent, rgba(201,168,108,0.25), transparent);
}

.plan-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-deep);
}

.plan-card.featured:hover { box-shadow: 0 16px 48px rgba(201,168,108,0.10); }

.plan-badge {
  position: absolute;
  top: -11px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--bg0);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 13px;
  border-radius: var(--r-pill);
  white-space: nowrap;
  font-family: var(--mono);
  letter-spacing: 0.3px;
}

.plan-name {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.plan-price {
  font-family: var(--serif);
  font-size: 36px;
  color: var(--tp);
  line-height: 1;
  margin-bottom: 3px;
}

.plan-period { font-size: 12px; color: var(--tt); margin-bottom: 22px; font-family: var(--mono); }

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

.plan-features li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 13px; color: var(--ts);
}

.plan-features li::before { content: "✓"; color: var(--green); font-weight: 700; flex-shrink: 0; }
.plan-features li.no { color: var(--tt); }
.plan-features li.no::before { content: "✕"; color: var(--tt); }

.plan-btn {
  display: block; text-align: center;
  padding: 12px; border-radius: var(--r-sm);
  font-weight: 700; font-size: 13px;
  font-family: var(--sans);
  transition: opacity 0.2s;
}

.plan-btn.gold { background: var(--gold); color: var(--bg0); box-shadow: 0 4px 16px rgba(201,168,108,0.22); }
.plan-btn.outline { background: rgba(255,255,255,0.04); border: 0.5px solid var(--bdm); color: var(--ts); }
.plan-btn:hover { opacity: 0.85; }

/* ── CONSULTORIA ── */
.consultoria-card {
  background: linear-gradient(135deg, var(--bg1), var(--bg2));
  border: 0.5px solid var(--gold-line);
  border-radius: var(--r-xl);
  padding: 44px;
  position: relative;
  overflow: hidden;
}

.consultoria-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,108,0.32), transparent);
}

.consultoria-inner {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 48px;
  align-items: start;
}

.cons-tag {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.cons-title {
  font-family: var(--serif);
  font-size: clamp(22px, 2.5vw, 30px);
  color: var(--tp);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
  line-height: 1.2;
}

.cons-desc { font-size: 14px; color: var(--ts); line-height: 1.75; margin-bottom: 20px; }

.cons-feats { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }

.cons-feat { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ts); }
.cons-feat .check { color: var(--green); font-weight: 700; }

.price-box {
  text-align: center;
  background: rgba(201,168,108,0.07);
  border: 0.5px solid var(--gold-line);
  border-radius: var(--r-lg);
  padding: 28px 20px;
  align-self: start;
  position: sticky;
  top: 20px;
}

.price-val {
  font-family: var(--serif);
  font-size: 52px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 3px;
}

.price-sub { font-size: 12px; color: var(--tt); margin-bottom: 4px; font-family: var(--mono); }
.price-dur { font-size: 13px; color: var(--ts); font-weight: 600; margin-bottom: 20px; }
.price-note { margin-top: 10px; font-size: 11px; color: var(--tt); font-family: var(--mono); }

/* ── STORE BUTTONS ── */
.store-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.store-btn {
  display: inline-flex; align-items: center; gap: 13px;
  background: var(--bg1);
  border: 0.5px solid var(--bdm);
  border-radius: 13px;
  padding: 13px 20px;
  color: var(--tp);
  min-width: 172px;
  transition: all 0.22s var(--ease);
}

.store-btn:hover {
  border-color: var(--gold-line);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.40);
}

.store-btn-text { text-align: left; }
.store-btn-sub { font-size: 10px; color: var(--tt); display: block; font-family: var(--mono); }
.store-btn-name { font-size: 14px; font-weight: 700; display: block; margin-top: 2px; }
.store-btn-badge {
  font-size: 10px; background: var(--gold-dim); color: var(--gold);
  border: 0.5px solid var(--gold-line); border-radius: 5px;
  padding: 2px 7px; font-weight: 600; margin-left: auto;
  white-space: nowrap; font-family: var(--mono);
}

/* ── DOWNLOAD WRAPPER ── */
.dl-wrap { text-align: center; max-width: 520px; margin: 0 auto; }

/* ── RESPONSIVE COMPONENTS ── */
@media (max-width: 1100px) {
  .split-section { grid-template-columns: 1fr; gap: 32px; padding: 52px 24px; }
  .split-section.reverse { direction: ltr; }
  .consultoria-card { grid-template-columns: 1fr; padding: 32px 24px; gap: 28px; }
  .price-box { max-width: 260px; margin: 0 auto; }
}

@media (max-width: 600px) {
  .hero-stats { gap: 24px; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-secondary { justify-content: center; }
}


/* ── HERO FILLS FULL WIDTH ── */
.hero-title  { max-width: none; }
.hero-desc   { max-width: 680px; }
.hero-stats  { max-width: none; }

/* ── SECTION IMPROVEMENTS ── */
.section-desc { max-width: 680px; }

/* ── PLAN GRID RESPONSIVE ── */
@media (max-width: 1100px) {
  .consultoria-inner { grid-template-columns: 1fr; gap: 28px; }
  .price-box { position: static; max-width: 260px; margin: 0 auto; }
}

/* ── PLANS GRID 4 COLUMNS ── */
.plans-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media (max-width: 1300px) {
  .plans-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .plans-grid-4 { grid-template-columns: 1fr; }
}

/* ── TEAM CARD ── */
.team-card {
  background: linear-gradient(135deg, var(--bg1) 0%, var(--bg2) 100%);
  border: 0.5px solid var(--gold-line);
  border-radius: var(--r-xl);
  padding: 40px;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 40px;
  align-items: start;
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,108,0.30), transparent);
}

.team-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.team-avatar-placeholder {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg3), var(--bg2));
  border: 2px solid var(--gold-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 36px;
  color: var(--gold);
  letter-spacing: 2px;
}

.team-avatar img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-line);
}

.team-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.team-name {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--tp);
  letter-spacing: -0.3px;
  margin-bottom: 4px;
}

.team-role {
  font-size: 13px;
  color: var(--gold);
  font-family: var(--mono);
  letter-spacing: 0.3px;
}

.team-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(10,102,194,0.12);
  border: 0.5px solid rgba(10,102,194,0.30);
  border-radius: var(--r-sm);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #5BA4F5;
  transition: all 0.2s;
  white-space: nowrap;
}

.team-linkedin:hover {
  background: rgba(10,102,194,0.22);
  transform: translateY(-1px);
}

.team-bio {
  font-size: 15px;
  color: var(--ts);
  line-height: 1.78;
  margin-bottom: 20px;
}

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

.team-tag {
  background: var(--gold-dim);
  border: 0.5px solid var(--gold-line);
  border-radius: var(--r-pill);
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  font-family: var(--mono);
  letter-spacing: 0.3px;
}

@media (max-width: 800px) {
  .team-card {
    grid-template-columns: 1fr;
    padding: 28px 20px;
    gap: 24px;
  }
  .team-avatar { flex-direction: row; justify-content: flex-start; }
  .team-header { flex-direction: column; }
}
