/* =============================================
   MARK — Componentes compartidos
   ============================================= */

/* ─── LAYOUT ─── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}

/* ─── LOGO ─── */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  font-family: var(--font-display);
}

.logo-tag {
  font-size: 10px;
  font-weight: 500;
  color: #94A3B8;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  padding: 3px 8px;
  font-family: var(--font-body);
}

/* ─── NAVBAR ─── */
.navbar {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}

.navbar--fixed {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(2, 11, 28, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.navbar--solid {
  background: var(--bg-hero);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: #CBD5E1;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s;
}

.nav-link:hover { color: var(--white); }

/* ─── BOTONES ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
  letter-spacing: -0.01em;
}

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

.btn--primary {
  background: var(--grad-green);
  color: var(--white);
  padding: 17px 32px;
  font-size: 15px;
  box-shadow: var(--shadow-green);
}

.btn--primary:hover {
  box-shadow: 0 16px 40px rgba(34, 197, 94, 0.4);
}

.btn--primary-lg {
  padding: 20px 40px;
  font-size: 17px;
}

.btn--outline {
  background: transparent;
  color: #CBD5E1;
  border: 1.5px solid rgba(255,255,255,0.2);
  padding: 16px 28px;
  font-size: 15px;
}

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

.btn--outline-green {
  background: transparent;
  color: var(--green-dark);
  border: 1px solid var(--green-dark);
  padding: 14px 24px;
  font-size: 14px;
}

.btn--full { width: 100%; }

.btn--submit {
  background: var(--grad-green);
  color: var(--white);
  width: 100%;
  height: 56px;
  font-size: 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-green);
}

.btn--submit:hover {
  box-shadow: 0 16px 40px rgba(34, 197, 94, 0.4);
}

/* ─── STEP INDICATOR ─── */
.step-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-indicator__label {
  font-size: 13px;
  color: #64748B;
  font-weight: 500;
  margin-right: 8px;
}

.step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-display);
  flex-shrink: 0;
}

.step-dot--done    { background: var(--green); color: var(--white); }
.step-dot--active  { background: var(--white); color: var(--bg-hero); box-shadow: 0 0 0 3px rgba(34,197,94,0.4); }
.step-dot--pending { background: rgba(255,255,255,0.1); color: #475569; border: 1px solid rgba(255,255,255,0.15); }

.step-line {
  width: 32px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255,255,255,0.12);
}

.step-line--done { background: var(--green); }

/* ─── LABELS / BADGES ─── */
.label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.label--green      { color: var(--green-dark); }
.label--green-glow { color: var(--green); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-full);
  padding: 6px 14px;
}

.badge--green {
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
  color: var(--green);
}

.badge--green-soft {
  background: var(--green-soft);
  border: 1px solid rgba(34,197,94,0.3);
  color: var(--green-dark);
}

.badge__dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.badge__text {
  font-size: 12px;
  font-weight: 700;
}

/* ─── TARJETAS ─── */
.card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.card--hover {
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.card--hover:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(15,23,42,0.1);
  border-color: rgba(34,197,94,0.35);
}

.card--dark {
  background: var(--glass-white);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-dark);
}

.card--gray {
  background: var(--gray-light);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
}

/* ─── ICONOS CON FONDO ─── */
.icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.icon-wrap--sm { width: 36px; height: 36px; }
.icon-wrap--md { width: 44px; height: 44px; }
.icon-wrap--lg { width: 52px; height: 52px; }
.icon-wrap--circle { border-radius: 50%; }

.icon-wrap--green  { background: rgba(34,197,94,0.1);  border: 1px solid rgba(34,197,94,0.2); }
.icon-wrap--blue   { background: rgba(59,130,246,0.1);  border: 1px solid rgba(59,130,246,0.2); }
.icon-wrap--violet { background: rgba(168,85,247,0.1);  border: 1px solid rgba(168,85,247,0.2); }
.icon-wrap--orange { background: rgba(249,115,22,0.1);  border: 1px solid rgba(249,115,22,0.2); }
.icon-wrap--red    { background: rgba(239,68,68,0.1);   border: 1px solid rgba(239,68,68,0.2); }
.icon-wrap--white  { background: var(--white);           border: 2px solid var(--gray-border); }

/* ─── MICROCOPY ─── */
.microcopy-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.microcopy-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--gray-text);
}

.microcopy-item--light { color: #64748B; }

/* ─── LIVE DOT ─── */
.live-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* ─── SECCIÓN TÍTULOS ─── */
.section-heading {
  text-align: center;
  margin-bottom: 56px;
}

.section-heading .label { margin-bottom: 12px; }

.section-heading h2 {
  font-size: var(--title-section);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  line-height: 1.12;
}

.section-heading h2 .accent { color: var(--green-dark); }

.section-heading--light h2 { color: var(--white); }
.section-heading--light h2 .accent { color: var(--green); }

/* ─── FOOTER ─── */
.footer {
  background: #010810;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 36px 40px;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__brand p {
  font-size: 12px;
  color: #334155;
  margin-top: 5px;
}

.footer__copy { font-size: 12px; color: #334155; }

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a {
  font-size: 12px;
  color: #475569;
  text-decoration: none;
  transition: color .2s;
}

.footer__links a:hover { color: #94A3B8; }

/* Créditos de colaboración */
.footer__collab {
  width: 100%;
  padding-top: 16px;
  margin-top: 4px;
  border-top: 1px solid rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.footer__collab span {
  font-size: 11px;
  color: #334155;
}

.footer__collab a {
  font-size: 11px;
  color: #475569;
  text-decoration: none;
  font-weight: 500;
  transition: color .2s;
}

.footer__collab a:hover { color: #94A3B8; }

.footer__collab .separator {
  color: #1E293B;
  font-size: 11px;
}

/* ─── ANIMACIONES ─── */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}

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

@keyframes slideIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes drawCheck {
  from { stroke-dashoffset: 100; }
  to   { stroke-dashoffset: 0; }
}

@keyframes successPulse {
  0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  70%  { box-shadow: 0 0 0 20px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE UTILITIES ─── */
@media (max-width: 900px) {
  .navbar { padding: 0 20px; }
  .navbar--fixed .nav-links { display: none; }
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
}

@media (max-width: 600px) {
  :root { --title-section: 28px; --title-hero: 36px; }
}
