:root {
  --bg-page: #f3f4f6;
  --bg-surface: #ffffff;
  --bg-soft: #f9fafb;
  --border-subtle: #e5e7eb;

  --text-main: #111827;
  --text-muted: #6b7280;
  --text-soft: #9ca3af;

  --accent: #2563eb;
  --accent-strong: #1d4ed8;
  --accent-soft: #eff6ff;

  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-subtle: 0 10px 25px rgba(15, 23, 42, 0.07);
}

/* RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
}

/* TOPBAR */

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(209, 213, 219, 0.7);
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Botón sándwich */

.menu-toggle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background-color: transparent;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.18s ease;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background-color: var(--text-soft);
}

.menu-toggle:hover {
  background-color: var(--accent-soft);
}

/* Logo */

.logo-mark{
  width: 40px;
  height: 40px;
  background: url("imagenes/woben_logo.png") no-repeat center;
  background-size: contain;
}

.brand {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.brand-subtitle {
  font-size: 11px;
  color: var(--text-soft);
}

/* MENÚ SANDWICH */

.mobile-menu {
  position: fixed;
  top: 56px;
  left: 8px;
  right: 8px;
  background-color: #ffffff;
  border-radius: 0 0 18px 18px;
  max-height: 0;
  overflow: hidden;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(209, 213, 219, 0.9);
  border-top: none;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
  transition: max-height 0.25s ease;
  z-index: 30;
}

.mobile-menu-header {
  padding: 10px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid #e5e7eb;
}

.mobile-menu a {
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background-color 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a i {
  font-size: 0.95rem;
  color: var(--text-soft);
}

.mobile-menu a:hover {
  background-color: var(--accent-soft);
  color: var(--accent-strong);
  padding-left: 4px;
}

/* Aumentado para que quepan todos los ítems del menú global */
.mobile-menu.open {
  max-height: 380px;
}

.mobile-cta {
  font-weight: 600;
  color: var(--accent-strong);
}

/* LAYOUT PRINCIPAL */

.main-layout {
  padding: 0 12px;
  max-width: 100%;
  margin: 0;
}

/* BLOQUES GENERALES */

.section-block {
  max-width: 1120px;
  margin: 18px auto 26px;
}

/* HERO CÓMO PROCEDER */

.proceed-hero {
  display: flex;
  justify-content: center;
}

.proceed-hero-card {
  border-radius: 28px;
  background: radial-gradient(circle at 10% 0%, #e0ebff, #ffffff 55%, #e5e7eb 110%);
  box-shadow: var(--shadow-soft);
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.proceed-hero-copy {
  flex: 1.4;
}

.proceed-hero-visual {
  flex: 1;
}

.eyebrow-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-strong);
  margin: 0 0 6px;
}

.proceed-title {
  font-size: 1.6rem;
  line-height: 1.3;
  margin: 0 0 8px;
}

.proceed-subtitle {
  margin: 0 0 14px;
  font-size: 0.98rem;
  color: var(--text-muted);
}

.proceed-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background-color: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.8rem;
  font-weight: 500;
}

.pill-badge-soft {
  background-color: #e5e7eb;
  color: var(--text-main);
}

.pill-badge i {
  font-size: 0.85rem;
}

/* Botones */

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, transform 0.1s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.45);
  transform: translateY(-1px);
}

.btn-ghost {
  background-color: transparent;
  color: var(--text-muted);
  border-color: var(--border-subtle);
}

.btn-ghost:hover {
  background-color: var(--bg-soft);
  color: var(--text-main);
}

.btn-primary i,
.btn-ghost i {
  font-size: 0.95rem;
}

.proceed-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

/* Tarjeta resumen */

.summary-card {
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.96);
  padding: 18px 18px 14px;
  border: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: var(--shadow-subtle);
}

.summary-label {
  margin: 0 0 10px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-soft);
}

.summary-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.86rem;
}

.summary-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
}

.summary-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  margin-top: 5px;
}

.summary-list strong {
  display: block;
  margin-bottom: 2px;
  color: var(--text-main);
}

.summary-list p {
  margin: 0;
  color: var(--text-muted);
}

/* SECCIÓN ENCABEZADO PARA LISTAS */

.section-heading {
  max-width: 640px;
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 0 0 6px;
  font-size: 1.35rem;
}

.section-subtitle {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-muted);
}

/* TIMELINE DE PASOS */

.proceed-steps {
  margin-top: 10px;
}

.proceed-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--border-subtle);
}

.timeline-step {
  position: relative;
  padding-left: 32px;
  padding-bottom: 18px;
}

.timeline-step:last-child {
  padding-bottom: 0;
}

.timeline-index {
  position: absolute;
  left: -13px;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background-color: var(--accent-soft);
  border: 1px solid rgba(191, 219, 254, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent-strong);
  box-shadow: 0 6px 12px rgba(37, 99, 235, 0.25);
}

.timeline-content {
  background-color: var(--bg-surface);
  border-radius: 18px;
  border: 1px solid rgba(229, 231, 235, 0.95);
  box-shadow: var(--shadow-subtle);
  padding: 12px 14px;
  font-size: 0.92rem;
}

.timeline-content h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.timeline-content p {
  margin: 0;
  color: var(--text-muted);
}

/* CTA FINAL */

.proceed-cta {
  margin-top: 4px;
}

.cta-card {
  border-radius: 20px;
  background-color: var(--bg-soft);
  border: 1px solid var(--border-subtle);
  padding: 18px 18px 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.cta-text h2 {
  margin: 0 0 6px;
  font-size: 1.2rem;
}

.cta-text p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-muted);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* FOOTER */

.site-footer {
  margin-top: 0;
  padding: 26px 16px 16px;
  background-color: #ffffff;
  border-top: 1px solid var(--border-subtle);
}

.footer-main {
  max-width: 1120px;
  margin: 0 auto 16px;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr) minmax(0, 1.3fr);
  gap: 22px;
}

.footer-col h3,
.footer-col h4 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.footer-col p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 6px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-col li i {
  margin-right: 6px;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.footer-col a {
  text-decoration: none;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--accent);
}

/* Línea inferior */

.footer-bottom {
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.back-to-top {
  text-decoration: none;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.back-to-top:hover {
  background-color: var(--accent-soft);
  color: var(--accent-strong);
  border-color: var(--accent-soft);
}

/* RESPONSIVE */

@media (min-width: 880px) {
  .proceed-hero-card {
    flex-direction: row;
  }
}

@media (max-width: 880px) {
  .proceed-hero-card {
    padding: 20px 18px;
  }
}

@media (max-width: 768px) {
  .section-block {
    margin: 12px auto 20px;
  }

  .proceed-hero-card {
    border-radius: 22px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }
}
