/* ==========================================================================
   Capacitaciones para empresas
   ========================================================================== */

/* ------------------------------- HERO ----------------------------------- */
.empresas-hero {
  margin-top: 70px;
  padding: 72px 40px 60px;
  text-align: left;
  background:
    radial-gradient(1200px 400px at 20% -10%, var(--primary-light), transparent 70%),
    linear-gradient(160deg, var(--bg-panel) 0%, var(--bg-main) 100%);
  border-bottom: 1px solid var(--border);
}
.empresas-hero-inner { max-width: 900px; margin: 0; }
.empresas-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid var(--border);
}
.empresas-eyebrow i { width: 15px; height: 15px; }
.empresas-title {
  font-family: var(--font-title);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-main);
  margin-bottom: 18px;
}
.empresas-lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 12px;
  max-width: 820px;
}

/* ------------------------------- PLANES --------------------------------- */
.planes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.plan-card {
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: var(--transition);
}
.plan-card:hover { border-color: var(--primary); box-shadow: var(--card-hover-shadow); }
.plan-icon { width: 56px; height: 56px; object-fit: contain; margin-bottom: 16px; }
.plan-title {
  font-family: var(--font-title);
  font-size: 21px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.25;
}
.plan-desc { font-size: 15px; line-height: 1.6; color: var(--text-muted); flex: 1; }
.plan-btn { align-self: center; margin-top: 18px; }
.plan-min { margin-top: 14px; font-size: 12px; color: var(--text-muted); font-style: italic; }
.plan-min--single { margin-top: 18px; text-align: center; }

.empresas-note {
  margin-top: 30px;
  padding: 20px 22px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.empresas-note strong { color: var(--text-main); }

.medidas-cta { margin-top: 8px; text-align: center; }

/* ------------------------------- LOGOS ---------------------------------- */
.logos-wrap { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.logos-track {
  display: flex;
  gap: 16px;
  flex: 1;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 12px;
  scrollbar-width: thin;
}
.logo-card {
  flex: 0 0 auto;
  width: 210px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  scroll-snap-align: start;
}
.logo-card img { max-width: 100%; max-height: 100%; object-fit: contain; }
.logos-arrow {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-panel);
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
}
.logos-arrow:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.logos-arrow i { width: 18px; height: 18px; }

.dossier-link { margin-top: 18px; text-align: center; }
.dossier-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
}
.dossier-link a:hover { opacity: 0.85; }
.dossier-link i { width: 16px; height: 16px; }

/* --------------------------- POR QUÉ ELEGIRNOS -------------------------- */
.motivos-figure { margin: 0; text-align: center; }
.motivos-figure img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 16px;
  border: 1px solid var(--border);
}

/* ------------------------------ CONTACTO -------------------------------- */
.empresas-contacto-final .cert-cta-text { margin-bottom: 18px; }
.empresas-form .field { margin-bottom: 14px; }
.empresas-form .field textarea {
  width: 100%;
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  resize: vertical;
  transition: var(--transition);
}
.empresas-form .field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}
.turnstile-field { margin-bottom: 8px; }

/* --------------------------- MODALES DE PLANES -------------------------- */
.plan-modal .info-modal-body { font-size: 15px; line-height: 1.65; color: var(--text-muted); }
.plan-intro { font-size: 15px; line-height: 1.6; color: var(--text-main); margin-bottom: 14px; }
.plan-modal h4 {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  margin: 18px 0 8px;
}
.plan-modal p { margin-bottom: 10px; }
.plan-modal ul,
.plan-modal ol { margin: 6px 0 12px 22px; padding: 0; }
.plan-modal li { margin-bottom: 6px; }
.plan-modal strong { color: var(--text-main); }

/* ------------------------------- RESPONSIVE ----------------------------- */
@media (max-width: 900px) {
  .planes-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .empresas-hero { margin-top: 65px; padding: 56px 22px 44px; }
  .logo-card { width: 160px; height: 92px; }
  .logos-arrow { display: none; }
}
