/* ============================================================
   Zentria — Formación Bonificada (FORMACION PLUS)
   Landing /formacion-bonificada.php
   Paleta de marca: azul Microsoft (#0078C8) + verde corporativo (#107C10)
   ============================================================ */

:root {
  --fb-blue: #0078C8;
  --fb-blue-2: #00A4EF;
  --fb-green: #107C10;
  --fb-amber: #F59E0B;
  --fb-grad: linear-gradient(135deg, #0078C8 0%, #00A4EF 55%, #107C10 130%);
  --fb-grad-soft: linear-gradient(135deg, rgba(0, 120, 200, 0.12), rgba(16, 124, 16, 0.10));
}

/* ============================================================
   BASE
   ============================================================ */
.fb-main { flex: 1; }
.fb-page .container { max-width: 1140px; }

/* ============================================================
   HERO
   ============================================================ */
.fb-hero {
  position: relative;
  padding: 32px 0 64px;
  background:
    radial-gradient(110% 150% at 100% 0%, color-mix(in srgb, var(--fb-blue) 14%, transparent), transparent 55%),
    radial-gradient(90% 130% at 0% 100%, color-mix(in srgb, var(--fb-green) 10%, transparent), transparent 58%),
    var(--bg);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.fb-hero .breadcrumb { margin-bottom: 28px; }
.fb-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.fb-hero-body { position: relative; z-index: 2; }

.fb-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 7px 16px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 22px;
}
.fb-badge svg { width: 15px; height: 15px; color: var(--fb-blue); }

.fb-hero h1 {
  font-size: clamp(1.95rem, 4.6vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.fb-hero-accent {
  display: block;
  background: var(--fb-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.fb-hero-tagline {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 14px;
}
.fb-hero-desc {
  font-size: 1.03rem;
  line-height: 1.75;
  color: var(--fg-soft);
  max-width: 640px;
  margin-bottom: 22px;
}

.fb-hero-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--muted);
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--fb-amber);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 26px;
}
.fb-hero-note svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }

.fb-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.fb-hero-ctas .pill svg { width: 17px; height: 17px; }
.fb-hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px 9px 12px;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--card);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.fb-hero-phone:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.fb-hero-phone svg { width: 20px; height: 20px; flex-shrink: 0; }
.fb-hero-phone .lbl { font-size: 11px; color: var(--muted); display: block; }
.fb-hero-phone .num { font-size: 14px; font-weight: 600; color: var(--fg); font-variant-numeric: tabular-nums; }

/* Panel lateral */
.fb-hero-visual { position: relative; z-index: 2; }
.fb-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}
.fb-panel-head {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 20px 22px;
  background: var(--fb-grad-soft);
  border-bottom: 1px solid var(--border);
}
.fb-panel-head .ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--card);
  flex-shrink: 0;
}
.fb-panel-head .ttl { font-weight: 600; font-size: 1rem; }
.fb-panel-head .sub { font-size: 12px; color: var(--muted); margin-top: 2px; }

.fb-panel-list {
  list-style: none;
  margin: 0;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fb-panel-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--fg-soft);
  line-height: 1.5;
}
.fb-panel-list li svg { width: 16px; height: 16px; color: var(--fb-green); flex-shrink: 0; margin-top: 2px; }

.fb-panel-foot {
  padding: 18px 22px;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.fb-panel-foot span { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.fb-panel-foot strong { font-size: 1.15rem; color: var(--fb-green); letter-spacing: -0.01em; }
.fb-panel-foot small { font-size: 11px; color: var(--muted); }

/* ============================================================
   SECCIONES
   ============================================================ */
.fb-section { padding: 72px 0; }
.fb-section-soft { background: var(--bg-soft); border-block: 1px solid var(--border); }

.fb-section-head { margin-bottom: 40px; }
.fb-section-head.center { text-align: center; }
.fb-section-head.center .fb-kicker { justify-content: center; }
.fb-section-head.center .fb-section-desc { margin-left: auto; margin-right: auto; }

.fb-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--fb-blue);
  margin-bottom: 14px;
}
.fb-kicker svg { width: 15px; height: 15px; }
.fb-kicker.light { color: rgba(255, 255, 255, 0.75); }

.fb-section-head h2,
.fb-split-body h2,
.fb-cost-body h2,
.fb-contact-info h2,
.fb-legal h2 {
  font-size: clamp(1.55rem, 3.2vw, 2.25rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.fb-section-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 700px;
}

/* ============================================================
   BENEFICIOS
   ============================================================ */
.fb-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.fb-benefit {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.fb-benefit:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--border-strong); }
.fb-benefit .ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--fb-grad-soft);
  margin-bottom: 16px;
}
.fb-benefit .ic svg { width: 22px; height: 22px; }
.fb-benefit h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.fb-benefit p { font-size: 0.92rem; color: var(--muted); line-height: 1.65; margin: 0; }

/* ============================================================
   LISTAS CON CHECK
   ============================================================ */
.fb-check-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.fb-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--fg-soft);
}
.fb-check-list li svg { width: 17px; height: 17px; color: var(--fb-green); flex-shrink: 0; margin-top: 2px; }
.fb-check-list.compact { gap: 8px; margin-top: 12px; }
.fb-check-list.compact li { font-size: 0.88rem; }
.fb-check-list.two-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px 28px;
}

/* ============================================================
   SPLIT (contenido + aside)
   ============================================================ */
.fb-split {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 44px;
  align-items: start;
}
.fb-split.reverse .fb-split-body { order: 2; }
.fb-split.reverse .fb-split-aside { order: 1; }
.fb-split-body p { font-size: 1rem; line-height: 1.75; color: var(--fg-soft); margin: 0 0 14px; }

.fb-quote-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-lift);
}
.fb-quote-card .mark {
  position: absolute;
  top: 10px;
  left: 22px;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--fb-blue);
  opacity: 0.22;
  font-family: Georgia, serif;
}
.fb-quote-card p {
  position: relative;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--fg);
  font-weight: 500;
  margin: 0 0 16px;
}
.fb-quote-card .who { font-size: 12px; color: var(--muted); }

.fb-stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-lift);
}
.fb-stat { display: flex; flex-direction: column; gap: 3px; }
.fb-stat .k {
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  background: var(--fb-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.fb-stat .v { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.fb-stat-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.55;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* ============================================================
   PROGRAMAS
   ============================================================ */
.fb-programs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.fb-program {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.fb-program:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--border-strong); }
.fb-program-head { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.fb-program-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: var(--fb-grad-soft);
  flex-shrink: 0;
}
.fb-program-icon svg { width: 26px; height: 26px; }
.fb-program-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: var(--fb-blue);
}
.fb-program h3 { font-size: 1.22rem; font-weight: 600; margin-bottom: 10px; }
.fb-program-desc { font-size: 0.93rem; color: var(--muted); line-height: 1.65; margin: 0 0 20px; }
.fb-program-block { margin-bottom: 18px; }
.fb-program-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 4px;
}
.fb-program-for {
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 22px;
}
.fb-program-for p { font-size: 0.87rem; color: var(--fg-soft); line-height: 1.6; margin: 0; }
.fb-program-cta { margin-top: auto; justify-content: center; }
.fb-program-cta svg { width: 16px; height: 16px; }

/* ============================================================
   DEPARTAMENTOS
   ============================================================ */
.fb-dept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.fb-dept {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 20px 18px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.fb-dept:hover { border-color: var(--fb-blue); transform: translateY(-2px); }
.fb-dept h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fb-blue);
  margin-bottom: 6px;
}
.fb-dept p { font-size: 0.86rem; color: var(--muted); line-height: 1.6; margin: 0; }
.fb-center-cta { text-align: center; margin-top: 32px; }

/* ============================================================
   PASOS
   ============================================================ */
.fb-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  counter-reset: fbstep;
}
.fb-step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
}
.fb-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--fb-grad);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.fb-step h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.fb-step p { font-size: 0.89rem; color: var(--muted); line-height: 1.65; margin: 0; }

/* ============================================================
   COSTE NETO CERO
   ============================================================ */
.fb-cost {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-card);
}
.fb-cost-body { max-width: 860px; }
.fb-cost-body p { font-size: 1rem; line-height: 1.75; color: var(--fg-soft); margin: 0 0 14px; }
.fb-cost-lead { font-weight: 500; color: var(--fg) !important; margin-top: 22px !important; }
.fb-cost-foot {
  margin-top: 18px !important;
  padding: 14px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-left: 3px solid var(--fb-amber);
  border-radius: 10px;
  font-size: 0.86rem !important;
  line-height: 1.65;
  color: var(--muted) !important;
}

/* ============================================================
   MODALIDADES
   ============================================================ */
.fb-modes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.fb-mode {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.fb-mode .ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--fb-grad-soft);
  margin-bottom: 16px;
}
.fb-mode .ic svg { width: 24px; height: 24px; }
.fb-mode h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.fb-mode p { font-size: 0.92rem; color: var(--muted); line-height: 1.65; margin: 0; }

/* ============================================================
   ENFOQUE
   ============================================================ */
.fb-approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.fb-approach {
  position: relative;
  padding: 26px 22px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
}
.fb-approach::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--fb-grad);
}
.fb-approach .n {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--fb-blue);
  margin-bottom: 10px;
}
.fb-approach h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.fb-approach p { font-size: 0.88rem; color: var(--muted); line-height: 1.65; margin: 0; }

/* ============================================================
   FAQ
   ============================================================ */
.fb-faq { max-width: 880px; margin: 0 auto; }
.fb-faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
}
.fb-faq summary {
  padding: 18px 20px;
  font-weight: 500;
  font-size: 0.98rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.fb-faq summary::-webkit-details-marker { display: none; }
.fb-faq summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--fb-blue);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.fb-faq details[open] summary::after { transform: rotate(45deg); }
.fb-faq details p {
  padding: 0 20px 20px;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.72;
  margin: 0;
}

/* ============================================================
   CONTACTO + FORMULARIO
   ============================================================ */
.fb-contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: start;
}
.fb-contact-info p { margin-bottom: 18px; }

.fb-contact-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 26px;
}
.fb-contact-card {
  display: flex;
  align-items: center;
  gap: 13px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 15px 18px;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
a.fb-contact-card:hover { border-color: var(--fb-blue); transform: translateY(-2px); }
.fb-contact-card.static:hover { border-color: var(--border); transform: none; }
.fb-contact-card .ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--fb-grad-soft);
  flex-shrink: 0;
}
.fb-contact-card .ic svg { width: 22px; height: 22px; }
.fb-contact-card .txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fb-contact-card .label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.fb-contact-card .value { font-size: 0.95rem; font-weight: 500; color: var(--fg); word-break: break-word; }

/* Formulario */
.fb-form-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  box-shadow: var(--shadow-card);
}
.fb-form-title { font-size: 1.25rem; font-weight: 600; margin-bottom: 6px; }
.fb-form-sub { font-size: 0.85rem; color: var(--muted); margin: 0 0 22px; line-height: 1.6; }

.fb-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.fb-field { margin-bottom: 14px; }
.fb-field label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 500;
}
.fb-field label .req { color: #e0484d; }
.fb-field input[type="text"],
.fb-field input[type="email"],
.fb-field input[type="tel"],
.fb-field input[type="number"],
.fb-field select,
.fb-field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--bg);
  color: var(--fg);
  font-size: 0.93rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.fb-field textarea { resize: vertical; min-height: 96px; line-height: 1.6; }
.fb-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  background-size: 16px;
  padding-right: 34px;
}
.fb-field input:focus,
.fb-field select:focus,
.fb-field textarea:focus {
  outline: none;
  border-color: var(--fb-blue);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--fb-blue) 20%, transparent);
}

.fb-captcha-row { display: flex; align-items: center; gap: 12px; }
.fb-captcha-row .question {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.fb-privacy { margin: 6px 0 18px; }
.fb-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.fb-check input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--fb-blue);
  flex-shrink: 0;
}
.fb-check span { font-size: 0.84rem; color: var(--muted); line-height: 1.6; }
.fb-check a { color: var(--fb-blue); }

.fb-submit {
  width: 100%;
  justify-content: center;
  padding: 14px 24px;
  font-size: 1rem;
}
.fb-submit svg { width: 18px; height: 18px; }
.fb-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.fb-form-note {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
  margin: 14px 0 0;
}

.fb-form-success {
  text-align: center;
  padding: 28px 12px;
}
.fb-form-success .ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--fb-green) 14%, transparent);
  color: var(--fb-green);
  margin-bottom: 16px;
}
.fb-form-success .ic svg { width: 28px; height: 28px; }
.fb-form-success h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 10px; }
.fb-form-success p { font-size: 0.92rem; color: var(--muted); line-height: 1.7; margin: 0; }

/* ============================================================
   CTA FINAL
   ============================================================ */
.fb-cta {
  background: var(--primary);
  color: var(--primary-fg);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.fb-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 120% at 15% 0%, color-mix(in srgb, var(--fb-blue) 40%, transparent), transparent 60%),
    radial-gradient(60% 110% at 85% 100%, color-mix(in srgb, var(--fb-green) 32%, transparent), transparent 62%);
  pointer-events: none;
}
.fb-cta > * { position: relative; z-index: 1; }
.fb-cta h2 {
  color: inherit;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.fb-cta p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 660px;
  margin: 0 auto 26px;
  font-size: 1rem;
  line-height: 1.72;
}
.fb-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.fb-cta-actions .pill { background: #fff; color: #121317; padding: 13px 26px; }
.fb-cta-actions .pill svg { width: 17px; height: 17px; }
.fb-cta-actions .pill-outline-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.32);
}
.fb-cta-actions .pill-outline-light:hover { background: rgba(255, 255, 255, 0.1); }
.fb-cta-note { font-size: 0.8rem; color: rgba(255, 255, 255, 0.55); margin-top: 18px; }

/* ============================================================
   AVISO LEGAL
   ============================================================ */
.fb-legal {
  max-width: 900px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--fb-amber);
  border-radius: var(--radius);
  padding: 30px 32px;
}
.fb-legal h2 { font-size: 1.25rem !important; margin-bottom: 14px !important; }
.fb-legal p { font-size: 0.86rem; color: var(--muted); line-height: 1.75; margin: 0 0 12px; }
.fb-legal .fb-legal-note { font-size: 0.8rem; color: var(--muted); opacity: 0.85; margin-bottom: 0; }

/* ============================================================
   COLABORACIÓN (Zentria + Formación Plus)
   ============================================================ */
.fb-collab {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
}
.fb-collab-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
}
.fb-collab-card--fp {
  border-color: color-mix(in srgb, var(--fb-green) 34%, var(--border));
  background:
    radial-gradient(120% 120% at 100% 0%, color-mix(in srgb, var(--fb-green) 7%, transparent), transparent 60%),
    var(--card);
}
.fb-collab-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.fb-collab-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: var(--fb-grad-soft);
  flex-shrink: 0;
}
.fb-collab-name { font-size: 1.12rem; font-weight: 600; letter-spacing: -0.01em; }
.fb-collab-role {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 3px;
  line-height: 1.45;
}
.fb-collab-join {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 4px;
}
.fb-collab-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--fb-grad);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1;
}
.fb-collab-join-txt {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}
/* Bloque de impartición (formador + plataforma online) */
.fb-collab-platform {
  margin-top: 22px;
  background:
    linear-gradient(135deg, rgba(0, 120, 200, 0.06), rgba(16, 124, 16, 0.05)),
    var(--card);
  border: 1px solid color-mix(in srgb, #0078C8 22%, var(--border));
  border-radius: var(--radius-lg);
  padding: 24px 26px;
}
.fb-collab-platform-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.fb-collab-platform-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--fb-grad-soft);
  flex-shrink: 0;
}
.fb-collab-platform-head h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 2px 0 6px;
  letter-spacing: -0.01em;
}
.fb-collab-platform-head p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}
.fb-collab-platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.fb-collab-platform-grid li {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.fb-collab-platform-k {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #0078C8;
}
html.dark .fb-collab-platform-k { color: #4cb3e8; }
.fb-collab-platform-v {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--muted);
}

.fb-collab-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 26px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-left: 3px solid var(--fb-amber);
  border-radius: 12px;
  padding: 15px 18px;
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--muted);
}
.fb-collab-note svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }

/* ============================================================
   DOSSIER PDF
   ============================================================ */
.fb-dossier {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 44px;
  align-items: center;
}
.fb-dossier-preview {
  position: relative;
  max-width: 300px;
  margin: 0 auto;
}
.fb-dossier-preview picture { display: block; }
.fb-dossier-preview img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 26px 60px -24px rgba(0, 120, 200, 0.45);
}
.fb-dossier-pages {
  position: absolute;
  top: 12px;
  right: -14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border-radius: 9999px;
  background: var(--fb-amber);
  color: #3a2500;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 6px 16px -6px rgba(245, 158, 11, 0.75);
}
.fb-dossier-body .fb-section-desc { margin-bottom: 18px; }
.fb-dossier-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.fb-dossier-dl {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--fb-grad);
  color: #fff !important;
  padding: 14px 24px;
  border-radius: 9999px;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 12px 28px -12px rgba(0, 120, 200, 0.7);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.fb-dossier-dl:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(0, 120, 200, 0.85); }
.fb-dossier-dl svg { width: 18px; height: 18px; flex-shrink: 0; }
.pdf-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.34);
  padding: 3px 8px;
  border-radius: 5px;
  flex-shrink: 0;
}
.fb-dossier-view {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-strong);
  color: var(--fg);
  padding: 14px 22px;
  border-radius: 9999px;
  font-size: 0.98rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.fb-dossier-view:hover { background: var(--bg-soft); border-color: var(--fb-blue); }
.fb-dossier-view svg { width: 17px; height: 17px; }

/* Botón de dossier en el hero */
.fb-dossier-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-strong);
  background: var(--card);
  color: var(--fg);
  padding: 9px 16px;
  border-radius: 9999px;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.fb-dossier-btn:hover { border-color: var(--fb-blue); transform: translateY(-1px); }
.fb-dossier-btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.fb-dossier-btn .pdf-badge {
  background: color-mix(in srgb, var(--fb-amber) 16%, transparent);
  border-color: color-mix(in srgb, var(--fb-amber) 40%, transparent);
  color: #B45309;
}
html.dark .fb-dossier-btn .pdf-badge { color: #FBBF24; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .fb-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .fb-split { grid-template-columns: 1fr; gap: 32px; }
  .fb-split.reverse .fb-split-body { order: 1; }
  .fb-split.reverse .fb-split-aside { order: 2; }
  .fb-contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .fb-dossier { grid-template-columns: 1fr; gap: 32px; }
  .fb-dossier-preview { max-width: 240px; }
  .fb-collab { grid-template-columns: 1fr; gap: 16px; }
  .fb-collab-join { flex-direction: row; padding: 4px 0; }
  .fb-collab-join-txt { writing-mode: horizontal-tb; }
  .fb-collab-platform { padding: 20px 18px; }
  .fb-collab-platform-grid { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 640px) {
  .fb-section { padding: 48px 0; }
  .fb-hero { padding: 24px 0 44px; }
  .fb-hero-ctas { flex-direction: column; align-items: stretch; }
  .fb-hero-ctas .pill { justify-content: center; }
  .fb-hero-phone { justify-content: center; }
  .fb-form-row { grid-template-columns: 1fr; gap: 0; }
  .fb-form-wrap { padding: 24px 20px; }
  .fb-cost { padding: 30px 24px; }
  .fb-cta { padding: 40px 22px; }
  .fb-legal { padding: 24px 20px; }
  .fb-check-list.two-cols { grid-template-columns: 1fr; }
}
